summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-15 15:16:47 -0700
committerMark Salyzyn <salyzyn@google.com>2014-05-21 12:58:38 -0700
commit03b876953a0dffa2c1704e9ff46835161f34ab79 (patch)
treef9b3c6e39088e27ddfc86ba63635aaf5af291619
parent6e60d390d06886c7744f1543bf0431046f0879ee (diff)
downloadsystem_core-03b876953a0dffa2c1704e9ff46835161f34ab79.zip
system_core-03b876953a0dffa2c1704e9ff46835161f34ab79.tar.gz
system_core-03b876953a0dffa2c1704e9ff46835161f34ab79.tar.bz2
libusbhost: Turn on -Werror
Change-Id: Ia765b56197c28d6cde633db9c429001993f75f17
-rw-r--r--libusbhost/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/libusbhost/Android.mk b/libusbhost/Android.mk
index acfc020..5c12f2c 100644
--- a/libusbhost/Android.mk
+++ b/libusbhost/Android.mk
@@ -25,6 +25,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libusbhost
LOCAL_SRC_FILES := usbhost.c
+LOCAL_CFLAGS := -Werror
include $(BUILD_HOST_STATIC_LIBRARY)
@@ -38,7 +39,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libusbhost
LOCAL_SRC_FILES := usbhost.c
-LOCAL_CFLAGS := -g -DUSE_LIBLOG
+LOCAL_CFLAGS := -g -DUSE_LIBLOG -Werror
# needed for logcat
LOCAL_SHARED_LIBRARIES := libcutils
@@ -52,5 +53,6 @@ include $(CLEAR_VARS)
LOCAL_MODULE := libusbhost
LOCAL_SRC_FILES := usbhost.c
+LOCAL_CFLAGS := -Werror
include $(BUILD_STATIC_LIBRARY)