aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-22 23:09:30 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-05-22 23:09:30 +0000
commit31cee066dc871390141fc21033f3d1c2e712ac79 (patch)
tree43694936ba0b4468d465f46d9fe6cab891853dd3
parent3b6bb30ec98f5480fe43315caeae1a8445b6927b (diff)
parente1da9f8b9f6bf7b2340ab802981face64de5846f (diff)
downloadproc-macro2-main.tar.gz
Update Android.bp by running cargo_embargo am: e1da9f8b9fHEADmastermain
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/proc-macro2/+/3095555 Change-Id: Ib88cfe6f5cd9fd03998bda5f068fd9acbac4d8ef Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp18
1 files changed, 10 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index fb14fd3..e3d6582 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,7 @@
// This file is generated by cargo_embargo.
-// Do not modify this file as changes will be overridden on upgrade.
+// Do not modify this file after the first "rust_*" or "genrule" module
+// because the changes will be overridden on upgrade.
+// Content before the first "rust_*" or "genrule" module is preserved.
package {
default_applicable_licenses: ["external_rust_crates_proc-macro2_license"],
@@ -42,7 +44,7 @@ rust_library_host {
crate_name: "proc_macro2",
cargo_env_compat: true,
cargo_pkg_version: "1.0.69",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: [
"default",
@@ -63,7 +65,7 @@ rust_test_host {
crate_name: "comments",
cargo_env_compat: true,
cargo_pkg_version: "1.0.69",
- srcs: ["tests/comments.rs"],
+ crate_root: "tests/comments.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -93,7 +95,7 @@ rust_test_host {
crate_name: "features",
cargo_env_compat: true,
cargo_pkg_version: "1.0.69",
- srcs: ["tests/features.rs"],
+ crate_root: "tests/features.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -123,7 +125,7 @@ rust_test_host {
crate_name: "marker",
cargo_env_compat: true,
cargo_pkg_version: "1.0.69",
- srcs: ["tests/marker.rs"],
+ crate_root: "tests/marker.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -153,7 +155,7 @@ rust_test_host {
crate_name: "test",
cargo_env_compat: true,
cargo_pkg_version: "1.0.69",
- srcs: ["tests/test.rs"],
+ crate_root: "tests/test.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -183,7 +185,7 @@ rust_test_host {
crate_name: "test_fmt",
cargo_env_compat: true,
cargo_pkg_version: "1.0.69",
- srcs: ["tests/test_fmt.rs"],
+ crate_root: "tests/test_fmt.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -213,7 +215,7 @@ rust_test_host {
crate_name: "test_size",
cargo_env_compat: true,
cargo_pkg_version: "1.0.69",
- srcs: ["tests/test_size.rs"],
+ crate_root: "tests/test_size.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {