summaryrefslogtreecommitdiff
authorxindong.xu <xindong.xu@amlogic.com>2018-03-15 11:11:28 (GMT)
committer Gerrit Code Review <gituser@droid04>2018-03-15 11:11:28 (GMT)
commit05652c0132a330e15aac2784ce373aeace4fcea0 (patch)
tree854f821c8cccd1f1b415faa196b9a8a9e8c51964
parent868d0eaa5444393f241fbe1d74af9045dd49e045 (diff)
parentaeb98148689b77ef36b437bd4306f6c95ebee0f1 (diff)
downloadcurie-05652c0132a330e15aac2784ce373aeace4fcea0.zip
curie-05652c0132a330e15aac2784ce373aeace4fcea0.tar.gz
curie-05652c0132a330e15aac2784ce373aeace4fcea0.tar.bz2
Merge "add load media_codecs_ext.xml" into o-amlogic
Diffstat
-rw-r--r--curie.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/curie.mk b/curie.mk
index f43fb28..4f30a5a 100644
--- a/curie.mk
+++ b/curie.mk
@@ -36,6 +36,30 @@ $(call inherit-product, device/amlogic/common/products/mbox/product_mbox.mk)
$(call inherit-product, device/amlogic/curie/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
+
# curie:
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3