aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-10 15:39:23 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-10 15:39:23 +0000
commit3d1e646c171fe255a797bbe8046b277c0e76a9db (patch)
tree8a2f8ca02a855a7e6380a49522514fc34d302757
parentac81540de079cb44d7b2d3e6678205a14d4b3bde (diff)
parent51079d07053732c6d1ed0b1d071bb5857f025e00 (diff)
downloadatty-busytown-mac-infra-release.tar.gz
Snap for 11819167 from 51079d07053732c6d1ed0b1d071bb5857f025e00 to busytown-mac-infra-releasebusytown-mac-infra-release
Change-Id: I42615758905c5199814d559959cd5204168b76b9
-rw-r--r--Android.bp10
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json3
3 files changed, 10 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp
index 70e0e91..1d55b2f 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 {
@@ -26,7 +26,11 @@ rust_library {
cargo_pkg_version: "0.2.14",
srcs: ["src/lib.rs"],
edition: "2015",
- rustlibs: [
- "liblibc",
+ rustlibs: ["liblibc"],
+ 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 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
+}