diff options
author | Bernie Innocenti <codewiz@google.com> | 2020-12-12 03:48:09 +0900 |
---|---|---|
committer | Bernie Innocenti <codewiz@google.com> | 2020-12-12 03:48:09 +0900 |
commit | 7559815c370e395c4592016bb12e91b99379e58e (patch) | |
tree | f3c0f1c30d4459c156de5ebfb899e283cdb937c8 /patches | |
parent | 6aa137e85bd01af91bdbe6acb6a614e15bbbae86 (diff) | |
download | untrusted-7559815c370e395c4592016bb12e91b99379e58e.tar.gz |
Allow using untrusted from DnsResolverplatform-tools-31.0.0
Bug: 155855709
Test: m
Change-Id: I0dee0cb7b78d62e693a95032c6fe97ffdc171a9d
Diffstat (limited to 'patches')
-rw-r--r-- | patches/Android.bp.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/Android.bp.patch b/patches/Android.bp.patch new file mode 100644 index 0000000..90cc841 --- /dev/null +++ b/patches/Android.bp.patch @@ -0,0 +1,16 @@ +diff --git a/Android.bp b/Android.bp +index 52ab13d..eaf9020 100644 +--- a/Android.bp ++++ b/Android.bp +@@ -6,6 +6,11 @@ rust_library { + crate_name: "untrusted", + srcs: ["src/untrusted.rs"], + edition: "2018", ++ apex_available: [ ++ "//apex_available:platform", ++ "com.android.resolv", ++ ], ++ min_sdk_version: "29", + } + + rust_defaults { |