diff options
author | James Farrell <jamesfarrell@google.com> | 2024-05-21 19:01:39 +0000 |
---|---|---|
committer | James Farrell <jamesfarrell@google.com> | 2024-05-21 19:01:39 +0000 |
commit | a4f7c8318c2b2ce8ae795524c60d43e6b2527c57 (patch) | |
tree | 859a8f02a99fc312bce0a77351181d48413be715 | |
parent | 3fa0e2d43f66c5bd509e53c6fd8ccbed393414a4 (diff) | |
download | scopeguard-a4f7c8318c2b2ce8ae795524c60d43e6b2527c57.tar.gz |
Update Android.bp by running cargo_embargo
Test: ran cargo_embargo
Change-Id: I3cb6c0d5fdcd6436a625ef3af9d3cd12984495f5
-rw-r--r-- | Android.bp | 8 |
1 files changed, 5 insertions, 3 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_scopeguard_license"], @@ -43,7 +45,7 @@ rust_library { crate_name: "scopeguard", cargo_env_compat: true, cargo_pkg_version: "1.2.0", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", edition: "2015", features: [ "default", @@ -64,7 +66,7 @@ rust_test { crate_name: "scopeguard", cargo_env_compat: true, cargo_pkg_version: "1.2.0", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { |