diff options
-rw-r--r-- | Android.bp | 12 |
1 files changed, 7 insertions, 5 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_webpki_license"], @@ -37,7 +39,7 @@ rust_library { crate_name: "webpki", cargo_env_compat: true, cargo_pkg_version: "0.22.4", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", edition: "2018", features: [ "alloc", @@ -59,7 +61,7 @@ rust_test { crate_name: "webpki", cargo_env_compat: true, cargo_pkg_version: "0.22.4", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -85,7 +87,7 @@ rust_test { crate_name: "dns_name_tests", cargo_env_compat: true, cargo_pkg_version: "0.22.4", - srcs: ["tests/dns_name_tests.rs"], + crate_root: "tests/dns_name_tests.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -112,7 +114,7 @@ rust_test { crate_name: "integration", cargo_env_compat: true, cargo_pkg_version: "0.22.4", - srcs: ["tests/integration.rs"], + crate_root: "tests/integration.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { |