Build GPS HAL

Change-Id: I7d9aaa793406c927d172001c9b4a65bbe918dd74
This commit is contained in:
Thierry Strudel
2016-10-07 18:35:26 -07:00
parent 498fcca691
commit 972168985d
2 changed files with 12 additions and 0 deletions

View File

@@ -66,6 +66,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

@@ -71,6 +71,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 \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init.power.sh:system/bin/init.power.sh \
@@ -104,5 +105,14 @@ 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
# setup dalvik vm configs
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)