diff options
author | hlopko <hlopko@google.com> | 2018-03-06 00:58:51 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-06 01:00:47 -0800 |
commit | 7653a476e13c90c6726e01b0a6b275c35dd364db (patch) | |
tree | b7d615e0a915cadbe58c504c256a11efd1926318 /tools | |
parent | d3dd6a1318a4019747f49abf451a35f6a8f2b243 (diff) |
Internal change
PiperOrigin-RevId: 187986062
Diffstat (limited to 'tools')
-rw-r--r-- | tools/cpp/BUILD | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/tools/cpp/BUILD b/tools/cpp/BUILD index e4debc461f..e7e4313d45 100644 --- a/tools/cpp/BUILD +++ b/tools/cpp/BUILD @@ -1,8 +1,8 @@ package(default_visibility = ["//visibility:public"]) -# TODO(lberki): Remove this once cc_toolchain_alias is in a Bazel release -load("//tools/cpp:alias_rules.bzl", "cc_toolchain_alias") +licenses(["notice"]) # Apache 2.0 +# TODO(lberki): Remove this once cc_toolchain_alias is in a Bazel release cc_toolchain_alias(name = "current_cc_toolchain") cc_library( @@ -197,7 +197,11 @@ filegroup( filegroup( name = "interface_library_builder", srcs = ["build_interface_so"], - visibility = ["//visibility:public"], +) + +filegroup( + name = "osx_wrapper", + srcs = ["osx_cc_wrapper.sh"], ) filegroup( @@ -206,8 +210,8 @@ filegroup( ) filegroup( - name = "osx_wrapper", - srcs = ["osx_cc_wrapper.sh"], + name = "lib_cc_configure", + srcs = ["lib_cc_configure.bzl"], ) cc_toolchain_type(name = "toolchain_type") @@ -221,12 +225,12 @@ toolchain( toolchain_type = ":toolchain_type", ) +toolchain( + name = "dummy_cc_toolchain_type", + toolchain = "dummy_cc_toolchain_impl", + toolchain_type = ":toolchain_type", +) + load(":dummy_toolchain.bzl", "dummy_toolchain") dummy_toolchain(name = "dummy_cc_toolchain_impl") - -filegroup( - name = "lib_cc_configure", - srcs = ["lib_cc_configure.bzl"], - visibility = ["//visibility:public"], -) |