diff options
author | Alex Deymo <deymo@google.com> | 2017-07-17 16:57:05 +0200 |
---|---|---|
committer | Alex Deymo <deymo@google.com> | 2017-07-17 17:01:06 +0200 |
commit | 631c662e75f48e26298cb0f3bf4205c464cb9b42 (patch) | |
tree | 4e21a1393d59b2843ceea94a837aa735986a9d15 | |
parent | 7a4643f007d2859128bc598ca6b7fdc8800fe57a (diff) | |
download | platform_external_libbrillo-631c662e75f48e26298cb0f3bf4205c464cb9b42.tar.gz platform_external_libbrillo-631c662e75f48e26298cb0f3bf4205c464cb9b42.tar.bz2 platform_external_libbrillo-631c662e75f48e26298cb0f3bf4205c464cb9b42.zip |
Fix mac build.android-o-preview-4
The libbrillo_linux_sources should have been included in the target
library only since those are not available in all hosts.
Bug: None
Test: `mmma external/libbrillo` on a mac
Change-Id: Id09bcb814bae68dabf60e965b7184a484b5cd787
-rw-r--r-- | Android.bp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -131,7 +131,7 @@ libbrillo_shared_libraries = ["libchrome"] cc_library { name: "libbrillo", host_supported: true, - srcs: libbrillo_core_sources + libbrillo_linux_sources, + srcs: libbrillo_core_sources, shared_libs: libbrillo_shared_libraries, static_libs: [ "libmodpb64", @@ -144,6 +144,9 @@ cc_library { host: { cppflags: ["-D__ANDROID_HOST__"], }, + android: { + srcs: libbrillo_linux_sources, + }, }, } |