diff options
author | Andrew Walbran <qwandor@google.com> | 2023-11-08 17:27:17 +0000 |
---|---|---|
committer | Andrew Walbran <qwandor@google.com> | 2023-11-08 17:38:08 +0000 |
commit | 859cad91f24afa1fa8654da38e18d7e7e94f2c50 (patch) | |
tree | 9da7d0ba8ba80a15af9e179f94ff7e95a40e4454 | |
parent | f7a18e351b64d57af23a31e313cbb9d8c29909cc (diff) | |
download | der_derive-859cad91f24afa1fa8654da38e18d7e7e94f2c50.tar.gz |
Migrate to cargo_embargo.
Bug: 293289578
Test: Ran cargo_embargo, compared Android.bp
Change-Id: I4718d1275aaac7e68e4408660b49077eddb60958
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | cargo2android.json | 7 | ||||
-rw-r--r-- | cargo_embargo.json | 12 |
3 files changed, 13 insertions, 8 deletions
@@ -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 { diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index e8154a6..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "host-first-multilib": true, - "run": true, - "dep-suffixes": { - "syn": "_deprecated" - } -} diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..5e1c824 --- /dev/null +++ b/cargo_embargo.json @@ -0,0 +1,12 @@ +{ + "module_name_overrides": { + "libsyn": "libsyn_deprecated" + }, + "package": { + "der_derive": { + "device_supported": false, + "host_first_multilib": true + } + }, + "run_cargo": false +} |