summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHemant Sharma <hemantbeast@gmail.com>2017-10-10 23:20:05 +0530
committerHemant Sharma <hemantbeast@gmail.com>2018-01-10 18:58:31 +0530
commit4e038ce2c1810f31ca581f6047a922bd0c05f64b (patch)
tree15ac3bb4c5e2958cb6b00de671be3870c12dbd9e
parent715c96cb885d67d6b46ff39a7956ac9869681b14 (diff)
armani: Build our MultiHAL sensors HAL
Change-Id: Idd16175b8246bbdcd373db3bb27121483cb12009
-rw-r--r--configs/sensors/_hals.conf1
-rw-r--r--device.mk4
-rw-r--r--proprietary-files.txt2
3 files changed, 6 insertions, 1 deletions
diff --git a/configs/sensors/_hals.conf b/configs/sensors/_hals.conf
new file mode 100644
index 0000000..abecd12
--- /dev/null
+++ b/configs/sensors/_hals.conf
@@ -0,0 +1 @@
+sensors.armani.so
diff --git a/device.mk b/device.mk
index a489571..b0b41a0 100644
--- a/device.mk
+++ b/device.mk
@@ -199,8 +199,12 @@ PRODUCT_COPY_FILES += \
# Sensors
PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/configs/sensors/_hals.conf:system/vendor/etc/sensors/_hals.conf \
$(LOCAL_PATH)/configs/sensor_def_qcomdev.conf:system/etc/sensor_def_qcomdev.conf
+PRODUCT_PACKAGES += \
+ sensors.msm8226
+
# Storage
PRODUCT_PROPERTY_OVERRIDES += \
ro.sys.sdcardfs=false
diff --git a/proprietary-files.txt b/proprietary-files.txt
index ff7555d..f4067a0 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -204,7 +204,7 @@ vendor/lib/libxml.so
# Sensors
bin/sensors.qcom:vendor/bin/sensors.qcom
-vendor/lib/hw/sensors.msm8226.so
+vendor/lib/hw/sensors.msm8226.so:vendor/lib/hw/sensors.armani.so
vendor/lib/libAKM8963.so
vendor/lib/libsensor1.so
vendor/lib/libsensor_reg.so