diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2021-02-10 10:55:08 +0100 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2021-02-10 10:58:10 +0100 |
commit | 5a377472408927c128e3a75d1808501841b00ba1 (patch) | |
tree | a01c124430f0627be84656266013a97d72d277fd | |
parent | ffd64ca74da21f832b91531d2eb336dfbdb70427 (diff) | |
download | pin-project-lite-5a377472408927c128e3a75d1808501841b00ba1.tar.gz |
Make apex available for DnsResolver
This is required by upgrade to futures-util.
Test: atest
Change-Id: I9493de1d5ccf38864c6a3abf2832b3d3b29fde7e
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | patches/Android.bp.diff | 13 |
2 files changed, 18 insertions, 1 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --device --run --dependencies. +// This file is generated by cargo2android.py --run --dependencies --device --patch=patches/Android.bp.diff. rust_library { name: "libpin_project_lite", @@ -6,4 +6,8 @@ rust_library { crate_name: "pin_project_lite", srcs: ["src/lib.rs"], edition: "2018", + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], } diff --git a/patches/Android.bp.diff b/patches/Android.bp.diff new file mode 100644 index 0000000..973a233 --- /dev/null +++ b/patches/Android.bp.diff @@ -0,0 +1,13 @@ +diff --git a/Android.bp b/Android.bp +index 2ce3c68..c9bdf14 100644 +--- a/Android.bp ++++ b/Android.bp +@@ -6,4 +6,8 @@ rust_library { + crate_name: "pin_project_lite", + srcs: ["src/lib.rs"], + edition: "2018", ++ apex_available: [ ++ "//apex_available:platform", ++ "com.android.virt", ++ ], + } |