aboutsummaryrefslogtreecommitdiff
path: root/rmihidtool
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-11 13:52:41 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-12 11:30:59 -0700
commit9dc424f94941e8f7986ee4ed6fa0c8b32359f95b (patch)
tree6c6710102852c7a6028cddfb7d0a3048d457ff9c /rmihidtool
parentd45cae258a3d831cd035ccecb3daa763d26346df (diff)
downloadrmi4utils-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 'rmihidtool')
-rw-r--r--rmihidtool/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/rmihidtool/Android.mk b/rmihidtool/Android.mk
index 28abf10..59a1e4e 100644
--- a/rmihidtool/Android.mk
+++ b/rmihidtool/Android.mk
@@ -4,7 +4,10 @@ include $(CLEAR_VARS)
LOCAL_MODULE := rmihidtool
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../rmidevice
LOCAL_SRC_FILES := main.cpp
-LOCAL_CPPFLAGS := -Wall
+LOCAL_CFLAGS := \
+ -Wall -Werror \
+ -Wno-unused-parameter \
+
LOCAL_STATIC_LIBRARIES := rmidevice
include $(BUILD_EXECUTABLE)