1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:=                     \
5        FrameDropper.cpp              \
6        GraphicBufferSource.cpp       \
7        OMX.cpp                       \
8        OMXMaster.cpp                 \
9        OMXNodeInstance.cpp           \
10        OMXUtils.cpp                  \
11        SimpleSoftOMXComponent.cpp    \
12        SoftOMXComponent.cpp          \
13        SoftOMXPlugin.cpp             \
14        SoftVideoDecoderOMXComponent.cpp \
15        SoftVideoEncoderOMXComponent.cpp \
16
17LOCAL_C_INCLUDES += \
18        $(TOP)/frameworks/av/media/libstagefright \
19        $(TOP)/frameworks/native/include/media/hardware \
20        $(TOP)/frameworks/native/include/media/openmax
21
22LOCAL_SHARED_LIBRARIES :=               \
23        libbinder                       \
24        libhardware                     \
25        libmedia                        \
26        libutils                        \
27        liblog                          \
28        libui                           \
29        libgui                          \
30        libcutils                       \
31        libstagefright_foundation       \
32        libdl
33
34LOCAL_MODULE:= libstagefright_omx
35LOCAL_CFLAGS += -Werror -Wall
36LOCAL_CLANG := true
37LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow
38
39include $(BUILD_SHARED_LIBRARY)
40
41################################################################################
42
43include $(call all-makefiles-under,$(LOCAL_PATH))
44