-
Notifications
You must be signed in to change notification settings - Fork 37
/
Config.mk
executable file
·42 lines (33 loc) · 1.11 KB
/
Config.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
#this file is used for Android compile configuration
CEDARX_PRODUCTOR := GENERIC
CEDARX_DEBUG_ENABLE := N
ifeq ($(CEDARX_DEBUG_ENABLE), Y)
CEDARX_DEBUG_FRAMEWORK := Y
CEDARX_DEBUG_CEDARV := Y
CEDARX_DEBUG_DEMUXER := Y
else
CEDARX_DEBUG_FRAMEWORK := N
CEDARX_DEBUG_CEDARV := N
CEDARX_DEBUG_DEMUXER := N
endif
CEDARX_TOP := $(TOP)/external/cedarx/CedarX
CEDARM_TOP := ${CEDARX_TOP}/libexternal/CedarM
CEDARX_ENABLE_MEMWATCH := N
CEDAR_AUDIOLIB_PATH := F23
CEDAR_ENCODER_VERSION := F23
CEDARX_CHIP_VERSION := F23
CEDARX_EXT_CFLAGS :=-D__OS_ANDROID -D__CHIP_VERSION_$(CEDARX_CHIP_VERSION)
CEDARX_EXT_CFLAGS +=-D__CDX_ENABLE_SUBTITLE -D__CDX_ENABLE_DRM
CEDARX_EXT_CFLAGS +=-DALLWINNER_HARDWARE
ifeq ($(CEDARX_ENABLE_MEMWATCH),Y)
CEDARX_EXT_CFLAGS +=-DMEMWATCH -DMEMWATCH_STDIO -D__CDX_MEMWATCH -I${CEDARX_TOP}/libexternal/memwatch-2.71
endif
#ifeq ($(PLATFORM_VERSION),4.0.4)
CEDARX_ANDROID_VERSION := 6
CEDARX_RTSP_VERSION := 4
CEDARX_USE_SFTDEMUX := Y
CEDARX_EXT_CFLAGS +=-D__ANDROID_VERSION_4_0_1
#endif
ifeq ($(CEDARX_PRODUCTOR),TVD_001)
CEDARX_EXT_CFLAGS += -D__ENABLE_SWA_PLUGIN
endif