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