diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-10-11 13:52:41 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-10-12 11:30:59 -0700 |
commit | 9dc424f94941e8f7986ee4ed6fa0c8b32359f95b (patch) | |
tree | 6c6710102852c7a6028cddfb7d0a3048d457ff9c /f54test | |
parent | d45cae258a3d831cd035ccecb3daa763d26346df (diff) | |
download | rmi4utils-9dc424f94941e8f7986ee4ed6fa0c8b32359f95b.tar.gz |
Use -Werror in external/rmi4utils
* Suppress existing warnings.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I2ad78f07782ca824db01e23e1309bcde34420e8e
Diffstat (limited to 'f54test')
-rw-r--r-- | f54test/Android.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/f54test/Android.mk b/f54test/Android.mk index 56e23d0..81b4521 100644 --- a/f54test/Android.mk +++ b/f54test/Android.mk @@ -4,7 +4,11 @@ include $(CLEAR_VARS) LOCAL_MODULE := f54test LOCAL_C_INCLUDES := $(LOCAL_PATH)/../rmidevice LOCAL_SRC_FILES := main.cpp f54test.cpp testutil.cpp display.cpp -LOCAL_CPPFLAGS := -Wall +LOCAL_CFLAGS := \ + -Wall -Werror \ + -Wno-sometimes-uninitialized \ + -Wno-unused-parameter \ + LOCAL_STATIC_LIBRARIES := rmidevice include $(BUILD_EXECUTABLE) |