summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-08-28 23:15:07 +0200
committerTianjie Xu <xunchang@google.com>2017-08-29 06:56:33 +0200
commitc89d1e7e2a6a8a07bb336db35db88f5452d8a51d (patch)
treebb13d2572bc220a73808f455c5191e62e64c368a /Android.mk
parentMerge "wear_ui: Remove kMaxCols/kMaxRows/visible_text_rows/menu_headers_." (diff)
downloadandroid_bootable_recovery-c89d1e7e2a6a8a07bb336db35db88f5452d8a51d.tar
android_bootable_recovery-c89d1e7e2a6a8a07bb336db35db88f5452d8a51d.tar.gz
android_bootable_recovery-c89d1e7e2a6a8a07bb336db35db88f5452d8a51d.tar.bz2
android_bootable_recovery-c89d1e7e2a6a8a07bb336db35db88f5452d8a51d.tar.lz
android_bootable_recovery-c89d1e7e2a6a8a07bb336db35db88f5452d8a51d.tar.xz
android_bootable_recovery-c89d1e7e2a6a8a07bb336db35db88f5452d8a51d.tar.zst
android_bootable_recovery-c89d1e7e2a6a8a07bb336db35db88f5452d8a51d.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
index 776e6ea19..b8e5837ef 100644
--- a/Android.mk
+++ b/Android.mk
@@ -93,7 +93,7 @@ endif
endif
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
-LOCAL_CFLAGS += -Wno-unused-parameter -Werror
+LOCAL_CFLAGS += -Wall -Wno-unused-parameter -Werror
ifneq ($(TARGET_RECOVERY_UI_MARGIN_HEIGHT),)
LOCAL_CFLAGS += -DRECOVERY_UI_MARGIN_HEIGHT=$(TARGET_RECOVERY_UI_MARGIN_HEIGHT)
@@ -203,7 +203,7 @@ LOCAL_SRC_FILES := \
rotate_logs.cpp
LOCAL_MODULE := recovery-persist
LOCAL_SHARED_LIBRARIES := liblog libbase
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := -Wall -Werror
LOCAL_INIT_RC := recovery-persist.rc
include $(BUILD_EXECUTABLE)
@@ -215,7 +215,7 @@ LOCAL_SRC_FILES := \
rotate_logs.cpp
LOCAL_MODULE := recovery-refresh
LOCAL_SHARED_LIBRARIES := liblog libbase
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := -Wall -Werror
LOCAL_INIT_RC := recovery-refresh.rc
include $(BUILD_EXECUTABLE)
@@ -230,13 +230,14 @@ LOCAL_STATIC_LIBRARIES := \
libcrypto_utils \
libcrypto \
libbase
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := -Wall -Werror
include $(BUILD_STATIC_LIBRARY)
# Wear default device
# ===============================
include $(CLEAR_VARS)
LOCAL_SRC_FILES := wear_device.cpp
+LOCAL_CFLAGS := -Wall -Werror
# Should match TARGET_RECOVERY_UI_LIB in BoardConfig.mk.
LOCAL_MODULE := librecovery_ui_wear
@@ -248,6 +249,7 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := vr_device.cpp
+LOCAL_CFLAGS := -Wall -Werror
# should match TARGET_RECOVERY_UI_LIB set in BoardConfig.mk
LOCAL_MODULE := librecovery_ui_vr