diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-05-15 15:16:47 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-05-21 12:58:38 -0700 |
commit | 03b876953a0dffa2c1704e9ff46835161f34ab79 (patch) | |
tree | f9b3c6e39088e27ddfc86ba63635aaf5af291619 /libusbhost | |
parent | 6e60d390d06886c7744f1543bf0431046f0879ee (diff) | |
download | core-03b876953a0dffa2c1704e9ff46835161f34ab79.tar.gz core-03b876953a0dffa2c1704e9ff46835161f34ab79.tar.bz2 core-03b876953a0dffa2c1704e9ff46835161f34ab79.zip |
libusbhost: Turn on -Werror
Change-Id: Ia765b56197c28d6cde633db9c429001993f75f17
Diffstat (limited to 'libusbhost')
-rw-r--r-- | libusbhost/Android.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libusbhost/Android.mk b/libusbhost/Android.mk index acfc020fc..5c12f2c77 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) |