diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2020-12-23 12:37:45 +0100 |
---|---|---|
committer | Jeff Vander Stoep <jeffv@google.com> | 2020-12-23 12:38:21 +0100 |
commit | fb0152d38e8eecd299313ba53a922e91a3eb46c0 (patch) | |
tree | 7fe63d7750f3879769e23b427d679e41d32886e6 | |
parent | f935d03e6ab6bfb35d5e03308f204363d861eef7 (diff) | |
download | unicode-bidi-fb0152d38e8eecd299313ba53a922e91a3eb46c0.tar.gz |
Allow using unicode-bidi from DnsResolverplatform-tools-31.0.0
Test: m
Bug: 155855709
Change-Id: Ie7df0beb6326223082a742f3f9c579a0aa4ff1ca
-rw-r--r-- | Android.bp | 7 | ||||
-rw-r--r-- | patches/Android.bp.patch | 16 |
2 files changed, 22 insertions, 1 deletions
@@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --run --device --dependencies --tests. +// This file is generated by cargo2android.py --run --device --dependencies --tests --patch=patches/Android.bp.patch. rust_library { name: "libunicode_bidi", @@ -11,6 +11,11 @@ rust_library { rustlibs: [ "libmatches", ], + apex_available: [ + "//apex_available:platform", + "com.android.resolv", + ], + min_sdk_version: "29", } rust_defaults { diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch new file mode 100644 index 0000000..c5ab732 --- /dev/null +++ b/patches/Android.bp.patch @@ -0,0 +1,16 @@ +diff --git a/Android.bp b/Android.bp +index 83d60c0..66ceebd 100644 +--- a/Android.bp ++++ b/Android.bp +@@ -11,6 +11,11 @@ rust_library { + rustlibs: [ + "libmatches", + ], ++ apex_available: [ ++ "//apex_available:platform", ++ "com.android.resolv", ++ ], ++ min_sdk_version: "29", + } + + rust_defaults { |