-
Notifications
You must be signed in to change notification settings - Fork 0
/
gps_vendor_product.mk
52 lines (43 loc) · 1.75 KB
/
gps_vendor_product.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# HAL packages
ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
PRODUCT_PACKAGES += gps.conf
PRODUCT_PACKAGES += batching.conf
PRODUCT_PACKAGES += gnss_antenna_info.conf
PRODUCT_PACKAGES += gnss@2.0-base.policy
PRODUCT_PACKAGES += gnss@2.0-xtra-daemon.policy
PRODUCT_PACKAGES += gnss@2.0-qsap-location.policy
PRODUCT_PACKAGES += gnss@2.0-xtwifi-client.policy
PRODUCT_PACKAGES += gnss@2.0-edgnss-daemon.policy
PRODUCT_PACKAGES += libloc_pla_headers
PRODUCT_PACKAGES += liblocation_api_headers
PRODUCT_PACKAGES += libgps.utils_headers
PRODUCT_PACKAGES += liblocation_api
PRODUCT_PACKAGES += libgps.utils
PRODUCT_PACKAGES += libbatching
PRODUCT_PACKAGES += libgeofencing
PRODUCT_PACKAGES += libloc_core
PRODUCT_PACKAGES += libgnss
ifeq ($(strip $(TARGET_BOARD_AUTO)),true)
PRODUCT_PACKAGES += libgnssauto_power
endif #TARGET_BOARD_AUTO
PRODUCT_PACKAGES += android.hardware.gnss-aidl-impl-qti
PRODUCT_PACKAGES += android.hardware.gnss-aidl-service-qti
## Feature flags - self contained FR in gps module
# Enable NHz location feature. Default is false.
# Set this flag to true to enable the NHz location feature.
FEATURE_LOCATION_NHZ := false
# Soong Namespace - Keys and values
# Enable/Disable NHz location feature
$(call soong_config_set, qtilocation, feature_nhz, false)
# Enable/disable location android automotive location features. Default is false.
$(call soong_config_set, qtilocation, feature_locauto, false)
ifeq ($(FEATURE_LOCATION_NHZ),true)
$(call soong_config_set, qtilocation, feature_nhz, true)
endif
ifeq ($(strip $(TARGET_BOARD_AUTO)),true)
$(call soong_config_set, qtilocation, feature_locauto, true)
endif #TARGET_BOARD_AUTO
endif # ifneq ($(BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE),)
ifeq ($(GPS_LOWI_ONLY_BUILD),true)
PRODUCT_PACKAGES += libgps.utils
endif