2018-01-08 22:24:55 -05:00
|
|
|
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
|
2018-09-09 23:14:31 -04:00
|
|
|
|
2019-03-17 22:46:34 -04:00
|
|
|
LOCAL_SANITIZE := signed-integer-overflow, unsigned-integer-overflow
|
|
|
|
|
2018-09-09 23:14:31 -04:00
|
|
|
# GPS-HIDL
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST := msm8960
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += msm8974
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += msm8226
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += msm8610
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += apq8084
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += msm8916
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += msm8994
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += msm8909
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += msm8952
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += msm8992
|
|
|
|
GNSS_HIDL_1_0_TARGET_LIST += msm8996
|
2019-03-20 16:53:08 -04:00
|
|
|
GNSS_HIDL_2_0_TARGET_LIST := msm8937
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += msm8953
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += msm8998
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += apq8098_latv
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += sdm710
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += qcs605
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += sdm845
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += sdm660
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += msmnile
|
2019-09-16 19:15:40 -04:00
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += sdmshrike
|
2019-03-20 16:53:08 -04:00
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += $(MSMSTEPPE)
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += $(TRINKET)
|
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += kona
|
2019-04-22 05:01:47 -04:00
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += atoll
|
2019-04-22 13:15:43 -04:00
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += lito
|
2019-07-19 14:43:28 -04:00
|
|
|
GNSS_HIDL_2_0_TARGET_LIST += bengal
|
2018-09-09 23:14:31 -04:00
|
|
|
|
2019-01-14 03:27:35 -05:00
|
|
|
ifneq (,$(filter $(GNSS_HIDL_2_0_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
|
|
|
|
GNSS_HIDL_VERSION = 2.0
|
|
|
|
endif
|
2018-09-09 23:14:31 -04:00
|
|
|
ifneq (,$(filter $(GNSS_HIDL_1_0_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
|
|
|
|
GNSS_HIDL_VERSION = 1.0
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter $(GNSS_HIDL_1_1_TARGET_LIST),$(TARGET_BOARD_PLATFORM)))
|
|
|
|
GNSS_HIDL_VERSION = 1.1
|
|
|
|
endif
|
2019-03-20 16:53:08 -04:00
|
|
|
|
|
|
|
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
|