1# HAL packages
2ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
3
4# GPS-HIDL
5LOC_BOARD_PLATFORM_LIST += msm8937
6LOC_BOARD_PLATFORM_LIST += msm8953
7LOC_BOARD_PLATFORM_LIST += msm8998
8LOC_BOARD_PLATFORM_LIST += apq8098_latv
9LOC_BOARD_PLATFORM_LIST += sdm710
10LOC_BOARD_PLATFORM_LIST += qcs605
11LOC_BOARD_PLATFORM_LIST += sdm845
12LOC_BOARD_PLATFORM_LIST += sdm660
13LOC_BOARD_PLATFORM_LIST += msmnile
14LOC_BOARD_PLATFORM_LIST += sdmshrike
15LOC_BOARD_PLATFORM_LIST += $(MSMSTEPPE)
16LOC_BOARD_PLATFORM_LIST += $(TRINKET)
17LOC_BOARD_PLATFORM_LIST += kona
18LOC_BOARD_PLATFORM_LIST += atoll
19LOC_BOARD_PLATFORM_LIST += lito
20LOC_BOARD_PLATFORM_LIST += bengal
21LOC_BOARD_PLATFORM_LIST += lahaina
22LOC_BOARD_PLATFORM_LIST += holi
23
24# Add product packages
25ifneq (,$(filter $(LOC_BOARD_PLATFORM_LIST),$(TARGET_BOARD_PLATFORM)))
26
27PRODUCT_PACKAGES += gps.conf
28PRODUCT_PACKAGES += flp.conf
29PRODUCT_PACKAGES += gnss_antenna_info.conf
30PRODUCT_PACKAGES += libloc_pla_headers
31PRODUCT_PACKAGES += liblocation_api_headers
32PRODUCT_PACKAGES += libgps.utils_headers
33PRODUCT_PACKAGES += liblocation_api
34PRODUCT_PACKAGES += libgps.utils
35PRODUCT_PACKAGES += libbatching
36PRODUCT_PACKAGES += libgeofencing
37PRODUCT_PACKAGES += libloc_core
38PRODUCT_PACKAGES += libgnss
39
40PRODUCT_PACKAGES += android.hardware.gnss@2.1-impl-qti
41PRODUCT_PACKAGES += android.hardware.gnss@2.1-service-qti
42
43endif # ifneq (,$(filter $(LOC_BOARD_PLATFORM_LIST),$(TARGET_BOARD_PLATFORM)))
44endif # ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
45