Android.mk revision eaaadaf5ebb5e352e2ed4a12714f5d2363da0dcd
1ifneq ($(BUILD_WITHOUT_PV),true)
2
3LOCAL_PATH := $(call my-dir)
4include $(CLEAR_VARS)
5$(call add-prebuilt-files, ETC)
6LOCAL_PRELINK_MODULE := false
7LOCAL_SRC_FILES := \
8	src/ti_video_config_parser.cpp \
9	src/ti_m4v_config_parser.cpp \
10	src/ti_omx_config_parser.cpp
11
12LOCAL_MODULE := libVendor_ti_omx_config_parser
13
14PV_TOP := external/opencore
15
16PV_COPY_HEADERS_TO := libpv
17
18PV_INCLUDES := \
19	$(PV_TOP)/android \
20	$(PV_TOP)/extern_libs_v2/khronos/openmax/include \
21	$(PV_TOP)/engines/common/include \
22	$(PV_TOP)/engines/player/config/android \
23	$(PV_TOP)/engines/player/include \
24	$(PV_TOP)/nodes/pvmediaoutputnode/include \
25	$(PV_TOP)/nodes/pvdownloadmanagernode/config/opencore \
26	$(PV_TOP)/pvmi/pvmf/include \
27	$(PV_TOP)/fileformats/mp4/parser/config/opencore \
28	$(PV_TOP)/oscl/oscl/config/android \
29	$(PV_TOP)/oscl/oscl/config/shared \
30	$(PV_TOP)/engines/author/include \
31	$(PV_TOP)/android/drm/oma1/src \
32	$(PV_TOP)/build_config/opencore_dynamic \
33	$(PV_TOP)/codecs_v2/omx/omx_common/src \
34 	$(PV_TOP)/codecs_v2/omx/omx_common/include \
35 	$(PV_TOP)/extern_libs_v2/khronos/openmax/include \
36 	$(PV_TOP)/pvmi/pvmf/include \
37 	$(PV_TOP)/oscl/oscl/osclutil/src \
38	$(TARGET_OUT_HEADERS)/$(PV_COPY_HEADERS_TO)
39
40LOCAL_CFLAGS :=   $(PV_CFLAGS)
41
42LOCAL_ARM_MODE := arm
43
44LOCAL_COPY_HEADERS := \
45 	inc/ti_video_config_parser.h \
46 	inc/ti_m4v_config_parser.h \
47 	inc/ti_omx_config_parser.h 
48
49LOCAL_C_INCLUDES := \
50    $(PV_INCLUDES)
51
52-include $(PV_TOP)/Android_platform_extras.mk
53
54-include $(PV_TOP)/Android_system_extras.mk
55
56LOCAL_SHARED_LIBRARIES += libopencore_common
57
58include $(BUILD_SHARED_LIBRARY)
59
60endif
61