CHERRY-PICK: Add lights hal to image.
The lights hal is not being used for the msm8916. Add it to the soc.mk file.
BUG=26744898
TEST=lights hal is present in system/lib/hw
Change-Id: I064ec706e84e1a62a7798c96999615bb2b2ae9ba
(cherry picked from commit 3a8bc2da7f9ba01d054a8600a449c46b76f7426d)
diff --git a/soc/msm8916/soc.mk b/soc/msm8916/soc.mk
index e960367..da282e9 100644
--- a/soc/msm8916/soc.mk
+++ b/soc/msm8916/soc.mk
@@ -35,9 +35,9 @@
BOARD_FLASH_BLOCK_SIZE := 131072
PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/init.msm8916.rc:root/init.msm8916.rc \
- system/core/rootdir/init.usb.rc:root/init.usb.rc \
- system/core/rootdir/ueventd.rc:root/ueventd.rc \
+ $(LOCAL_PATH)/init.msm8916.rc:root/init.msm8916.rc \
+ system/core/rootdir/init.usb.rc:root/init.usb.rc \
+ system/core/rootdir/ueventd.rc:root/ueventd.rc \
# TODO: Move common/prebuilts/sepolicy include to audio_prebuilts.mk
BOARD_SEPOLICY_DIRS += \
@@ -77,12 +77,16 @@
DEVICE_PACKAGES += \
audio.primary.msm8916
+# Include Qualcomm Lights HAL implementation.
+DEVICE_PACKAGES += \
+ lights.msm8916 \
+
# Install DragonBoard-specific audio policy, audio effects config, media codecs and mixer path files.
PRODUCT_COPY_FILES += \
- hardware/bsp/qcom/soc/msm8916/audio-config/audio_policy.conf:system/etc/audio_policy.conf \
- hardware/bsp/qcom/soc/msm8916/audio-config/audio_effects.conf:system/etc/audio_effects.conf \
- hardware/bsp/qcom/soc/msm8916/audio-config/mixer_paths_sbc.xml:system/etc/mixer_paths_sbc.xml \
- hardware/bsp/qcom/soc/msm8916/audio-config/media_codecs_8916.xml:system/etc/media_codecs.xml
+ hardware/bsp/qcom/soc/msm8916/audio-config/audio_policy.conf:system/etc/audio_policy.conf \
+ hardware/bsp/qcom/soc/msm8916/audio-config/audio_effects.conf:system/etc/audio_effects.conf \
+ hardware/bsp/qcom/soc/msm8916/audio-config/mixer_paths_sbc.xml:system/etc/mixer_paths_sbc.xml \
+ hardware/bsp/qcom/soc/msm8916/audio-config/media_codecs_8916.xml:system/etc/media_codecs.xml
# Include prebuilts to detect audio devices.
PRODUCT_COPY_FILES += \