aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-10 15:39:36 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-10 15:39:36 +0000
commit8a6124897a26ffa452c3c61b966ba4965a178721 (patch)
tree673580abd605906c3c8976bcd2fe11981e9b2df5
parentf36a9af95bfe1fe4e2d1bdc02b985a19f2c270fe (diff)
parent20f834f3ffc3c24a1e2791268c7fcdd85598755e (diff)
downloadcast-busytown-mac-infra-release.tar.gz
Snap for 11819167 from 20f834f3ffc3c24a1e2791268c7fcdd85598755e to busytown-mac-infra-releasebusytown-mac-infra-release
Change-Id: If6996ee3e1b22e70962cc1dd98e4bb22b3a1efb3
-rw-r--r--Android.bp12
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json4
3 files changed, 12 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index ad8f3c0..b09889c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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 {
@@ -50,9 +50,7 @@ rust_test {
unit_test: true,
},
edition: "2018",
- rustlibs: [
- "libquickcheck",
- ],
+ rustlibs: ["libquickcheck"],
}
rust_library {
@@ -63,4 +61,10 @@ rust_library {
cargo_pkg_version: "0.3.0",
srcs: ["src/lib.rs"],
edition: "2018",
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ product_available: true,
+ vendor_available: 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
+}