diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-09 16:52:44 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-11-09 16:52:44 +0000 |
commit | 38de36256b41ceb21484b200f2c822c26d0642ef (patch) | |
tree | ef90139c1d1e0a903150e5e4b2ed24740974b2bf | |
parent | 096c5906404cbf9b17838acb05c270c56684fcaf (diff) | |
download | walkdir-38de36256b41ceb21484b200f2c822c26d0642ef.tar.gz |
Migrate to cargo_embargo.
Bug: 293289578
Test: Ran cargo_embargo, compared Android.bp
Change-Id: Iaca739edc7fea669735d0c733f2f705eb932529e
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | cargo2android.json | 4 | ||||
-rw-r--r-- | cargo_embargo.json | 3 |
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 { @@ -45,9 +45,7 @@ rust_library { cargo_pkg_version: "2.3.3", srcs: ["src/lib.rs"], edition: "2018", - rustlibs: [ - "libsame_file", - ], + rustlibs: ["libsame_file"], apex_available: [ "//apex_available:platform", "//apex_available:anyapex", diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index bf78496..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "device": true, - "run": true -}
\ No newline at end of file diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..cb908d7 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,3 @@ +{ + "run_cargo": false +} |