From a50ee3ecb377c69758254a0af9542bb64ecc5b71 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Wed, 14 Jul 2010 22:40:08 -0700 Subject: [PATCH] Don't build framework tests for simulator target. Change-Id: I70f29c7eb307e4f3ec5702f4eb9d97b4342e2f36 --- libs/ui/tests/Android.mk | 5 +++++ libs/utils/tests/Android.mk | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/libs/ui/tests/Android.mk b/libs/ui/tests/Android.mk index 46d74934d..62f824fc7 100644 --- a/libs/ui/tests/Android.mk +++ b/libs/ui/tests/Android.mk @@ -2,6 +2,9 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) +ifneq ($(TARGET_SIMULATOR),true) + +# Build the unit tests. test_src_files := \ InputChannel_test.cpp \ InputDispatcher_test.cpp \ @@ -43,3 +46,5 @@ $(foreach file,$(test_src_files), \ # Build the manual test programs. include $(call all-subdir-makefiles) + +endif \ No newline at end of file diff --git a/libs/utils/tests/Android.mk b/libs/utils/tests/Android.mk index f1b8cd56e..b9f206a9d 100644 --- a/libs/utils/tests/Android.mk +++ b/libs/utils/tests/Android.mk @@ -2,6 +2,9 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) +ifneq ($(TARGET_SIMULATOR),true) + +# Build the unit tests. test_src_files := \ ObbFile_test.cpp \ PollLoop_test.cpp @@ -37,3 +40,5 @@ $(foreach file,$(test_src_files), \ $(eval LOCAL_MODULE_TAGS := $(module_tags)) \ $(eval include $(BUILD_EXECUTABLE)) \ ) + +endif \ No newline at end of file