diff options
author | Tianjie Xu <xunchang@google.com> | 2016-09-30 22:27:53 +0200 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2016-09-30 22:27:53 +0200 |
commit | 209e5acf4a68faf4afcb19ddb6c20336a939e863 (patch) | |
tree | ed0fa36534423e5fa55c22afa38248bd1dd303c1 /tests | |
parent | Merge "Turn on -Werror for recovery" am: 695ef7cacc am: 5269808bb0 (diff) | |
parent | Turn on -Werror for recovery (diff) | |
download | android_bootable_recovery-209e5acf4a68faf4afcb19ddb6c20336a939e863.tar android_bootable_recovery-209e5acf4a68faf4afcb19ddb6c20336a939e863.tar.gz android_bootable_recovery-209e5acf4a68faf4afcb19ddb6c20336a939e863.tar.bz2 android_bootable_recovery-209e5acf4a68faf4afcb19ddb6c20336a939e863.tar.lz android_bootable_recovery-209e5acf4a68faf4afcb19ddb6c20336a939e863.tar.xz android_bootable_recovery-209e5acf4a68faf4afcb19ddb6c20336a939e863.tar.zst android_bootable_recovery-209e5acf4a68faf4afcb19ddb6c20336a939e863.zip |
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Android.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Android.mk b/tests/Android.mk index 633b3c451..0754c7acf 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -19,6 +19,7 @@ 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 LOCAL_STATIC_LIBRARIES := \ @@ -35,7 +36,7 @@ include $(BUILD_NATIVE_TEST) # Component tests include $(CLEAR_VARS) LOCAL_CLANG := true -LOCAL_CFLAGS += -Wno-unused-parameter +LOCAL_CFLAGS += -Wno-unused-parameter -Werror LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_MODULE := recovery_component_test LOCAL_C_INCLUDES := bootable/recovery |