Skip to content

Commit a4afec3

Browse files
adetaylorvadimsht
authored andcommitted
[rust] BUILD.gn according to latest crates.py
Latest crates.py no longer appends ($host_toolchain) for procedural macros as it's no longer necessary. Update the previously-generated BUILD.gn files to match its current behavior. Change-Id: I0e5fad28a77f76e7f4f3bddfb7119f61ce6cdcfe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3529854 Auto-Submit: Adrian Taylor <adetaylor@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/main@{#981838} NOKEYCHECK=True GitOrigin-RevId: 2b5c03711b1c37fca73211e5248c2835312f35ea
1 parent 87de954 commit a4afec3

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

autocxx/v0_16/BUILD.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ cargo_crate("lib") {
1515
sources = [ "crate/src/lib.rs" ]
1616
edition = "2021"
1717
deps = [
18-
"//third_party/rust/aquamarine/v0_1:lib($host_toolchain)",
18+
"//third_party/rust/aquamarine/v0_1:lib",
1919
"//third_party/rust/autocxx_engine/v0_16:lib",
20-
"//third_party/rust/autocxx_macro/v0_16:lib($host_toolchain)",
20+
"//third_party/rust/autocxx_macro/v0_16:lib",
2121
"//third_party/rust/cxx/v1:lib",
2222
"//third_party/rust/moveit/v0_4:lib",
2323
]

autocxx_engine/v0_16/BUILD.gn

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@ cargo_crate("lib") {
1919
sources = [ "crate/src/lib.rs" ]
2020
edition = "2021"
2121
deps = [
22-
"//third_party/rust/aquamarine/v0_1:lib($host_toolchain)",
22+
"//third_party/rust/aquamarine/v0_1:lib",
2323
"//third_party/rust/autocxx_bindgen/v0_59:lib",
2424
"//third_party/rust/autocxx_parser/v0_16:lib",
2525
"//third_party/rust/cxx/v1:lib",
2626
"//third_party/rust/cxx_gen/v0_7:lib",
27-
"//third_party/rust/indoc/v1:lib($host_toolchain)",
27+
"//third_party/rust/indoc/v1:lib",
2828
"//third_party/rust/itertools/v0_10:lib",
2929
"//third_party/rust/log/v0_4:lib",
3030
"//third_party/rust/once_cell/v1:lib",
3131
"//third_party/rust/proc_macro2/v1:lib",
3232
"//third_party/rust/quote/v1:lib",
3333
"//third_party/rust/serde_json/v1:lib",
34-
"//third_party/rust/strum_macros/v0_23:lib($host_toolchain)",
34+
"//third_party/rust/strum_macros/v0_23:lib",
3535
"//third_party/rust/syn/v1:lib",
3636
"//third_party/rust/tempfile/v3:lib",
37-
"//third_party/rust/unzip_n/v0_1:lib($host_toolchain)",
37+
"//third_party/rust/unzip_n/v0_1:lib",
3838
"//third_party/rust/version_check/v0_9:lib",
3939
]
4040
features = [

autocxx_parser/v0_16/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cargo_crate("lib") {
2323
"//third_party/rust/proc_macro2/v1:lib",
2424
"//third_party/rust/quote/v1:lib",
2525
"//third_party/rust/serde/v1:lib",
26-
"//third_party/rust/serde_derive/v1:lib($host_toolchain)",
26+
"//third_party/rust/serde_derive/v1:lib",
2727
"//third_party/rust/syn/v1:lib",
2828
]
2929
features = [

proc_macro_error/v1/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cargo_crate("lib") {
2020
edition = "2018"
2121
deps = [
2222
"//third_party/rust/proc_macro2/v1:lib",
23-
"//third_party/rust/proc_macro_error_attr/v1:lib($host_toolchain)",
23+
"//third_party/rust/proc_macro_error_attr/v1:lib",
2424
"//third_party/rust/quote/v1:lib",
2525
"//third_party/rust/syn/v1:lib",
2626
]

strum_macros/v0_23/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cargo_crate("lib") {
2222
"//third_party/rust/heck/v0_3:lib",
2323
"//third_party/rust/proc_macro2/v1:lib",
2424
"//third_party/rust/quote/v1:lib",
25-
"//third_party/rust/rustversion/v1:lib($host_toolchain)",
25+
"//third_party/rust/rustversion/v1:lib",
2626
"//third_party/rust/syn/v1:lib",
2727
]
2828
}

0 commit comments

Comments
 (0)