-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android_mk
65 lines (55 loc) · 2.04 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
LOCAL_PATH := $(call my-dir)
DVB_PATH := $(wildcard external/dvb)
ifeq ($(DVB_PATH), )
DVB_PATH := $(wildcard $(BOARD_AML_VENDOR_PATH)/external/dvb)
endif
ifeq ($(DVB_PATH), )
DVB_PATH := $(wildcard $(BOARD_AML_VENDOR_PATH)/dvb)
endif
include $(CLEAR_VARS)
LOCAL_MODULE := libdvbcallsocket
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := dvbcallsocket.cpp
LOCAL_CFLAGS+=-DANDROID -DAMLINUX -DLOG_LEVEL=1
#LOCAL_CFLAGS+=-std=gnu99
LOCAL_ARM_MODE := arm
LOCAL_C_INCLUDES := $(DVB_PATH)/include/am_adp\
$(DVB_PATH)/include/am_mw\
$(DVB_PATH)/include/am_ver \
$(DVB_PATH)/android/ndk/include\
common/include/linux/amlogic \
$(wildcard $(BOARD_AML_VENDOR_PATH)frameworks/services/systemcontrol/PQ/include) \
$(wildcard $(BOARD_AML_VENDOR_PATH)frameworks/services) \
frameworks/native/libs/binder/include
ifeq ($(wildcard hardware/amlogic/media),hardware/amlogic/media)
$(info "have hardware/amlogic/media")
AML_DEC_PATH := $(wildcard hardware/amlogic/media)
LOCAL_C_INCLUDES += \
$(AML_DEC_PATH)/amadec/include \
$(AML_DEC_PATH)/amcodec/include
else
AML_DEC_PATH := $(wildcard $(BOARD_AML_VENDOR_PATH)/frameworks/av/LibPlayer)
LOCAL_C_INCLUDES += \
$(AML_DEC_PATH)/amadec/include \
$(AML_DEC_PATH)/amcodec/include \
$(AML_DEC_PATH)/amffmpeg \
$(AML_DEC_PATH)/amplayer
endif
LOCAL_SHARED_LIBRARIES+= libam_adp \
libutils \
libcutils \
liblog \
libdl \
libc \
libsystemcontrolservice
LOCAL_PRELINK_MODULE := false
ifeq ($(BOARD_COMPILE_IN_SYSTEM), true)
LOCAL_PROPRIETARY_MODULE := false
else
LOCAL_PROPRIETARY_MODULE := true
endif
#LOCAL_32_BIT_ONLY := true
include $(BUILD_SHARED_LIBRARY)