summaryrefslogtreecommitdiffstats
path: root/otafault/Android.mk
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-04-07 08:54:03 +0200
committerTianjie Xu <xunchang@google.com>2017-04-11 01:21:09 +0200
commit4bb11c745bda05506875193306111baf3198d24e (patch)
treebc4f41af0c33a6a3d9b34a476765acc4c5ab5552 /otafault/Android.mk
parentMerge "Abort the update if there's not enough new data" (diff)
downloadandroid_bootable_recovery-4bb11c745bda05506875193306111baf3198d24e.tar
android_bootable_recovery-4bb11c745bda05506875193306111baf3198d24e.tar.gz
android_bootable_recovery-4bb11c745bda05506875193306111baf3198d24e.tar.bz2
android_bootable_recovery-4bb11c745bda05506875193306111baf3198d24e.tar.lz
android_bootable_recovery-4bb11c745bda05506875193306111baf3198d24e.tar.xz
android_bootable_recovery-4bb11c745bda05506875193306111baf3198d24e.tar.zst
android_bootable_recovery-4bb11c745bda05506875193306111baf3198d24e.zip
Diffstat (limited to '')
-rw-r--r--otafault/Android.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/otafault/Android.mk b/otafault/Android.mk
index 71c2c62f6..ec4cdb365 100644
--- a/otafault/Android.mk
+++ b/otafault/Android.mk
@@ -23,7 +23,12 @@ otafault_static_libs := \
libbase \
liblog
-LOCAL_CFLAGS := -Werror
+LOCAL_CFLAGS := \
+ -Werror \
+ -Wthread-safety \
+ -Wthread-safety-negative \
+ -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS
+
LOCAL_SRC_FILES := config.cpp ota_io.cpp
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := libotafault