diff options
author | Joel Galenson <jgalenson@google.com> | 2021-04-27 10:53:04 -0700 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-04-27 10:53:04 -0700 |
commit | 6a34237310a3ab9dedc937e33cd8bd77a6a1d3c5 (patch) | |
tree | da2c1c8ccc04febb2db96fb78408a2f1335d4656 | |
parent | 1cd6c3915aa10a5935647c488750e5c244c9d1ee (diff) | |
download | futures-sink-6a34237310a3ab9dedc937e33cd8bd77a6a1d3c5.tar.gz |
Generate apex_available from c2a instead of a patchandroid-s-beta-2android-s-beta-1
Test: Run c2a
Test: Build
Change-Id: Ifd10bd71e5dbac49ad782d2c9d830f637a11926f
-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", -+ ], - } |