summaryrefslogtreecommitdiff
authoryang.xu <yang.xu@amlogic.com>2018-03-15 04:41:33 (GMT)
committer yang.xu <yang.xu@amlogic.com>2018-03-15 06:44:52 (GMT)
commit3c08ba6c3ab1fb0c136af85e1485ae26329e5889 (patch)
tree4bf0640c26d0f52a23649ec4702c159705e71e33
parent6201d668229c9230f22a27833b3a2f90c59e6f5f (diff)
downloadeinstein-3c08ba6c3ab1fb0c136af85e1485ae26329e5889.zip
einstein-3c08ba6c3ab1fb0c136af85e1485ae26329e5889.tar.gz
einstein-3c08ba6c3ab1fb0c136af85e1485ae26329e5889.tar.bz2
add load media_codecs_ext.xml
PD# 147395 i. add load media_codecs_ext.xml 2. open media ext Change-Id: I64f003cd8cea0627c5903f2499b5850c46cd3b86
Diffstat
-rw-r--r--einstein.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/einstein.mk b/einstein.mk
index 556ce6c..f14f313 100644
--- a/einstein.mk
+++ b/einstein.mk
@@ -35,6 +35,30 @@ $(call inherit-product, device/amlogic/common/products/tv/product_tv.mk)
$(call inherit-product, device/amlogic/einstein/device.mk)
$(call inherit-product-if-exists, vendor/google/products/gms.mk)
+TARGET_WITH_MEDIA_EXT_LEVEL := 3
+
+#########################################################################
+#
+# media ext
+#
+#########################################################################
+ifeq ($(TARGET_WITH_MEDIA_EXT_LEVEL), 1)
+ TARGET_WITH_MEDIA_EXT :=true
+ TARGET_WITH_SWCODEC_EXT :=true
+else
+ifeq ($(TARGET_WITH_MEDIA_EXT_LEVEL), 2)
+ TARGET_WITH_MEDIA_EXT :=true
+ TARGET_WITH_CODEC_EXT := true
+else
+ifeq ($(TARGET_WITH_MEDIA_EXT_LEVEL), 3)
+ TARGET_WITH_MEDIA_EXT :=true
+ TARGET_WITH_SWCODEC_EXT := true
+ TARGET_WITH_CODEC_EXT := true
+ TARGET_WITH_PLAYERS_EXT :=true
+endif
+endif
+endif
+
# einstein: