-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
89 lines (73 loc) · 2.72 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
78
79
80
81
82
83
84
85
86
87
88
89
ifeq ($(TARGET_SLSI_VARIANT),bsp)
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
BOARD_USE_ANDROID := true
BOARD_USE_SKYPE_HD := 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_SUPPORT_TUNNELING := false
EXYNOS_OMX_SUPPORT_EGL_IMAGE := false
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/exynos/libvideocodec
ifeq ($(BOARD_USE_ALP_AUDIO), true)
ifeq ($(BOARD_USE_SEIREN_AUDIO), true)
EXYNOS_AUDIO_CODEC += \
hardware/samsung_slsi/exynos/libseiren
else
EXYNOS_AUDIO_CODEC += \
hardware/samsung_slsi/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
include $(EXYNOS_OMX_COMPONENT)/video/dec/vp8/Android.mk
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_HEVCENC_SUPPORT), true)
include $(EXYNOS_OMX_COMPONENT)/video/enc/hevc/Android.mk
endif
ifeq ($(BOARD_USE_VP9DEC_SUPPORT), true)
include $(EXYNOS_OMX_COMPONENT)/video/dec/vp9/Android.mk
endif
ifeq ($(BOARD_USE_VP9ENC_SUPPORT), true)
include $(EXYNOS_OMX_COMPONENT)/video/enc/vp9/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 # TARGET_SLSI_VARIANT