1ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) 2 3# Set required flags 4GNSS_CFLAGS := \ 5 -Werror \ 6 -Wno-error=unused-parameter \ 7 -Wno-error=macro-redefined \ 8 -Wno-error=reorder \ 9 -Wno-error=missing-braces \ 10 -Wno-error=self-assign \ 11 -Wno-error=enum-conversion \ 12 -Wno-error=logical-op-parentheses \ 13 -Wno-error=null-arithmetic \ 14 -Wno-error=null-conversion \ 15 -Wno-error=parentheses-equality \ 16 -Wno-error=undefined-bool-conversion \ 17 -Wno-error=tautological-compare \ 18 -Wno-error=switch \ 19 -Wno-error=date-time 20 21GNSS_HIDL_VERSION = 2.1 22 23GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8937 24GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8953 25GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8998 26GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += apq8098_latv 27GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm710 28GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += qcs605 29GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm845 30GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm660 31 32ifneq (,$(filter $(GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST),$(TARGET_BOARD_PLATFORM))) 33GNSS_HIDL_LEGACY_MEASURMENTS = true 34endif 35 36LOCAL_PATH := $(call my-dir) 37include $(call all-makefiles-under,$(LOCAL_PATH)) 38 39GNSS_SANITIZE_DIAG := cfi bounds null unreachable integer address 40 41endif # ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) 42