summaryrefslogtreecommitdiffstats
path: root/libs/androidfw/tests/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libs/androidfw/tests/Android.mk')
-rw-r--r--libs/androidfw/tests/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/androidfw/tests/Android.mk b/libs/androidfw/tests/Android.mk
index 8aaa887..dd45200 100644
--- a/libs/androidfw/tests/Android.mk
+++ b/libs/androidfw/tests/Android.mk
@@ -26,6 +26,7 @@ testFiles := \
Idmap_test.cpp \
ResTable_test.cpp \
Split_test.cpp \
+ TestHelpers.cpp \
Theme_test.cpp \
TypeWrappers_test.cpp \
ZipUtils_test.cpp
@@ -54,6 +55,7 @@ include $(BUILD_HOST_NATIVE_TEST)
# ==========================================================
# Build the device tests: libandroidfw_tests
# ==========================================================
+ifneq ($(SDK_ONLY),true)
include $(CLEAR_VARS)
LOCAL_MODULE := libandroidfw_tests
@@ -65,7 +67,6 @@ LOCAL_CFLAGS += -Wno-unnamed-type-template-args
LOCAL_SRC_FILES := $(testFiles) \
BackupData_test.cpp \
ObbFile_test.cpp
-
LOCAL_SHARED_LIBRARIES := \
libandroidfw \
libcutils \
@@ -73,3 +74,5 @@ LOCAL_SHARED_LIBRARIES := \
libui \
include $(BUILD_NATIVE_TEST)
+endif # Not SDK_ONLY
+