f2fb47a4a0
Change-Id: I7441cf1b3d067969dad0ad3d57c27bb87a276189
27 lines
758 B
Makefile
27 lines
758 B
Makefile
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
|
|
|
|
# Set required flags
|
|
GNSS_CFLAGS := \
|
|
-Werror \
|
|
-Wno-error=unused-parameter \
|
|
-Wno-error=macro-redefined \
|
|
-Wno-error=reorder \
|
|
-Wno-error=missing-braces \
|
|
-Wno-error=self-assign \
|
|
-Wno-error=enum-conversion \
|
|
-Wno-error=logical-op-parentheses \
|
|
-Wno-error=null-arithmetic \
|
|
-Wno-error=null-conversion \
|
|
-Wno-error=parentheses-equality \
|
|
-Wno-error=undefined-bool-conversion \
|
|
-Wno-error=tautological-compare \
|
|
-Wno-error=switch \
|
|
-Wno-error=date-time
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
|
|
GNSS_SANITIZE := cfi bounds null unreachable integer
|
|
|
|
endif # ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
|