blob: 08ad6f3ef653aaf50dfbda04b6f591d7c8ec9f50 [file] [log] [blame]
Andreas Hubere46b7be2009-07-14 16:56:47 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
Andreas Huber9f9afef2009-09-15 12:49:11 -07004LOCAL_C_INCLUDES += $(JNI_H_INCLUDE)
Andreas Huber446f44f2009-08-25 17:23:44 -07005
Andreas Huberb0caf942009-12-03 11:39:54 -08006LOCAL_SRC_FILES:= \
Andreas Huber4b3913a2011-05-11 14:13:42 -07007 OMX.cpp \
Andreas Huberb0caf942009-12-03 11:39:54 -08008 OMXComponentBase.cpp \
Andreas Huber4b3913a2011-05-11 14:13:42 -07009 OMXMaster.cpp \
Andreas Huberb0caf942009-12-03 11:39:54 -080010 OMXNodeInstance.cpp \
Andreas Huber4b3913a2011-05-11 14:13:42 -070011 SimpleSoftOMXComponent.cpp \
12 SoftOMXComponent.cpp \
13 SoftOMXPlugin.cpp \
Andreas Hubere46b7be2009-07-14 16:56:47 -070014
Andreas Huber4b3913a2011-05-11 14:13:42 -070015LOCAL_C_INCLUDES += \
16 frameworks/base/media/libstagefright \
17 $(TOP)/frameworks/base/include/media/stagefright/openmax
Andreas Huberb0caf942009-12-03 11:39:54 -080018
Andreas Huber4b3913a2011-05-11 14:13:42 -070019LOCAL_SHARED_LIBRARIES := \
20 libbinder \
21 libmedia \
22 libutils \
23 libui \
24 libcutils \
25 libstagefright_foundation \
Andreas Huberb0caf942009-12-03 11:39:54 -080026
Feng Qian1fd769c2009-08-18 11:00:30 -070027ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
Andreas Huberc8d7c142009-11-11 16:33:17 -080028 LOCAL_LDLIBS += -lpthread -ldl
29endif
30
31ifneq ($(TARGET_SIMULATOR),true)
32LOCAL_SHARED_LIBRARIES += libdl
Feng Qian1fd769c2009-08-18 11:00:30 -070033endif
34
Andreas Hubere46b7be2009-07-14 16:56:47 -070035LOCAL_MODULE:= libstagefright_omx
36
37include $(BUILD_SHARED_LIBRARY)
Andreas Huber2ea14e22009-12-16 09:30:55 -080038
Andreas Huber4b3913a2011-05-11 14:13:42 -070039################################################################################
Andreas Huber2ea14e22009-12-16 09:30:55 -080040
Andreas Huber4b3913a2011-05-11 14:13:42 -070041include $(call all-makefiles-under,$(LOCAL_PATH))