diff options
author | Tianjie Xu <xunchang@google.com> | 2017-08-29 19:21:09 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-08-29 19:21:09 +0200 |
commit | 11f68b6b691425eb001a073ff56d8b448a564d8a (patch) | |
tree | 97d6d0bcebdc2947739b3a0e1144eab50899c4bd /applypatch/Android.mk | |
parent | Merge "Add libasyncio." (diff) | |
parent | Turn on -Wall for recovery modules (diff) | |
download | android_bootable_recovery-11f68b6b691425eb001a073ff56d8b448a564d8a.tar android_bootable_recovery-11f68b6b691425eb001a073ff56d8b448a564d8a.tar.gz android_bootable_recovery-11f68b6b691425eb001a073ff56d8b448a564d8a.tar.bz2 android_bootable_recovery-11f68b6b691425eb001a073ff56d8b448a564d8a.tar.lz android_bootable_recovery-11f68b6b691425eb001a073ff56d8b448a564d8a.tar.xz android_bootable_recovery-11f68b6b691425eb001a073ff56d8b448a564d8a.tar.zst android_bootable_recovery-11f68b6b691425eb001a073ff56d8b448a564d8a.zip |
Diffstat (limited to '')
-rw-r--r-- | applypatch/Android.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/applypatch/Android.mk b/applypatch/Android.mk index e38207c22..59aa0ce6c 100644 --- a/applypatch/Android.mk +++ b/applypatch/Android.mk @@ -37,6 +37,7 @@ LOCAL_STATIC_LIBRARIES := \ libz LOCAL_CFLAGS := \ -DZLIB_CONST \ + -Wall \ -Werror include $(BUILD_STATIC_LIBRARY) @@ -59,6 +60,7 @@ LOCAL_STATIC_LIBRARIES := \ libz LOCAL_CFLAGS := \ -DZLIB_CONST \ + -Wall \ -Werror include $(BUILD_STATIC_LIBRARY) @@ -82,6 +84,7 @@ LOCAL_STATIC_LIBRARIES := \ libz LOCAL_CFLAGS := \ -DZLIB_CONST \ + -Wall \ -Werror include $(BUILD_HOST_STATIC_LIBRARY) @@ -97,7 +100,7 @@ LOCAL_STATIC_LIBRARIES := \ libbase \ libedify \ libcrypto -LOCAL_CFLAGS := -Werror +LOCAL_CFLAGS := -Wall -Werror include $(BUILD_STATIC_LIBRARY) # applypatch (target executable) @@ -119,13 +122,14 @@ LOCAL_SHARED_LIBRARIES := \ libbase \ libz \ libcutils -LOCAL_CFLAGS := -Werror +LOCAL_CFLAGS := -Wall -Werror include $(BUILD_EXECUTABLE) libimgdiff_src_files := imgdiff.cpp # libbsdiff is compiled with -D_FILE_OFFSET_BITS=64. libimgdiff_cflags := \ + -Wall \ -Werror \ -D_FILE_OFFSET_BITS=64 \ -DZLIB_CONST @@ -177,7 +181,7 @@ include $(BUILD_HOST_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_SRC_FILES := imgdiff_main.cpp LOCAL_MODULE := imgdiff -LOCAL_CFLAGS := -Werror +LOCAL_CFLAGS := -Wall -Werror LOCAL_STATIC_LIBRARIES := \ libimgdiff \ $(libimgdiff_static_libraries) \ |