From 631c662e75f48e26298cb0f3bf4205c464cb9b42 Mon Sep 17 00:00:00 2001 From: Alex Deymo Date: Mon, 17 Jul 2017 16:57:05 +0200 Subject: Fix mac build. 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 --- Android.bp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index e59e7fe..52ae4f5 100644 --- a/Android.bp +++ b/Android.bp @@ -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, + }, }, } -- cgit v1.2.3