Android.mk revision c4689fae1bdb8d1c94eb28af1b2a1f30d2b1a3da
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    VideoEditorVideoDecoder.cpp \
22    VideoEditorAudioDecoder.cpp \
23    VideoEditorMp3Reader.cpp \
24    VideoEditor3gpReader.cpp \
25    VideoEditorUtils.cpp \
26    VideoEditorBuffer.c \
27    VideoEditorVideoEncoder.cpp \
28    VideoEditorAudioEncoder.cpp
29
30LOCAL_C_INCLUDES += \
31    $(TOP)/frameworks/base/core/jni \
32    $(TOP)/frameworks/base/include \
33    $(TOP)/frameworks/base/include/media \
34    $(TOP)/frameworks/base/media/libmediaplayerservice \
35    $(TOP)/frameworks/base/media/libstagefright \
36    $(TOP)/frameworks/base/media/libstagefright/include \
37    $(TOP)/frameworks/base/media/libstagefright/rtsp \
38    $(JNI_H_INCLUDE) \
39    $(call include-path-for, corecg graphics) \
40    $(TOP)/frameworks/base/include/media/stagefright/openmax \
41    $(TOP)/frameworks/base/core/jni/mediaeditor \
42    $(TOP)/frameworks/media/libvideoeditor/vss/inc \
43    $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \
44    $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \
45    $(TOP)/frameworks/media/libvideoeditor/lvpp \
46    $(TOP)/frameworks/media/libvideoeditor/osal/inc \
47    $(TOP)/frameworks/media/libvideoeditor/include \
48    $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc
49
50LOCAL_SHARED_LIBRARIES := \
51    libcutils \
52    libutils \
53    libandroid_runtime \
54    libnativehelper \
55    libmedia \
56    libbinder \
57    libstagefright \
58    libstagefright_foundation \
59    libstagefright_omx \
60    libgui \
61    libvideoeditorplayer
62
63LOCAL_CFLAGS += \
64
65
66
67LOCAL_STATIC_LIBRARIES := \
68    libvideoeditor_osal \
69    libstagefright_color_conversion
70
71
72LOCAL_MODULE:= libvideoeditor_stagefrightshells
73
74LOCAL_MODULE_TAGS := optional
75
76include $(BUILD_STATIC_LIBRARY)
77