summaryrefslogtreecommitdiffstats
path: root/libusbhost
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-22 19:21:07 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-22 19:21:07 +0000
commit4c61e3673133b4e29449685e0460cce84005f9c9 (patch)
treea34ca804c4d5776ed1599c4505638ab759623b8e /libusbhost
parentc5e01d8616a0155349fb52fcb732c70e74aec79a (diff)
parent5cdb3f92c3f307d3d348a5a7247d052af6804740 (diff)
downloadsystem_core-4c61e3673133b4e29449685e0460cce84005f9c9.zip
system_core-4c61e3673133b4e29449685e0460cce84005f9c9.tar.gz
system_core-4c61e3673133b4e29449685e0460cce84005f9c9.tar.bz2
am 5cdb3f92: am 6b5f4c34: am 0c7e5cda: Merge "libusbhost: Turn on -Werror"
* commit '5cdb3f92c3f307d3d348a5a7247d052af6804740': libusbhost: Turn on -Werror
Diffstat (limited to 'libusbhost')
-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)