aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-18 02:13:34 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-18 02:13:34 +0000
commit0f2a7db4d87f93fc5bc2b8afd423a1e682f7961d (patch)
treefdb207bce34acd8e46838e32357ed5984a184cfe
parent651a78a78fc9fc3f2e31fa5a628656a6750eeab6 (diff)
parentaa593b9e4a24cdc2f0272c1b20cca6c288e47078 (diff)
downloadquote-android14-qpr2-s1-release.tar.gz
Change-Id: I75daf4b719b564cf37a2225cff6fc3b6edb69d2f
-rw-r--r--Android.bp8
-rw-r--r--cargo2android.json4
-rw-r--r--cargo_embargo.json9
3 files changed, 12 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index f34b424..e21d65d 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 {
@@ -41,15 +41,13 @@ rust_library_host {
name: "libquote",
crate_name: "quote",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.26",
+ cargo_pkg_version: "1.0.33",
srcs: ["src/lib.rs"],
edition: "2018",
features: [
"default",
"proc-macro",
],
- rustlibs: [
- "libproc_macro2",
- ],
+ rustlibs: ["libproc_macro2"],
compile_multilib: "first",
}
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index bb77633..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "host-first-multilib": 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..1d0a6bb
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,9 @@
+{
+ "package": {
+ "quote": {
+ "device_supported": false,
+ "host_first_multilib": true
+ }
+ },
+ "run_cargo": false
+}