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
This commit is contained in:
hlopko 2019-02-14 11:27:54 +01:00 committed by Marcel Hlopko
parent d485e267a5
commit 7caec85c2c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ type CToolchainIdentifier struct {
// Writes the load statement for the cc_toolchain_config_lib // Writes the load statement for the cc_toolchain_config_lib
func getCcToolchainConfigHeader() string { 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", "action_config",
"artifact_name_pattern", "artifact_name_pattern",
"env_entry", "env_entry",