aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-17 00:14:34 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-17 00:14:34 +0000
commit97a04c2274947e28363543e214d44ac2c4be608e (patch)
tree363befbfbb58e8eb39969e5a1445654288c91f0a
parentc696d6a99a8367d0c30a1f4b4eff0b76b6a11c83 (diff)
parent831c504fdcedff60e264796f747d22a04cc97a06 (diff)
downloadunsafe-libyaml-android14-qpr2-s2-release.tar.gz
Change-Id: I2e9425d3f556f330d1a4bd98df144590adf5b0b4
-rw-r--r--Android.bp12
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json9
3 files changed, 12 insertions, 13 deletions
diff --git a/Android.bp b/Android.bp
index b282c8f..0545cf9 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_library_host_rlib {
name: "libunsafe_libyaml",
crate_name: "unsafe_libyaml",
@@ -19,9 +17,7 @@ rust_binary_host {
cargo_pkg_version: "0.2.9",
srcs: ["src/bin/run-emitter-test-suite.rs"],
edition: "2021",
- rustlibs: [
- "libunsafe_libyaml",
- ],
+ rustlibs: ["libunsafe_libyaml"],
}
rust_binary_host {
@@ -31,7 +27,5 @@ rust_binary_host {
cargo_pkg_version: "0.2.9",
srcs: ["src/bin/run-parser-test-suite.rs"],
edition: "2021",
- rustlibs: [
- "libunsafe_libyaml",
- ],
+ rustlibs: ["libunsafe_libyaml"],
}
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index e3ff1ac..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "force-rlib": 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..b7aeb95
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,9 @@
+{
+ "package": {
+ "unsafe-libyaml": {
+ "device_supported": false,
+ "force_rlib": true
+ }
+ },
+ "run_cargo": false
+}