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:
Keith Smiley 2021-05-27 13:36:23 -07:00
parent 68cb652a71
commit 03b5d84aa7
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,7 @@ def configure_osx_toolchain(repository_ctx, overriden_tools):
overriden_tools: dictionary of overriden tools.
"""
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:libtool_check_unique.cc",
"@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)),
},
)
repository_ctx.symlink(
paths["@rules_cc//cc/private/toolchain:armeabi_cc_toolchain_config.bzl"],
"armeabi_cc_toolchain_config.bzl",
)
repository_ctx.symlink(
paths["@bazel_tools//tools/objc:xcrunwrapper.sh"],
"xcrunwrapper.sh",