blob: 64e7c732363ae58a7185576c0904f333073ffe4b [file] [log] [blame]
Chih-Chung Chang99698662011-06-30 14:21:38 +08001#
2# Copyright (C) 2011 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH:= $(call my-dir)
18
19#
20# libvideoeditorplayer
21#
22
23include $(CLEAR_VARS)
24
25LOCAL_MODULE:= libvideoeditorplayer
26
27LOCAL_SRC_FILES:= \
28 VideoEditorTools.cpp \
29 VideoEditorPlayer.cpp \
30 PreviewPlayer.cpp \
31 VideoEditorAudioPlayer.cpp \
32 VideoEditorPreviewController.cpp \
33 VideoEditorSRC.cpp \
34 DummyAudioSource.cpp \
35 DummyVideoSource.cpp \
36 VideoEditorBGAudioProcessing.cpp \
37 AudioPlayerBase.cpp \
38 PreviewPlayerBase.cpp \
Chih-Chung Chang7efb8ef2011-07-22 09:01:36 +080039 PreviewRenderer.cpp \
40 YV12ColorConverter.cpp
Chih-Chung Chang99698662011-06-30 14:21:38 +080041
42LOCAL_MODULE_TAGS := optional
43
44LOCAL_STATIC_LIBRARIES := \
45 libvideoeditor_osal \
46 libstagefright_color_conversion
47
48
49
50LOCAL_SHARED_LIBRARIES := \
51 libbinder \
52 libutils \
53 libcutils \
54 libmedia \
55 libdrmframework \
56 libstagefright \
57 libstagefright_omx \
58 libstagefright_foundation \
59 libgui \
60 libaudioflinger \
61 libui
62
63
64LOCAL_C_INCLUDES += \
65 $(TOP)/frameworks/base/core/jni \
66 $(TOP)/frameworks/base/include \
67 $(TOP)/frameworks/base/include/media \
68 $(TOP)/frameworks/base/media/libmediaplayerservice \
69 $(TOP)/frameworks/base/media/libstagefright \
70 $(TOP)/frameworks/base/media/libstagefright/include \
71 $(TOP)/frameworks/base/media/libstagefright/rtsp \
72 $(JNI_H_INCLUDE) \
73 $(call include-path-for, corecg graphics) \
74 $(TOP)/frameworks/base/include/media/stagefright/openmax \
75 $(TOP)/frameworks/media/libvideoeditor/osal/inc \
76 $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \
77 $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \
78 $(TOP)/frameworks/media/libvideoeditor/vss/inc \
79 $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc \
80 $(TOP)/frameworks/media/libvideoeditor/lvpp \
Chih-Chung Chang7efb8ef2011-07-22 09:01:36 +080081 $(TOP)/frameworks/media/libvideoeditor/include \
Chih-Chung Chang99698662011-06-30 14:21:38 +080082 $(TOP)/frameworks/base/media/jni/mediaeditor \
83 $(TOP)/frameworks/base/services/audioflinger
84
85
Jeff Brown2dade012011-07-11 22:12:22 -070086LOCAL_SHARED_LIBRARIES += libdl
Chih-Chung Chang99698662011-06-30 14:21:38 +080087
88# All of the shared libraries we link against.
89LOCAL_LDLIBS := \
90 -lpthread -ldl
91
92LOCAL_CFLAGS += -Wno-multichar \
93 -DM4_ENABLE_RENDERINGMODE \
94 -DUSE_STAGEFRIGHT_CODECS \
95 -DUSE_STAGEFRIGHT_AUDIODEC \
96 -DUSE_STAGEFRIGHT_VIDEODEC \
97 -DUSE_STAGEFRIGHT_AUDIOENC \
98 -DUSE_STAGEFRIGHT_VIDEOENC \
99 -DUSE_STAGEFRIGHT_READERS \
100 -DUSE_STAGEFRIGHT_3GPP_READER
101
102include $(BUILD_SHARED_LIBRARY)
103
104#include $(call all-makefiles-under,$(LOCAL_PATH))