1#
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)
18include $(CLEAR_VARS)
19
20LOCAL_SRC_FILES:= \
21    MediaBufferPuller.cpp \
22    VideoEditorVideoDecoder.cpp \
23    VideoEditorAudioDecoder.cpp \
24    VideoEditorMp3Reader.cpp \
25    VideoEditor3gpReader.cpp \
26    VideoEditorUtils.cpp \
27    VideoEditorBuffer.c \
28    VideoEditorVideoEncoder.cpp \
29    VideoEditorAudioEncoder.cpp
30
31LOCAL_C_INCLUDES += \
32    $(TOP)/frameworks/av/media/libmediaplayerservice \
33    $(TOP)/frameworks/av/media/libstagefright \
34    $(TOP)/frameworks/av/media/libstagefright/include \
35    $(TOP)/frameworks/av/media/libstagefright/rtsp \
36    $(call include-path-for, corecg graphics) \
37    $(TOP)/frameworks/av/libvideoeditor/lvpp \
38    $(TOP)/frameworks/av/libvideoeditor/osal/inc \
39    $(TOP)/frameworks/av/libvideoeditor/vss/inc \
40    $(TOP)/frameworks/av/libvideoeditor/vss/common/inc \
41    $(TOP)/frameworks/av/libvideoeditor/vss/mcs/inc \
42    $(TOP)/frameworks/av/libvideoeditor/vss/stagefrightshells/inc \
43    $(TOP)/frameworks/native/include/media/editor \
44    $(TOP)/frameworks/native/include/media/openmax
45
46LOCAL_SHARED_LIBRARIES :=     \
47    libcutils                 \
48    libutils                  \
49    libmedia                  \
50    libbinder                 \
51    libstagefright            \
52    libstagefright_foundation \
53    libstagefright_omx        \
54    libgui                    \
55    libvideoeditor_osal       \
56    libvideoeditorplayer      \
57
58LOCAL_CFLAGS += \
59
60LOCAL_STATIC_LIBRARIES := \
61    libstagefright_color_conversion
62
63
64LOCAL_MODULE:= libvideoeditor_stagefrightshells
65
66LOCAL_MODULE_TAGS := optional
67
68include $(BUILD_STATIC_LIBRARY)
69