diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-09 16:23:26 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-11-09 16:23:26 +0000 |
commit | 6192ef513e4c559345b60c202f9c3a6b198d9280 (patch) | |
tree | 8042e356a222bccce8de8ea3b56ac839459bdfb0 | |
parent | 93ef90aafafc77c54ac5e6bf388b372f751b3ff9 (diff) | |
download | config-6192ef513e4c559345b60c202f9c3a6b198d9280.tar.gz |
Migrate to cargo_embargo.
Bug: 293289578
Test: Ran cargo_embargo, compared Android.bp
Change-Id: Ic357cc8b2ec00d2ec2e1ba0c8acc4a74e075d506
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | cargo2android.json | 5 | ||||
-rw-r--r-- | cargo_embargo.json | 16 |
3 files changed, 17 insertions, 8 deletions
@@ -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 +} |