diff options
author | Joel Galenson <jgalenson@google.com> | 2021-04-27 09:38:38 -0700 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-04-27 09:38:38 -0700 |
commit | b5eff227171931a2f3c267eda3c1f3d824e81db4 (patch) | |
tree | 6f836c829a9a6efeff9c0bf12af5d96d86331353 | |
parent | e89190cb1856bbbb772ca33c98588e4b70c69578 (diff) | |
download | futures-io-b5eff227171931a2f3c267eda3c1f3d824e81db4.tar.gz |
Generate apex_available from c2a instead of a patchandroid-s-beta-2android-s-beta-1
Test: Run c2a
Test: Build
Change-Id: I7d92317b2e9de1ccb5446c1e014896a2f5775be2
-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 d00924c..0000000 --- a/patches/Android.bp.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Android.bp b/Android.bp -index d980847..7771875 100644 ---- a/Android.bp -+++ b/Android.bp -@@ -33,4 +33,8 @@ rust_library { - "default", - "std", - ], -+ apex_available: [ -+ "//apex_available:platform", -+ "com.android.virt", -+ ], - } |