Android.mk revision 51f8eec23a2bcc2cc190373cdd1195972d9b8804
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/base/media/libmediaplayerservice \
33    $(TOP)/frameworks/base/media/libstagefright \
34    $(TOP)/frameworks/base/media/libstagefright/include \
35    $(TOP)/frameworks/base/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    libandroid_runtime \
50    libnativehelper \
51    libmedia \
52    libbinder \
53    libstagefright \
54    libstagefright_foundation \
55    libstagefright_omx \
56    libgui \
57    libvideoeditorplayer
58
59LOCAL_CFLAGS += \
60
61
62
63LOCAL_STATIC_LIBRARIES := \
64    libvideoeditor_osal \
65    libstagefright_color_conversion
66
67
68LOCAL_MODULE:= libvideoeditor_stagefrightshells
69
70LOCAL_MODULE_TAGS := optional
71
72include $(BUILD_STATIC_LIBRARY)
73