aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:12:06 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:12:06 +0000
commitf44ad24080a53a872b11dd83cda395eb0f57476a (patch)
treed11ad1f9de235be675aaac106efd799d664d033d
parentc69e825469860c6fbc9f264623f83c3231fed9c6 (diff)
parentdf2557c3bf3a5d6ef79cbbf216ef5ead792d3d34 (diff)
downloadhttparse-android14-qpr2-s3-release.tar.gz
Change-Id: I0b2289cb8b16b3b0e56afabf2298759b436af6dc
-rw-r--r--Android.bp8
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json3
3 files changed, 5 insertions, 11 deletions
diff --git a/Android.bp b/Android.bp
index 495c044..669a801 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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
+}