Fix codebase in preparation for incompatible_use_cc_configure_from_rules_cc

We're working on removing C++ toolchain autoconfiguration logic out of Bazel,
and moving towards using rules_cc repository for it. Some bzl files will no
longer be available through bazel/tools/cpp/*, but through
@rules_cc/cc/*.

RELNOTES: None.
PiperOrigin-RevId: 279935457
Change-Id: I3bae259548dacc5c6789efe0f27dd07738c1057c
This commit is contained in:
Googler 2019-11-12 04:34:51 -08:00 committed by Copybara-Service
parent 8bd6cd75d0
commit 6cfb2fba70
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,8 @@ def _cc_flags_supplier_impl(ctx):
cc_flags_supplier = rule( cc_flags_supplier = rule(
implementation = _cc_flags_supplier_impl, implementation = _cc_flags_supplier_impl,
attrs = { attrs = {
"_cc_toolchain": attr.label(default = Label("@rules_cc//cc:current_cc_toolchain")), "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
}, },
toolchains = ["@rules_cc//cc:toolchain_type"], toolchains = ["@bazel_tools//tools/cpp:toolchain_type"],
fragments = ["cpp"], fragments = ["cpp"],
) )