msm8974-common: gps: Suppress unused-parameter warnings

Bug: 26936282
Change-Id: I7fdf58d232a59c0ba0d5f52c0f958f6eab0c4514
This commit is contained in:
Aurimas Liutikas 2016-02-24 17:40:49 -08:00 committed by Kevin F. Haggerty
parent 0830f02f9e
commit 9f30bd7912
No known key found for this signature in database
GPG Key ID: 6D95512933112729
3 changed files with 8 additions and 4 deletions

View File

@ -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 \

View File

@ -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 \
@ -78,6 +79,7 @@ LOCAL_SRC_FILES += \
LOCAL_CFLAGS += \
-fno-short-enums \
-D_ANDROID_ \
-Wno-unused-parameter
## Includes
LOCAL_C_INCLUDES:= \

View File

@ -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