From 38bfa21695b19c21784d2074de30d5d102f08972 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 13 Sep 2012 11:01:46 -0700 Subject: [PATCH] Fix Mac build. Change-Id: Id625806fab0f2f7f90f9508c5fce649afe970414 --- tests/Android.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Android.mk b/tests/Android.mk index a97334175..d2e59959d 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -51,6 +51,7 @@ include $(BUILD_NATIVE_TEST) # Note that this will build against glibc, so it's not useful for testing # bionic's implementation, but it does let you use glibc as a reference # implementation for testing the tests themselves. +ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86) include $(CLEAR_VARS) LOCAL_MODULE := bionic-unit-tests-glibc LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk @@ -58,5 +59,6 @@ LOCAL_LDFLAGS += -lpthread -ldl LOCAL_LDFLAGS += $(test_dynamic_ldflags) LOCAL_SRC_FILES := $(test_src_files) $(test_dynamic_src_files) include $(BUILD_HOST_NATIVE_TEST) +endif endif # !BUILD_TINY_ANDROID