diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-29 15:30:18 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-11-29 15:30:18 +0000 |
commit | 251a0c3b9f5317069fe779ead900dfb765f8dcf3 (patch) | |
tree | a268b72ebc3307f8dd747b4c84ac7cf6f2c4c561 | |
parent | 93b1d2ff52ce9c97c127f6fe1632d57b1de891aa (diff) | |
download | utf-8-251a0c3b9f5317069fe779ead900dfb765f8dcf3.tar.gz |
Migrate to cargo_embargo.
Bug: 293289578
Test: Ran cargo_embargo, compared Android.bp
Change-Id: I598685b1eb7f467e10051b2ad7e7f4d91a2a1f7a
-rw-r--r-- | Android.bp | 8 | ||||
-rw-r--r-- | cargo2android.json | 5 | ||||
-rw-r--r-- | cargo_embargo.json | 4 |
3 files changed, 6 insertions, 11 deletions
@@ -1,8 +1,6 @@ -// 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. - - rust_library { name: "libutf8", host_supported: true, @@ -32,7 +30,5 @@ rust_test { unit_test: true, }, edition: "2015", - rustlibs: [ - "libutf8", - ], + rustlibs: ["libutf8"], } diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index aefb658..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "run": true, - "device": true, - "tests": true -} 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 +} |