diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-14 14:55:25 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-11-14 14:55:25 +0000 |
commit | 5b37cbac282bae9f1f7c27210d8b428d67ce153c (patch) | |
tree | d11ad1f9de235be675aaac106efd799d664d033d | |
parent | b4ef21342d1aa7714ee542cf975ff64348f45a18 (diff) | |
download | httparse-5b37cbac282bae9f1f7c27210d8b428d67ce153c.tar.gz |
Migrate to cargo_embargo.
Bug: 293289578
Test: Ran cargo_embargo, compared Android.bp
Change-Id: I700b032c834944f75c49c5b23e39e231ac48e4f2
-rw-r--r-- | Android.bp | 8 | ||||
-rw-r--r-- | cargo2android.json | 5 | ||||
-rw-r--r-- | cargo_embargo.json | 3 |
3 files changed, 5 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_test { name: "httparse_test_src_lib", host_supported: true, @@ -21,9 +19,7 @@ rust_test { "std", ], cfgs: ["httparse_simd"], - rustlibs: [ - "libcriterion", - ], + rustlibs: ["libcriterion"], } rust_test { 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..9a0a579 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,3 @@ +{ + "tests": true +} |