Skip to content

Commit b344711

Browse files
ted-xiecopybara-github
authored andcommitted
Merge #409 by ted-xie: Migrate away from @bazel_tools//tools/cpp.
Closes #409 COPYBARA_INTEGRATE_REVIEW=#409 from ted-xie:no_bazel_tools_cpp 94213b9 PiperOrigin-RevId: 796433155 Change-Id: I7b24b271f4e890b1c861680f9455651f7154c9d9
1 parent f2ec0c2 commit b344711

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

rules/android_binary/attrs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ ATTRS = _attrs.replace(
202202
_enable_manifest_merging = attr.bool(default = True),
203203
_cc_toolchain_split = attr.label(
204204
cfg = android_split_transition,
205-
default = "@bazel_tools//tools/cpp:current_cc_toolchain",
205+
default = "@rules_cc//cc:current_cc_toolchain",
206206
aspects = [split_config_aspect],
207207
),
208208
_optimizing_dexer = attr.label(

test/rules/android_binary/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ toolchain(
3030
"@platforms//cpu:aarch64",
3131
],
3232
toolchain = ":fake_cc_toolchain",
33-
toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",
33+
toolchain_type = "@rules_cc//cc:toolchain_type",
3434
)
3535

3636
toolchain(
@@ -40,7 +40,7 @@ toolchain(
4040
"@platforms//cpu:armv7",
4141
],
4242
toolchain = ":fake_cc_toolchain",
43-
toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",
43+
toolchain_type = "@rules_cc//cc:toolchain_type",
4444
)
4545

4646
genrule(

0 commit comments

Comments
 (0)