forked from PixelExperience/hardware_qcom-caf_sm8150_media
-
Notifications
You must be signed in to change notification settings - Fork 0
/
product.mk
34 lines (24 loc) · 912 Bytes
/
product.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#MSM_VIDC_TARGET_LIST := msmnile
ifeq ($(call is-board-platform-in-list, $(QCOM_BOARD_PLATFORMS)),true)
#MM_CORE
MM_CORE := libmm-omxcore
MM_CORE += libOmxCore
PRODUCT_PACKAGES += $(MM_CORE)
endif
ifeq ($(call is-board-platform-in-list, $(MSM_VIDC_TARGET_LIST)), true)
MM_VIDEO := ExoplayerDemo
MM_VIDEO += libc2dcolorconvert
MM_VIDEO += libOmxSwVdec
MM_VIDEO += libOmxSwVencMpeg4
MM_VIDEO += libOmxVdec
MM_VIDEO += libOmxVenc
MM_VIDEO += libstagefrighthw
PRODUCT_PACKAGES += $(MM_VIDEO)
ifeq ($(call is-board-platform-in-list, msmnile $(MSMSTEPPE) atoll $(TRINKET)),true)
include hardware/qcom/media/conf_files/$(TARGET_BOARD_PLATFORM)/$(TARGET_BOARD_PLATFORM).mk
else ifeq ($(TARGET_BOARD_PLATFORM), sdmshrike)
include hardware/qcom/media/conf_files/msmnile/msmnile.mk
endif
endif
#Vendor property to enable Codec2 for audio and OMX for Video
PRODUCT_PROPERTY_OVERRIDES += debug.stagefright.ccodec=1