mirror of https://github.com/bazelbuild/rules_cc
Add armeabi_cc_toolchain_config.bzl to macOS config
This is required since https://github.com/bazelbuild/bazel/pull/13449
This commit is contained in:
parent
68cb652a71
commit
03b5d84aa7
|
@ -84,6 +84,7 @@ def configure_osx_toolchain(repository_ctx, overriden_tools):
|
||||||
overriden_tools: dictionary of overriden tools.
|
overriden_tools: dictionary of overriden tools.
|
||||||
"""
|
"""
|
||||||
paths = resolve_labels(repository_ctx, [
|
paths = resolve_labels(repository_ctx, [
|
||||||
|
"@rules_cc//cc/private/toolchain:armeabi_cc_toolchain_config.bzl",
|
||||||
"@rules_cc//cc/private/toolchain:osx_cc_wrapper.sh.tpl",
|
"@rules_cc//cc/private/toolchain:osx_cc_wrapper.sh.tpl",
|
||||||
"@rules_cc//cc/private/toolchain:libtool_check_unique.cc",
|
"@rules_cc//cc/private/toolchain:libtool_check_unique.cc",
|
||||||
"@bazel_tools//tools/objc:libtool.sh",
|
"@bazel_tools//tools/objc:libtool.sh",
|
||||||
|
@ -125,6 +126,10 @@ def configure_osx_toolchain(repository_ctx, overriden_tools):
|
||||||
"%{env}": escape_string(get_env(repository_ctx)),
|
"%{env}": escape_string(get_env(repository_ctx)),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
repository_ctx.symlink(
|
||||||
|
paths["@rules_cc//cc/private/toolchain:armeabi_cc_toolchain_config.bzl"],
|
||||||
|
"armeabi_cc_toolchain_config.bzl",
|
||||||
|
)
|
||||||
repository_ctx.symlink(
|
repository_ctx.symlink(
|
||||||
paths["@bazel_tools//tools/objc:xcrunwrapper.sh"],
|
paths["@bazel_tools//tools/objc:xcrunwrapper.sh"],
|
||||||
"xcrunwrapper.sh",
|
"xcrunwrapper.sh",
|
||||||
|
|
Loading…
Reference in New Issue