android_device_lenovo_msm89.../product/sensors.mk
Luca Stefani 0ca8f1797e msm8937-common: Build Sensors HIDL multiHAL
* Drop legacy HAL as no longer needed afterwards

Change-Id: I42e8890f33f925b16c55169766acfef02034a0c5
2018-06-29 00:02:59 +08:00

19 lines
1.3 KiB
Makefile

# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \
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/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors@1.0-impl \
sensors.msm8937
PRODUCT_COPY_FILES += \
$(VENDOR_PATH)/configs/sensors/hals.conf:system/etc/sensors/hals.conf \
$(VENDOR_PATH)/configs/sensors/sensor_def_qcomdev.conf:system/etc/sensors/sensor_def_qcomdev.conf