summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-19 14:58:52 -0700
committerChih-hung Hsieh <chh@google.com>2017-10-19 23:28:20 +0000
commit662c5b31f4197c7121945ec6a304729ac2e4124f (patch)
treeeed0c064abd6dde708be5713614415b72c5f8b1f /tests
parent4446f0cb437fea5e26b645990970afe7dc4f5085 (diff)
downloadlibufdt-662c5b31f4197c7121945ec6a304729ac2e4124f.tar.gz
DO NOT MERGE: Use -Werror in system/libufdt/tests/src.
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I3ca3875d1aab2e389959336be9500801e00b260d
Diffstat (limited to 'tests')
-rw-r--r--tests/src/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/src/Android.mk b/tests/src/Android.mk
index 12eb152..cc65321 100644
--- a/tests/src/Android.mk
+++ b/tests/src/Android.mk
@@ -20,6 +20,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := ufdt_gen_test_dts
LOCAL_SRC_FILES := ufdt_gen_test_dts.c
+LOCAL_CFLAGS := -Wall -Werror
include $(BUILD_HOST_EXECUTABLE)
@@ -34,6 +35,7 @@ LOCAL_STATIC_LIBRARIES := \
libfdt \
libufdt_sysdeps
LOCAL_REQUIRED_MODULES := dtc
+LOCAL_CFLAGS := -Wall -Werror
include $(BUILD_HOST_EXECUTABLE)
@@ -48,6 +50,7 @@ LOCAL_STATIC_LIBRARIES := \
libfdt \
libufdt_sysdeps
LOCAL_REQUIRED_MODULES := dtc
+LOCAL_CFLAGS := -Wall -Werror
include $(BUILD_EXECUTABLE)
@@ -69,6 +72,7 @@ include $(BUILD_HOST_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_MODULE := extract_dtb
+LOCAL_CFLAGS := -Wall -Werror
LOCAL_SRC_FILES := extract_dtb.c util.c
LOCAL_STATIC_LIBRARIES := \
libfdt \
@@ -87,6 +91,7 @@ LOCAL_STATIC_LIBRARIES := \
libfdt \
libufdt_sysdeps
LOCAL_REQUIRED_MODULES := dtc
+LOCAL_CFLAGS := -Wall -Werror
include $(BUILD_EXECUTABLE)