summaryrefslogtreecommitdiffstats
path: root/tests/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-04 18:52:13 +0100
committerTao Bao <tbao@google.com>2016-11-07 22:00:38 +0100
commitc3292f3fcbb3cd608cc19b7459751fa5bb64ab84 (patch)
tree18816aa32af60db69228d2630152383d2984e39f /tests/Android.mk
parentMerge "tests: Fix unit/zip_test.cpp." (diff)
downloadandroid_bootable_recovery-c3292f3fcbb3cd608cc19b7459751fa5bb64ab84.tar
android_bootable_recovery-c3292f3fcbb3cd608cc19b7459751fa5bb64ab84.tar.gz
android_bootable_recovery-c3292f3fcbb3cd608cc19b7459751fa5bb64ab84.tar.bz2
android_bootable_recovery-c3292f3fcbb3cd608cc19b7459751fa5bb64ab84.tar.lz
android_bootable_recovery-c3292f3fcbb3cd608cc19b7459751fa5bb64ab84.tar.xz
android_bootable_recovery-c3292f3fcbb3cd608cc19b7459751fa5bb64ab84.tar.zst
android_bootable_recovery-c3292f3fcbb3cd608cc19b7459751fa5bb64ab84.zip
Diffstat (limited to 'tests/Android.mk')
-rw-r--r--tests/Android.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index 8f19992b6..86591f71d 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -18,7 +18,6 @@ LOCAL_PATH := $(call my-dir)
# Unit tests
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_CFLAGS := -Werror
LOCAL_MODULE := recovery_unit_test
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
@@ -32,17 +31,19 @@ LOCAL_STATIC_LIBRARIES := \
libselinux \
libbase
-LOCAL_SRC_FILES := unit/asn1_decoder_test.cpp
-LOCAL_SRC_FILES += unit/recovery_test.cpp
-LOCAL_SRC_FILES += unit/locale_test.cpp
-LOCAL_SRC_FILES += unit/zip_test.cpp
+LOCAL_SRC_FILES := \
+ unit/asn1_decoder_test.cpp \
+ unit/locale_test.cpp \
+ unit/recovery_test.cpp \
+ unit/sysutil_test.cpp \
+ unit/zip_test.cpp
+
LOCAL_C_INCLUDES := bootable/recovery
LOCAL_SHARED_LIBRARIES := liblog
include $(BUILD_NATIVE_TEST)
# Component tests
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_CFLAGS := -Werror
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_MODULE := recovery_component_test