-
Notifications
You must be signed in to change notification settings - Fork 8
/
Android.mk
77 lines (63 loc) · 2.34 KB
/
Android.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_SLSI_VARIANT),cm)
include $(CLEAR_VARS)
BOARD_USE_ANDROID := true
# Set to false to use Android's OMX header files
BOARD_USE_KHRONOS_OMX_HEADER := false
ifeq ($(BOARD_USE_ANDROID), true)
BOARD_USE_ANB := true
BOARD_USE_ANDROIDOPAQUE := true
ANDROID_MEDIA_INC := $(TOP)/frameworks/native/include/media
else
BOARD_USE_METADATABUFFERTYPE := false
BOARD_USE_KHRONOS_OMX_HEADER := true
endif
EXYNOS_OMX_TOP := $(LOCAL_PATH)
EXYNOS_OMX_INC := $(EXYNOS_OMX_TOP)/include
EXYNOS_OMX_COMPONENT := $(EXYNOS_OMX_TOP)/component
EXYNOS_VIDEO_CODEC := \
hardware/samsung_slsi-cm/exynos/libvideocodec
ifeq ($(BOARD_USE_ALP_AUDIO), true)
ifeq ($(BOARD_USE_SEIREN_AUDIO), true)
EXYNOS_AUDIO_CODEC += \
hardware/samsung_slsi-cm/exynos/libseiren
else
EXYNOS_AUDIO_CODEC += \
hardware/samsung_slsi-cm/exynos/libsrp
endif
endif
include $(EXYNOS_OMX_TOP)/osal/Android.mk
include $(EXYNOS_OMX_TOP)/core/Android.mk
include $(EXYNOS_OMX_COMPONENT)/common/Android.mk
include $(EXYNOS_OMX_COMPONENT)/video/dec/Android.mk
include $(EXYNOS_OMX_COMPONENT)/video/dec/h264/Android.mk
include $(EXYNOS_OMX_COMPONENT)/video/dec/mpeg4/Android.mk
ifeq ($(TARGET_BOARD_PLATFORM),exynos5)
include $(EXYNOS_OMX_COMPONENT)/video/dec/vp8/Android.mk
endif
include $(EXYNOS_OMX_COMPONENT)/video/dec/mpeg2/Android.mk
include $(EXYNOS_OMX_COMPONENT)/video/dec/vc1/Android.mk
include $(EXYNOS_OMX_COMPONENT)/video/enc/Android.mk
include $(EXYNOS_OMX_COMPONENT)/video/enc/h264/Android.mk
include $(EXYNOS_OMX_COMPONENT)/video/enc/mpeg4/Android.mk
ifeq ($(BOARD_USE_VP8ENC_SUPPORT), true)
include $(EXYNOS_OMX_COMPONENT)/video/enc/vp8/Android.mk
endif
ifeq ($(BOARD_USE_HEVCDEC_SUPPORT), true)
include $(EXYNOS_OMX_COMPONENT)/video/dec/hevc/Android.mk
endif
ifeq ($(BOARD_USE_ALP_AUDIO), true)
ifeq ($(BOARD_USE_SEIREN_AUDIO), true)
include $(EXYNOS_OMX_COMPONENT)/audio/seiren_dec/Android.mk
include $(EXYNOS_OMX_COMPONENT)/audio/seiren_dec/mp3/Android.mk
include $(EXYNOS_OMX_COMPONENT)/audio/seiren_dec/aac/Android.mk
include $(EXYNOS_OMX_COMPONENT)/audio/seiren_dec/flac/Android.mk
else
include $(EXYNOS_OMX_COMPONENT)/audio/dec/Android.mk
include $(EXYNOS_OMX_COMPONENT)/audio/dec/mp3/Android.mk
endif
endif
ifeq ($(BOARD_USE_WMA_CODEC), true)
include $(EXYNOS_OMX_COMPONENT)/audio/dec/wma/Android.mk
endif
endif