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