Initial changes for Sensor Bringup [2/2]

* Add sensor HIDL implementation and service.
* Add sensor config file and permission files.
* Add auto bringhtness overlay configs.
* The following sensors are included for now:
    * Accelerometer
    * Compass
    * Gyroscope
    * Light
    * Proximity
    * Stepcounter
    * Stepdetector
* Barometer is removed as there is no hardware support.

Issue: FP3-A11#230
Change-Id: Id4c1954257fca6d631272821dea8f79ec58c601a
diff --git a/device.mk b/device.mk
index 1148ad7..0169d98 100644
--- a/device.mk
+++ b/device.mk
@@ -492,6 +492,28 @@
 	vendor.qti.hardware.servicetracker@1.2.vendor
 
 
+# Sensors
+PRODUCT_PACKAGES += \
+	sensors.FP3 \
+	android.hardware.sensors@1.0-impl \
+	android.hardware.sensors@1.0-service \
+	libsensorndkbridge
+
+# Sensor HAL conf file
+PRODUCT_COPY_FILES += \
+	$(FP_PATH)/configs/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
+
+# Feature definition files for msm8953
+PRODUCT_COPY_FILES += \
+	frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
+	frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
+	frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
+	frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
+	frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
+	frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
+	frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.xml
+
+
 # Telephony Permissions