aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-17 00:13:49 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-17 00:13:49 +0000
commitcc50f4e5b0f6fc42e9e7dc45a8dc5ddb0c28b07a (patch)
tree85139f1b82c2faafd8a63666ae9ef954d0e7eeb6
parent894dd638d9b2e2073280f6c1fd4113f03c3e612a (diff)
parentd97a0370cf221aaf59c9d9f5060f2861ea0e479a (diff)
downloadserde_test-android14-qpr2-s3-release.tar.gz
Change-Id: Idc223ea85b3f7421100f4b32d2258993e1ca1b4d
-rw-r--r--Android.bp6
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json3
3 files changed, 5 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 6b4de9e..179cac3 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 {
@@ -46,9 +46,7 @@ rust_library {
cargo_pkg_version: "1.0.158",
srcs: ["src/lib.rs"],
edition: "2015",
- rustlibs: [
- "libserde",
- ],
+ rustlibs: ["libserde"],
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
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..cb908d7
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,3 @@
+{
+ "run_cargo": false
+}