am 0c7e5cda: Merge "libusbhost: Turn on -Werror"
* commit '0c7e5cdaebc96fb1aee8860303eaeab351acf4bc': libusbhost: Turn on -Werror
This commit is contained in:
commit
6b5f4c3413
1 changed files with 3 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := libusbhost
|
LOCAL_MODULE := libusbhost
|
||||||
LOCAL_SRC_FILES := usbhost.c
|
LOCAL_SRC_FILES := usbhost.c
|
||||||
|
LOCAL_CFLAGS := -Werror
|
||||||
|
|
||||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
|
@ -38,7 +39,7 @@ include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE := libusbhost
|
LOCAL_MODULE := libusbhost
|
||||||
LOCAL_SRC_FILES := usbhost.c
|
LOCAL_SRC_FILES := usbhost.c
|
||||||
|
|
||||||
LOCAL_CFLAGS := -g -DUSE_LIBLOG
|
LOCAL_CFLAGS := -g -DUSE_LIBLOG -Werror
|
||||||
|
|
||||||
# needed for logcat
|
# needed for logcat
|
||||||
LOCAL_SHARED_LIBRARIES := libcutils
|
LOCAL_SHARED_LIBRARIES := libcutils
|
||||||
|
|
@ -52,5 +53,6 @@ include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := libusbhost
|
LOCAL_MODULE := libusbhost
|
||||||
LOCAL_SRC_FILES := usbhost.c
|
LOCAL_SRC_FILES := usbhost.c
|
||||||
|
LOCAL_CFLAGS := -Werror
|
||||||
|
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue