Skip to content

Commit

Permalink
Merge pull request #105 from keith:ks/add-armeabi_cc_toolchain_config…
Browse files Browse the repository at this point in the history
….bzl-to-macos-config

PiperOrigin-RevId: 377937583
Change-Id: Id64f0fad71fa795cf065327f4cde3e8e956b281d
  • Loading branch information
copybara-github committed Jun 7, 2021
2 parents 8d3ab5f + fb624ff commit daf6ace
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cc/private/toolchain/osx_cc_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit daf6ace

Please sign in to comment.