1LOCAL_PATH := $(call my-dir) 2include $(CLEAR_VARS) 3 4ifeq ($(TARGET_HAS_ISV),true) 5LOCAL_CFLAGS += -DTARGET_HAS_ISV 6endif 7 8LOCAL_SRC_FILES := \ 9 cmodule.cpp \ 10 componentbase.cpp \ 11 portbase.cpp \ 12 portaudio.cpp \ 13 portvideo.cpp \ 14 portimage.cpp \ 15 portother.cpp 16 17LOCAL_MODULE_TAGS := optional 18LOCAL_MODULE := libwrs_omxil_base 19 20LOCAL_CPPFLAGS := 21 22LOCAL_LDFLAGS := 23 24LOCAL_CFLAGS += -Werror 25ifeq ($(strip $(COMPONENT_SUPPORT_BUFFER_SHARING)), true) 26LOCAL_CFLAGS += -DCOMPONENT_SUPPORT_BUFFER_SHARING 27endif 28ifeq ($(strip $(COMPONENT_SUPPORT_OPENCORE)), true) 29LOCAL_CFLAGS += -DCOMPONENT_SUPPORT_OPENCORE 30endif 31 32LOCAL_C_INCLUDES := \ 33 $(WRS_OMXIL_CORE_ROOT)/utils/inc \ 34 $(WRS_OMXIL_CORE_ROOT)/base/inc \ 35 $(WRS_OMXIL_CORE_ROOT)/core/inc/khronos/openmax/include \ 36 $(call include-path-for, frameworks-native)/media/hardware \ 37 $(TOP)/frameworks/native/include/media/openmax 38 39include $(BUILD_STATIC_LIBRARY) 40 41include $(CLEAR_VARS) 42 43LOCAL_MODULE_TAGS := optional 44LOCAL_MODULE := libwrs_omxil_common 45 46LOCAL_WHOLE_STATIC_LIBRARIES := \ 47 libwrs_omxil_utils \ 48 libwrs_omxil_base 49 50LOCAL_SHARED_LIBRARIES := \ 51 libdl \ 52 liblog 53LOCAL_CFLAGS += -Werror 54include $(BUILD_SHARED_LIBRARY) 55