summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-14 19:54:02 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-14 19:54:02 +0000
commit1302df46a67520a143d069446e2bcabdfc837914 (patch)
treeae8659336830661123d37042d9de1a0f39cd9906
parent507e5b72cd798a0b4d79c9c1ea1713fb69b62c93 (diff)
parent02ad4c11088e4666dcaa11e6dff6930489eb451e (diff)
downloadcexpr-1302df46a67520a143d069446e2bcabdfc837914.tar.gz
Snap for 11096816 from 02ad4c11088e4666dcaa11e6dff6930489eb451e to build-tools-release
Change-Id: Ib9aa8933111cb834f97372bdd28ce926a2fb8ad3
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json3
3 files changed, 5 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index 09ee54e..5849f58 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 {
@@ -45,9 +45,7 @@ rust_library {
cargo_pkg_version: "0.6.0",
srcs: ["src/lib.rs"],
edition: "2018",
- rustlibs: [
- "libnom",
- ],
+ rustlibs: ["libnom"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
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
+}