diff options
author | Elliott Hughes <enh@google.com> | 2014-12-17 10:28:56 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-12-17 10:28:56 -0800 |
commit | 4bf04854fc7e16bad65fd9436bb4513bf16a0c47 (patch) | |
tree | c7f05c77c3cd727dd2f091b656b2a430405619b6 | |
parent | 9620c65214b3dd47cf9fc73aa332050ea9f4bcc9 (diff) | |
download | libcore-4bf04854fc7e16bad65fd9436bb4513bf16a0c47.zip libcore-4bf04854fc7e16bad65fd9436bb4513bf16a0c47.tar.gz libcore-4bf04854fc7e16bad65fd9436bb4513bf16a0c47.tar.bz2 |
Don't try to build the libcore native code on the Mac.
Change-Id: I79c5389af44ff2aea784d4f57c82d6aebf560132
-rw-r--r-- | NativeCode.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/NativeCode.mk b/NativeCode.mk index 5ed3d1e..3a90afb 100644 --- a/NativeCode.mk +++ b/NativeCode.mk @@ -112,6 +112,8 @@ endif # LIBCORE_SKIP_TESTS # Build for the host. # +ifeq ($(HOST_OS),linux) + include $(CLEAR_VARS) LOCAL_CLANG := true LOCAL_SRC_FILES += $(core_src_files) @@ -146,3 +148,5 @@ ifeq ($(LIBCORE_SKIP_TESTS),) LOCAL_CXX_STL := libc++ include $(BUILD_HOST_SHARED_LIBRARY) endif # LIBCORE_SKIP_TESTS + +endif # HOST_OS == linux |