aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-08-10 14:20:57 -0700
committerElliott Hughes <enh@google.com>2015-08-10 14:21:17 -0700
commit72968a2ff9ce896cb115dead3cd88614db469d89 (patch)
tree94ad66517d073bbe1e4fd50713ffb7626699ca58 /Android.mk
parenta90b06ddb7e8baacb7fce87bd823ba69e65f7060 (diff)
downloadlibbrillo-72968a2ff9ce896cb115dead3cd88614db469d89.tar.gz
libchromeos doesn't build on the Mac.
It has a minijail dependency, and that doesn't build on the Mac. Change-Id: I7878bd8139f121fea1bc9f3163fcd3bb637e00a7
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 903b254..b93f37c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -14,6 +14,8 @@
LOCAL_PATH := $(call my-dir)
+ifeq ($(HOST_OS),linux)
+
libchromeos_cpp_extension := .cc
libchromeos_core_sources := \
chromeos/asynchronous_signal_handler.cc \
@@ -262,3 +264,5 @@ LOCAL_CFLAGS := $(libchromeos_CFLAGS)
LOCAL_CPPFLAGS := $(libchromeos_CFLAGS) -Wno-sign-compare
LOCAL_CLANG := true
include $(BUILD_NATIVE_TEST)
+
+endif # HOST_OS == linux