msm8974-common: gps: Suppress unused-parameter warnings
Bug: 26936282 Change-Id: I7fdf58d232a59c0ba0d5f52c0f958f6eab0c4514
This commit is contained in:
parent
0830f02f9e
commit
9f30bd7912
@ -23,7 +23,8 @@ LOCAL_SRC_FILES += \
|
|||||||
|
|
||||||
LOCAL_CFLAGS += \
|
LOCAL_CFLAGS += \
|
||||||
-fno-short-enums \
|
-fno-short-enums \
|
||||||
-D_ANDROID_
|
-D_ANDROID_ \
|
||||||
|
-Wno-unused-parameter
|
||||||
|
|
||||||
LOCAL_C_INCLUDES:= \
|
LOCAL_C_INCLUDES:= \
|
||||||
$(TARGET_OUT_HEADERS)/gps.utils \
|
$(TARGET_OUT_HEADERS)/gps.utils \
|
||||||
|
@ -33,7 +33,8 @@ LOCAL_SRC_FILES += \
|
|||||||
|
|
||||||
LOCAL_CFLAGS += \
|
LOCAL_CFLAGS += \
|
||||||
-fno-short-enums \
|
-fno-short-enums \
|
||||||
-D_ANDROID_
|
-D_ANDROID_ \
|
||||||
|
-Wno-unused-parameter
|
||||||
|
|
||||||
LOCAL_C_INCLUDES:= \
|
LOCAL_C_INCLUDES:= \
|
||||||
$(TARGET_OUT_HEADERS)/gps.utils \
|
$(TARGET_OUT_HEADERS)/gps.utils \
|
||||||
@ -77,7 +78,8 @@ LOCAL_SRC_FILES += \
|
|||||||
|
|
||||||
LOCAL_CFLAGS += \
|
LOCAL_CFLAGS += \
|
||||||
-fno-short-enums \
|
-fno-short-enums \
|
||||||
-D_ANDROID_ \
|
-D_ANDROID_ \
|
||||||
|
-Wno-unused-parameter
|
||||||
|
|
||||||
## Includes
|
## Includes
|
||||||
LOCAL_C_INCLUDES:= \
|
LOCAL_C_INCLUDES:= \
|
||||||
|
@ -24,7 +24,8 @@ LOCAL_SRC_FILES += \
|
|||||||
# Flag -std=c++11 is not accepted by compiler when LOCAL_CLANG is set to true
|
# Flag -std=c++11 is not accepted by compiler when LOCAL_CLANG is set to true
|
||||||
LOCAL_CFLAGS += \
|
LOCAL_CFLAGS += \
|
||||||
-fno-short-enums \
|
-fno-short-enums \
|
||||||
-D_ANDROID_
|
-D_ANDROID_ \
|
||||||
|
-Wno-unused-parameter
|
||||||
|
|
||||||
ifeq ($(TARGET_BUILD_VARIANT),user)
|
ifeq ($(TARGET_BUILD_VARIANT),user)
|
||||||
LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER
|
LOCAL_CFLAGS += -DTARGET_BUILD_VARIANT_USER
|
||||||
|
Loading…
Reference in New Issue
Block a user