aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 18:55:13 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 18:55:13 +0000
commite1da9f8b9f6bf7b2340ab802981face64de5846f (patch)
tree43694936ba0b4468d465f46d9fe6cab891853dd3
parent3b6bb30ec98f5480fe43315caeae1a8445b6927b (diff)
downloadproc-macro2-master.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: Ib2caaf1fad2613803400c080c157513be3e061a5
-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: {