1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES:= \ 5 FrameDropper.cpp \ 6 GraphicBufferSource.cpp \ 7 BWGraphicBufferSource.cpp \ 8 OMX.cpp \ 9 OMXMaster.cpp \ 10 OMXNodeInstance.cpp \ 11 OMXUtils.cpp \ 12 SimpleSoftOMXComponent.cpp \ 13 SoftOMXComponent.cpp \ 14 SoftOMXPlugin.cpp \ 15 SoftVideoDecoderOMXComponent.cpp \ 16 SoftVideoEncoderOMXComponent.cpp \ 17 1.0/Omx.cpp \ 18 1.0/OmxStore.cpp \ 19 1.0/WGraphicBufferProducer.cpp \ 20 1.0/WProducerListener.cpp \ 21 1.0/WGraphicBufferSource.cpp \ 22 1.0/WOmxNode.cpp \ 23 1.0/WOmxObserver.cpp \ 24 1.0/WOmxBufferSource.cpp \ 25 26LOCAL_C_INCLUDES += \ 27 $(TOP)/frameworks/av/media/libstagefright \ 28 $(TOP)/frameworks/native/include/media/hardware \ 29 $(TOP)/frameworks/native/include/media/openmax \ 30 $(TOP)/system/libhidl/base/include \ 31 32LOCAL_SHARED_LIBRARIES := \ 33 libbase \ 34 libbinder \ 35 libmedia \ 36 libutils \ 37 liblog \ 38 libui \ 39 libgui \ 40 libcutils \ 41 libstagefright_foundation \ 42 libdl \ 43 libhidlbase \ 44 libhidlmemory \ 45 libstagefright_xmlparser@1.0 \ 46 android.hidl.base@1.0 \ 47 android.hidl.memory@1.0 \ 48 android.hardware.media@1.0 \ 49 android.hardware.media.omx@1.0 \ 50 android.hardware.graphics.common@1.0 \ 51 android.hardware.graphics.bufferqueue@1.0 \ 52 53LOCAL_EXPORT_C_INCLUDES := \ 54 $(TOP)/frameworks/av/include 55 56LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := \ 57 android.hidl.memory@1.0 58 59LOCAL_MODULE:= libstagefright_omx 60LOCAL_CFLAGS += -Werror -Wall -Wno-unused-parameter -Wno-documentation 61LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow cfi 62LOCAL_SANITIZE_DIAG := cfi 63 64include $(BUILD_SHARED_LIBRARY) 65 66################################################################################ 67 68include $(call all-makefiles-under,$(LOCAL_PATH)/hal) 69include $(call all-makefiles-under,$(LOCAL_PATH)) 70