]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-external-tinyalsa.git/commitdiff
Fix build on Mac host
authorGlenn Kasten <gkasten@google.com>
Mon, 3 Feb 2014 18:23:31 +0000 (10:23 -0800)
committerGlenn Kasten <gkasten@google.com>
Mon, 3 Feb 2014 18:23:49 +0000 (10:23 -0800)
Change-Id: Ifdbcb702ef60c78ec25f8f40cb7f8bdc981b8f48

Android.mk

index 63f820fed8ee7d9f80e1ecf208fb2ae12f445568..006e58868f715ca91b89dbd70888b19fbf403a18 100644 (file)
@@ -28,6 +28,7 @@ LOCAL_MODULE_TAGS := optional
 
 include $(BUILD_EXECUTABLE)
 
+ifeq ($(HOST_OS), linux)
 include $(CLEAR_VARS)
 LOCAL_C_INCLUDES:= external/tinyalsa/include
 LOCAL_SRC_FILES:= tinyplay.c
@@ -36,6 +37,7 @@ LOCAL_STATIC_LIBRARIES:= libcutils libutils libtinyalsa
 LOCAL_MODULE_TAGS := optional
 
 include $(BUILD_HOST_EXECUTABLE)
+endif
 
 include $(CLEAR_VARS)
 LOCAL_C_INCLUDES:= external/tinyalsa/include