diff options
author | Joel Galenson <jgalenson@google.com> | 2021-04-28 21:19:47 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-04-28 21:19:47 +0000 |
commit | cda0442d5281527aa49c2ccd9d000d7d7850fd34 (patch) | |
tree | da2c1c8ccc04febb2db96fb78408a2f1335d4656 | |
parent | 76cf18226bf7690e82f856bd067695509508cb08 (diff) | |
parent | 6a34237310a3ab9dedc937e33cd8bd77a6a1d3c5 (diff) | |
download | futures-sink-cda0442d5281527aa49c2ccd9d000d7d7850fd34.tar.gz |
Generate apex_available from c2a instead of a patch am: 6a34237310
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/futures-sink/+/1688689
Change-Id: I0eacd65da2f6364a74450171b8734f3b67f8bfc0
-rw-r--r-- | Android.bp | 2 | ||||
-rw-r--r-- | cargo2android.json | 10 | ||||
-rw-r--r-- | patches/Android.bp.patch | 13 |
3 files changed, 11 insertions, 14 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --run --dependencies --device --tests --patch=patches/Android.bp.patch. +// This file is generated by cargo2android.py --config cargo2android.json. // Do not modify this file as changes will be overridden on upgrade. package { diff --git a/cargo2android.json b/cargo2android.json new file mode 100644 index 0000000..ac56e26 --- /dev/null +++ b/cargo2android.json @@ -0,0 +1,10 @@ +{ + "apex-available": [ + "//apex_available:platform", + "com.android.virt" + ], + "dependencies": true, + "device": true, + "run": true, + "tests": true +}
\ No newline at end of file diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch deleted file mode 100644 index 4305fea..0000000 --- a/patches/Android.bp.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Android.bp b/Android.bp -index a740016..b16050a 100644 ---- a/Android.bp -+++ b/Android.bp -@@ -35,4 +35,8 @@ rust_library { - "default", - "std", - ], -+ apex_available: [ -+ "//apex_available:platform", -+ "com.android.virt", -+ ], - } |