Michael Bestas | 58e7cab | 2023-05-12 04:05:32 +0300 | [diff] [blame] | 1 | ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) |
Saurabh Srivastava | ee2fe52 | 2019-12-18 14:26:29 +0530 | [diff] [blame] | 2 | |
| 3 | # Set required flags |
| 4 | GNSS_CFLAGS := \ |
| 5 | -Werror \ |
| 6 | -Wno-undefined-bool-conversion |
| 7 | |
| 8 | GNSS_HIDL_VERSION = 2.0 |
| 9 | |
| 10 | GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8937 |
| 11 | GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8953 |
| 12 | GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += msm8998 |
| 13 | GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += apq8098_latv |
| 14 | GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm710 |
| 15 | GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += qcs605 |
| 16 | GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm845 |
| 17 | GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST += sdm660 |
| 18 | |
| 19 | ifneq (,$(filter $(GNSS_HIDL_LEGACY_MEASURMENTS_TARGET_LIST),$(TARGET_BOARD_PLATFORM))) |
| 20 | GNSS_HIDL_LEGACY_MEASURMENTS = true |
Michael Bestas | 58e7cab | 2023-05-12 04:05:32 +0300 | [diff] [blame] | 21 | endif |
Saurabh Srivastava | ee2fe52 | 2019-12-18 14:26:29 +0530 | [diff] [blame] | 22 | |
| 23 | LOCAL_PATH := $(call my-dir) |
| 24 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
| 25 | |
| 26 | endif # ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),) |