summaryrefslogtreecommitdiff
path: root/loc_api
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-01-02 10:04:27 -0800
committerChih-Hung Hsieh <chh@google.com>2018-01-04 12:10:18 -0800
commit8dd51a02131983768f5c9e416e34c28d1ae6dcbc (patch)
tree80e614d023d3a391b003c2cb84be171b348f8df1 /loc_api
parentaf30cfd60e5a4a980522c2f1c94b4f9235cc82ca (diff)
downloadgps-8dd51a02131983768f5c9e416e34c28d1ae6dcbc.tar.gz
Add -Wno-error to compile with global -Werror.
Bug: 66996870 Test: normal builds. Change-Id: I778435f9370080a95a0dfdaa88fb07d7902874c5
Diffstat (limited to 'loc_api')
-rw-r--r--loc_api/libloc_api_50001/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/loc_api/libloc_api_50001/Android.mk b/loc_api/libloc_api_50001/Android.mk
index 74d5423..0ebf6bb 100644
--- a/loc_api/libloc_api_50001/Android.mk
+++ b/loc_api/libloc_api_50001/Android.mk
@@ -37,7 +37,8 @@ LOCAL_SRC_FILES += \
LOCAL_CFLAGS += \
-fno-short-enums \
-D_ANDROID_ \
- -Wno-unused-parameter
+ -Wno-unused-parameter \
+ -Wno-error \
LOCAL_C_INCLUDES:= \
$(TARGET_OUT_HEADERS)/gps.utils \
@@ -86,6 +87,7 @@ LOCAL_SRC_FILES += \
LOCAL_CFLAGS += \
-fno-short-enums \
-D_ANDROID_ \
+ -Wno-error \
ifeq ($(TARGET_USES_QCOM_BSP), true)
LOCAL_CFLAGS += -DTARGET_USES_QCOM_BSP