19969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang#
29969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# Copyright (C) 2011 The Android Open Source Project
39969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang#
49969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# Licensed under the Apache License, Version 2.0 (the "License");
59969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# you may not use this file except in compliance with the License.
69969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# You may obtain a copy of the License at
79969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang#
89969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang#      http://www.apache.org/licenses/LICENSE-2.0
99969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang#
109969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# Unless required by applicable law or agreed to in writing, software
119969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# distributed under the License is distributed on an "AS IS" BASIS,
129969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
139969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# See the License for the specific language governing permissions and
149969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# limitations under the License.
159969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang#
169969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
179969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung ChangLOCAL_PATH:= $(call my-dir)
189969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
199969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang#
209969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# libvideoeditorplayer
219969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang#
229969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
239969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Changinclude $(CLEAR_VARS)
249969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
259969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung ChangLOCAL_MODULE:= libvideoeditorplayer
269969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
279969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung ChangLOCAL_SRC_FILES:=          \
289969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    VideoEditorTools.cpp \
299969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    VideoEditorPlayer.cpp \
309969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    PreviewPlayer.cpp \
319969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    VideoEditorAudioPlayer.cpp \
329969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    VideoEditorPreviewController.cpp \
339969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    VideoEditorSRC.cpp \
349969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    DummyAudioSource.cpp \
359969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    DummyVideoSource.cpp \
369969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    VideoEditorBGAudioProcessing.cpp \
377efb8efc88ba529c1c57366a305855c2051ebb8bChih-Chung Chang    PreviewRenderer.cpp \
382aa01fd002bba1dde45791c1138c1f71a8d0aa53Chih-Chung Chang    I420ColorConverter.cpp \
3943fcc396614a587851e2b7c4cea2876ec58b8648Chih-Chung Chang    NativeWindowRenderer.cpp
409969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
419969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung ChangLOCAL_MODULE_TAGS := optional
429969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
439969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung ChangLOCAL_STATIC_LIBRARIES := \
449969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    libstagefright_color_conversion
459969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
469969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
479969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
48a86c809bff463ae1d782dcaa1c45d1acea5f34d3James DongLOCAL_SHARED_LIBRARIES :=     \
49a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libaudioflinger           \
50a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libaudioutils             \
51a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libbinder                 \
52a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libcutils                 \
53da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    liblog                    \
54a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libEGL                    \
55a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libGLESv2                 \
56a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libgui                    \
57a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libmedia                  \
58a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libdrmframework           \
59a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libstagefright            \
609969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    libstagefright_foundation \
61a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libstagefright_omx        \
621e5b2b3361ddd07259bf4b29820ca4aa5f3a861bJamie Gennis    libsync                   \
63a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libui                     \
64a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libutils                  \
65a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libvideoeditor_osal       \
669969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
679969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
689969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung ChangLOCAL_C_INCLUDES += \
697bdbbc7e45fca8e50df91ef2e8b39d1608841c9dGlenn Kasten    $(TOP)/system/media/audio_utils/include \
70559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/media/libmediaplayerservice \
71559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/media/libstagefright \
72559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/media/libstagefright/include \
73559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/media/libstagefright/rtsp \
749969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    $(call include-path-for, corecg graphics) \
75ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/osal/inc \
76ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/vss/common/inc \
77ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/vss/mcs/inc \
78ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/vss/inc \
79ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/vss/stagefrightshells/inc \
80ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/lvpp \
81559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/services/audioflinger \
82ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/native/include/media/editor \
83ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/native/include/media/openmax \
84ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/native/services/audioflinger
859969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
869969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
872dade0141b45b3538183bd2d6c0c53a0345e92afJeff BrownLOCAL_SHARED_LIBRARIES += libdl
889969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
899969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang# All of the shared libraries we link against.
909969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung ChangLOCAL_LDLIBS := \
919969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    -lpthread -ldl
929969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
939969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung ChangLOCAL_CFLAGS += -Wno-multichar \
949969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang     -DM4_ENABLE_RENDERINGMODE \
959969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    -DUSE_STAGEFRIGHT_CODECS \
969969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    -DUSE_STAGEFRIGHT_AUDIODEC \
979969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    -DUSE_STAGEFRIGHT_VIDEODEC \
989969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    -DUSE_STAGEFRIGHT_AUDIOENC \
999969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    -DUSE_STAGEFRIGHT_VIDEOENC \
1009969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    -DUSE_STAGEFRIGHT_READERS \
1019969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang    -DUSE_STAGEFRIGHT_3GPP_READER
1029969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
1039969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Changinclude $(BUILD_SHARED_LIBRARY)
1049969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang
1059969866cfe5b17c6e481b90d81b011a0cece78a0Chih-Chung Chang#include $(call all-makefiles-under,$(LOCAL_PATH))
106