diff options
-rw-r--r-- | Android.bp | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -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: { |