media_profiles: Add media profiles for time lapse recording
- Add media profiles to support time lapse recording with
all the supported resolutions.
- Add TARGET_ENABLE_QC_AV_ENHANCEMENTS flag to wrap target
specific media profiles
Change-Id: Ie060f6dfcf1372aebbf6c8e95a50fcd1e3ed90aa
CRs-Fixed: 493279
diff --git a/msm8226.mk b/msm8226.mk
index 594fa8e..5594474 100644
--- a/msm8226.mk
+++ b/msm8226.mk
@@ -1,5 +1,5 @@
# media_profiles and media_codecs xmls for 8226
-ifeq ($(TARGET_USES_QCOM_BSP), true)
+ifeq ($(TARGET_ENABLE_QC_AV_ENHANCEMENTS), true)
PRODUCT_COPY_FILES += device/qcom/msm8226/media/media_profiles_8226.xml:system/etc/media_profiles.xml \
device/qcom/msm8226/media/media_codecs_8226.xml:system/etc/media_codecs.xml
endif