aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:11:07 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:11:07 +0000
commit075d7de68d1ee73b23e7d21e17bd47caf3c328e7 (patch)
tree8042e356a222bccce8de8ea3b56ac839459bdfb0
parent8e30cfbbdc2140964c465290401740a655882314 (diff)
parenteee98e227a0a474148c55d04a8d7f02aa05b93ec (diff)
downloadconfig-android14-qpr2-s3-release.tar.gz
Change-Id: Ib67a16a9b44e4bc943219db071757ec353d6d477
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json5
-rw-r--r--cargo_embargo.json16
3 files changed, 17 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index d42c800..91aa034 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 {
name: "libconfig_rust",
crate_name: "config",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index aaeb2e6..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "features": "toml,json,yaml",
- "name-suffix": "_rust",
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..85ca64d
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,16 @@
+{
+ "features": [
+ "toml",
+ "json",
+ "yaml"
+ ],
+ "module_name_overrides": {
+ "libconfig": "libconfig_rust"
+ },
+ "package": {
+ "config": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}