mirror of https://github.com/bazelbuild/rules_cc
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 2f8c04c044
.
PiperOrigin-RevId: 510103824
Change-Id: I9b65a6b7f9b48885aec4df5f4723273633be4860
This commit is contained in:
parent
d8dfa8b829
commit
ad1830946d
|
@ -30,6 +30,6 @@ cc_flags_supplier = rule(
|
||||||
attrs = {
|
attrs = {
|
||||||
"_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
|
"_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"],
|
fragments = ["cpp"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -95,5 +95,5 @@ my_c_archive = rule(
|
||||||
"_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
|
"_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
|
||||||
},
|
},
|
||||||
fragments = ["cpp"],
|
fragments = ["cpp"],
|
||||||
toolchains = use_cpp_toolchain(), # copybara-use-repo-external-label
|
toolchains = use_cpp_toolchain(),
|
||||||
)
|
)
|
||||||
|
|
|
@ -76,6 +76,6 @@ my_c_compile = rule(
|
||||||
"src": attr.label(mandatory = True, allow_single_file = True),
|
"src": attr.label(mandatory = True, allow_single_file = True),
|
||||||
"_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
|
"_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"],
|
fragments = ["cpp"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -28,5 +28,5 @@ write_cc_toolchain_cpu = rule(
|
||||||
attrs = {
|
attrs = {
|
||||||
"_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
|
"_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(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue