From 7caec85c2c9f854b95a2e0f35cf1cab279667a6f Mon Sep 17 00:00:00 2001 From: hlopko Date: Thu, 14 Feb 2019 11:27:54 +0100 Subject: [PATCH] Improve rules_cc copybara * # copybara-scrub suffix now works in BUILD and bzl files * //tools/cpp is rewritten to @bazel_build//tools/cpp **in any filetype** * //third_party/bazel_rules/rules_cc is rewritten to // **in any filetype** PiperOrigin-RevId: 233919400 --- tools/migration/crosstool_to_starlark_lib.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/migration/crosstool_to_starlark_lib.go b/tools/migration/crosstool_to_starlark_lib.go index bd373f1..965bdd8 100644 --- a/tools/migration/crosstool_to_starlark_lib.go +++ b/tools/migration/crosstool_to_starlark_lib.go @@ -27,7 +27,7 @@ type CToolchainIdentifier struct { // Writes the load statement for the cc_toolchain_config_lib func getCcToolchainConfigHeader() string { - return `load("@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", + return `load("//tools/cpp:cc_toolchain_config_lib.bzl", "action_config", "artifact_name_pattern", "env_entry",