OSDN Git Service

libgui: enable tests in the 'tests' build.
authorJamie Gennis <jgennis@google.com>
Wed, 27 Apr 2011 00:26:37 +0000 (17:26 -0700)
committerJamie Gennis <jgennis@google.com>
Wed, 27 Apr 2011 00:26:37 +0000 (17:26 -0700)
This change makes the libgui makefile recurse into the tests directory
so that the tests get built by a top-level make when
TARGET_BUILD_VARIANT=tests.

Change-Id: I6f623cc4b86dfeb00b9d21823316dbd9def23110

libs/gui/Android.mk
libs/gui/tests/Android.mk

index 58bb0d3..b5737ff 100644 (file)
@@ -38,3 +38,7 @@ ifeq ($(TARGET_SIMULATOR),true)
 endif
 
 include $(BUILD_SHARED_LIBRARY)
+
+ifeq (,$(ONE_SHOT_MAKEFILE))
+include $(call first-makefiles-under,$(LOCAL_PATH))
+endif
index ecd0995..8d3a9b5 100644 (file)
@@ -36,9 +36,6 @@ LOCAL_C_INCLUDES := \
 
 include $(BUILD_EXECUTABLE)
 
-# Build the manual test programs.
-include $(call all-subdir-makefiles)
-
 endif
 
 # Include subdirectory makefiles