diff --git a/gps/core/Android.mk b/gps/core/Android.mk index 0bccba2..41883e8 100644 --- a/gps/core/Android.mk +++ b/gps/core/Android.mk @@ -23,7 +23,8 @@ LOCAL_SRC_FILES += \ LOCAL_CFLAGS += \ -fno-short-enums \ - -D_ANDROID_ + -D_ANDROID_ \ + -Wno-unused-parameter LOCAL_C_INCLUDES:= \ $(TARGET_OUT_HEADERS)/gps.utils \ diff --git a/gps/loc_api/libloc_api_50001/Android.mk b/gps/loc_api/libloc_api_50001/Android.mk index e44b5e6..69252f3 100644 --- a/gps/loc_api/libloc_api_50001/Android.mk +++ b/gps/loc_api/libloc_api_50001/Android.mk @@ -33,7 +33,8 @@ LOCAL_SRC_FILES += \ LOCAL_CFLAGS += \ -fno-short-enums \ - -D_ANDROID_ + -D_ANDROID_ \ + -Wno-unused-parameter LOCAL_C_INCLUDES:= \ $(TARGET_OUT_HEADERS)/gps.utils \ @@ -77,7 +78,8 @@ LOCAL_SRC_FILES += \ LOCAL_CFLAGS += \ -fno-short-enums \ - -D_ANDROID_ \ + -D_ANDROID_ \ + -Wno-unused-parameter ## Includes LOCAL_C_INCLUDES:= \ diff --git a/gps/utils/Android.mk b/gps/utils/Android.mk index 4ea6808..a77e26e 100644 --- a/gps/utils/Android.mk +++ b/gps/utils/Android.mk @@ -24,7 +24,8 @@ LOCAL_SRC_FILES += \ # Flag -std=c++11 is not accepted by compiler when LOCAL_CLANG is set to true LOCAL_CFLAGS += \ -fno-short-enums \ - -D_ANDROID_ + -D_ANDROID_ \ + -Wno-unused-parameter ifeq ($(TARGET_BUILD_VARIANT),user) LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER