Android.mk revision 798cda73e173d69f7be51aa9123cd1917bfd5d59
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    VideoEditorMain.cpp \
22    VideoEditorClasses.cpp \
23    VideoEditorOsal.cpp \
24    VideoEditorJava.cpp \
25    VideoEditorPropertiesMain.cpp \
26    VideoEditorThumbnailMain.cpp  \
27    VideoBrowserMain.c
28
29LOCAL_C_INCLUDES += \
30    $(TOP)/frameworks/base/core/jni \
31    $(TOP)/frameworks/base/include \
32    $(TOP)/frameworks/base/include/media \
33    $(TOP)/frameworks/base/media/libmediaplayerservice \
34    $(TOP)/frameworks/base/media/libstagefright \
35    $(TOP)/frameworks/base/media/libstagefright/include \
36    $(TOP)/frameworks/base/media/libstagefright/rtsp \
37    $(JNI_H_INCLUDE) \
38    $(call include-path-for, corecg graphics) \
39    $(TOP)/frameworks/native/include/media/editor \
40    $(TOP)/frameworks/base/core/jni/mediaeditor \
41    $(TOP)/frameworks/av/libvideoeditor/vss/inc \
42    $(TOP)/frameworks/av/libvideoeditor/vss/common/inc \
43    $(TOP)/frameworks/av/libvideoeditor/vss/mcs/inc \
44    $(TOP)/frameworks/av/libvideoeditor/vss/stagefrightshells/inc \
45    $(TOP)/frameworks/av/libvideoeditor/lvpp \
46    $(TOP)/frameworks/av/libvideoeditor/osal/inc \
47    $(TOP)/frameworks/native/include/media/openmax
48
49LOCAL_SHARED_LIBRARIES := \
50    libaudioutils \
51    libcutils \
52    libdl \
53    libutils \
54    libandroid_runtime \
55    libnativehelper \
56    libmedia \
57    libaudioflinger \
58    libbinder \
59    libstagefright \
60    libstagefright_foundation \
61    libstagefright_omx \
62    libgui \
63    libvideoeditorplayer
64
65
66LOCAL_CFLAGS += \
67    -DUSE_STAGEFRIGHT_CODECS \
68    -DUSE_STAGEFRIGHT_AUDIODEC \
69    -DUSE_STAGEFRIGHT_VIDEODEC \
70    -DUSE_STAGEFRIGHT_AUDIOENC \
71    -DUSE_STAGEFRIGHT_VIDEOENC \
72    -DUSE_STAGEFRIGHT_READERS \
73    -DUSE_STAGEFRIGHT_3GPP_READER
74
75LOCAL_STATIC_LIBRARIES := \
76    libvideoeditor_core \
77    libstagefright_color_conversion \
78    libvideoeditor_3gpwriter \
79    libvideoeditor_mcs \
80    libvideoeditor_videofilters \
81    libvideoeditor_stagefrightshells \
82    libvideoeditor_osal
83
84LOCAL_MODULE:= libvideoeditor_jni
85
86LOCAL_MODULE_TAGS := optional
87
88include $(BUILD_SHARED_LIBRARY)
89