diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-08 17:56:17 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-11-08 17:56:17 +0000 |
commit | c7e8f75af23c30723b107c413d3aec2df4c7a55c (patch) | |
tree | b03305890b3a3cf959465318c23c6ac72a6875d7 | |
parent | b3b9ce3ded7953bf779f4957a0d1d129729a0d1e (diff) | |
download | lazycell-c7e8f75af23c30723b107c413d3aec2df4c7a55c.tar.gz |
Migrate to cargo_embargo.
Bug: 293289578
Test: Ran cargo_embargo, compared Android.bp
Change-Id: I9250a19fceddd972c5a62210c30d32b34f114d14
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | cargo2android.json | 5 | ||||
-rw-r--r-- | cargo_embargo.json | 4 |
3 files changed, 5 insertions, 8 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --config cargo2android.json. +// This file is generated by cargo_embargo. // Do not modify this file as changes will be overridden on upgrade. package { @@ -39,7 +39,6 @@ license { rust_test { name: "lazycell_test_src_lib", - // has rustc warnings host_supported: true, crate_name: "lazycell", cargo_env_compat: true, @@ -55,7 +54,6 @@ rust_test { rust_library { name: "liblazycell", - // has rustc warnings host_supported: true, crate_name: "lazycell", cargo_env_compat: true, diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index d36fb44..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "device": true, - "run": true, - "tests": true -}
\ No newline at end of file diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..c8842d1 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,4 @@ +{ + "run_cargo": false, + "tests": true +} |