a82c5a3af1
Almost all warnings/errors have been fixed. Ignore undefined bool conversion error on purpose. Change-Id: I00cb5f38711fa9f873da030fc6a0ebc6cde3ceeb
29 lines
920 B
Makefile
29 lines
920 B
Makefile
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
|
|
|
|
# Set required flags
|
|
GNSS_CFLAGS := \
|
|
-Werror \
|
|
-Wno-undefined-bool-conversion
|
|
|
|
GNSS_HIDL_VERSION = 2.1
|
|
|
|
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8937
|
|
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8953
|
|
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8998
|
|
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += apq8098_latv
|
|
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm710
|
|
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += qcs605
|
|
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm845
|
|
GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm660
|
|
|
|
ifneq (,$(filter $(GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
|
|
GNSS_HIDL_LEGACY_MEASURMENTS = true
|
|
endif
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
|
|
GNSS_SANITIZE_DIAG := cfi bounds null unreachable integer address
|
|
|
|
endif # ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
|