diff options
author | Andreas Gampe <agampe@google.com> | 2018-12-27 13:12:30 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-12-27 13:12:30 -0800 |
commit | 97f17542f296d29e68e2bab4fc429802addffda3 (patch) | |
tree | b192e04dc08904f9ca8b226170c796d15de74089 | |
parent | cfb1ffe8a30456ffc21663f9239e00b6a4b7ba19 (diff) |
Apex: Disable darwin host support for some modules
Libavb is not available on darwin. As such disable libapex and
dependent modules there.
Follow-up to commit 356e40c4f366c95c05727fadc059f519dbd31a54.
Bug: 120799580
Test: n/a
Change-Id: I80582b2f7d82c4986c5d19022aedd68d3f46c2d1
-rw-r--r-- | apexd/Android.bp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apexd/Android.bp b/apexd/Android.bp index 62b2a0b..55c408a 100644 --- a/apexd/Android.bp +++ b/apexd/Android.bp @@ -106,6 +106,11 @@ cc_library_static { ], static_libs: ["libavb"], host_supported: true, + target: { + darwin: { + enabled: false, + }, + }, header_libs: [ "libutils_headers", ], @@ -125,6 +130,11 @@ cc_test { "apex_file_test.cpp", ], host_supported: true, + target: { + darwin: { + enabled: false, + }, + }, static_libs: [ "libapex", "libavb", @@ -141,6 +151,11 @@ cc_test { "apex_manifest_test.cpp", ], host_supported: true, + target: { + darwin: { + enabled: false, + }, + }, static_libs: [ "libapex", "libavb", |