From 6cfb2fba703f41367ca962d08de86ca656f3d60f Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 12 Nov 2019 04:34:51 -0800 Subject: [PATCH] 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 --- cc/private/rules_impl/cc_flags_supplier.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cc/private/rules_impl/cc_flags_supplier.bzl b/cc/private/rules_impl/cc_flags_supplier.bzl index 103b3da..b0a64b5 100644 --- a/cc/private/rules_impl/cc_flags_supplier.bzl +++ b/cc/private/rules_impl/cc_flags_supplier.bzl @@ -28,8 +28,8 @@ def _cc_flags_supplier_impl(ctx): cc_flags_supplier = rule( implementation = _cc_flags_supplier_impl, 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"], )