Revert "Revert "Build GPS HAL""

This reverts commit 1d644222da.
This commit is contained in:
Thierry Strudel
2016-12-28 15:36:19 -08:00
parent 570ce3ac12
commit 64c094d6fd
2 changed files with 12 additions and 0 deletions

View File

@@ -71,6 +71,8 @@ TARGET_USES_ION := true
# GPS
TARGET_NO_RPC := true
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := default
BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET := true
# Sensors
USE_SENSOR_MULTI_HAL := true

View File

@@ -72,6 +72,7 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml \
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:system/etc/permissions/android.hardware.sensor.stepdetector.xml \
frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:system/etc/permissions/android.hardware.sensor.hifi_sensors.xml \
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
@@ -178,6 +179,15 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/sec_config:system/etc/sec_config
PRODUCT_PACKAGES += \
gps.conf \
gps.default \
libgps.utils \
libloc_eng \
libloc_api_v02 \
libloc_ds_api \
libgnsspps
HOSTAPD := hostapd
HOSTAPD += hostapd_cli
PRODUCT_PACKAGES += $(HOSTAPD)