From ad1830946d06d1c6b7d0961b4ca9f75c2f3eb7eb Mon Sep 17 00:00:00 2001 From: Googler Date: Thu, 16 Feb 2023 04:17:27 -0800 Subject: [PATCH] Remove redundant "# copybara-use-repo-external-label" Remove redundant tags for copybara to replace labels with labels including the repository, where there are no labels to substitute after https://github.com/rules_cc/bazel/commit/2f8c04c04462ab83c545ab14c0da68c3b4c96191. PiperOrigin-RevId: 510103824 Change-Id: I9b65a6b7f9b48885aec4df5f4723273633be4860 --- cc/private/rules_impl/cc_flags_supplier.bzl | 2 +- examples/my_c_archive/my_c_archive.bzl | 2 +- examples/my_c_compile/my_c_compile.bzl | 2 +- examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cc/private/rules_impl/cc_flags_supplier.bzl b/cc/private/rules_impl/cc_flags_supplier.bzl index afd73e0..474c7ce 100644 --- a/cc/private/rules_impl/cc_flags_supplier.bzl +++ b/cc/private/rules_impl/cc_flags_supplier.bzl @@ -30,6 +30,6 @@ cc_flags_supplier = rule( attrs = { "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")), }, - toolchains = use_cpp_toolchain(), # copybara-use-repo-external-label + toolchains = use_cpp_toolchain(), fragments = ["cpp"], ) diff --git a/examples/my_c_archive/my_c_archive.bzl b/examples/my_c_archive/my_c_archive.bzl index 4ab2dd5..314564f 100644 --- a/examples/my_c_archive/my_c_archive.bzl +++ b/examples/my_c_archive/my_c_archive.bzl @@ -95,5 +95,5 @@ my_c_archive = rule( "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")), }, fragments = ["cpp"], - toolchains = use_cpp_toolchain(), # copybara-use-repo-external-label + toolchains = use_cpp_toolchain(), ) diff --git a/examples/my_c_compile/my_c_compile.bzl b/examples/my_c_compile/my_c_compile.bzl index d78fe09..d232f91 100644 --- a/examples/my_c_compile/my_c_compile.bzl +++ b/examples/my_c_compile/my_c_compile.bzl @@ -76,6 +76,6 @@ my_c_compile = rule( "src": attr.label(mandatory = True, allow_single_file = True), "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")), }, - toolchains = use_cpp_toolchain(), # copybara-use-repo-external-label + toolchains = use_cpp_toolchain(), fragments = ["cpp"], ) diff --git a/examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl b/examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl index 90100ba..3e93b42 100644 --- a/examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl +++ b/examples/write_cc_toolchain_cpu/write_cc_toolchain_cpu.bzl @@ -28,5 +28,5 @@ write_cc_toolchain_cpu = rule( attrs = { "_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")), }, - toolchains = use_cpp_toolchain(), # copybara-use-repo-external-label + toolchains = use_cpp_toolchain(), )