blob: 6be7fdd40b83d0ccf15b270fe789d5a82d656958 [file] [log] [blame]
Dharmaray Kundargicd196d32011-01-16 15:47:16 -08001#
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) \
James Donge1dea482012-03-12 14:37:53 -070039 $(TOP)/frameworks/native/include/media/editor \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080040 $(TOP)/frameworks/base/core/jni/mediaeditor \
James Dong798cda72012-03-22 18:03:13 -070041 $(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 \
James Donge1dea482012-03-12 14:37:53 -070047 $(TOP)/frameworks/native/include/media/openmax
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080048
49LOCAL_SHARED_LIBRARIES := \
James Dong5ddb19e2012-05-15 00:25:22 -070050 libandroid_runtime \
51 libaudioflinger \
Glenn Kasten490909d2011-12-15 09:52:39 -080052 libaudioutils \
James Dong5ddb19e2012-05-15 00:25:22 -070053 libbinder \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080054 libcutils \
Ying Wangd6858942013-04-09 21:54:12 -070055 liblog \
Chih-Chung Chang17cfcbf2011-07-26 12:14:28 +080056 libdl \
James Dong5ddb19e2012-05-15 00:25:22 -070057 libgui \
James Dongf20e4f42012-05-15 14:51:52 -070058 libmedia \
James Dong5ddb19e2012-05-15 00:25:22 -070059 libnativehelper \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080060 libstagefright \
James Dong459f40d2012-02-09 23:51:26 -080061 libstagefright_foundation \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080062 libstagefright_omx \
James Dong5ddb19e2012-05-15 00:25:22 -070063 libutils \
64 libvideoeditor_core \
65 libvideoeditor_osal \
66 libvideoeditor_videofilters \
67 libvideoeditorplayer \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080068
69
70LOCAL_CFLAGS += \
71 -DUSE_STAGEFRIGHT_CODECS \
72 -DUSE_STAGEFRIGHT_AUDIODEC \
73 -DUSE_STAGEFRIGHT_VIDEODEC \
74 -DUSE_STAGEFRIGHT_AUDIOENC \
75 -DUSE_STAGEFRIGHT_VIDEOENC \
76 -DUSE_STAGEFRIGHT_READERS \
Dheeraj Sharma67ec9aa2011-02-04 02:31:45 -080077 -DUSE_STAGEFRIGHT_3GPP_READER
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080078
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080079LOCAL_MODULE:= libvideoeditor_jni
80
Dharmaray Kundargi6dbd3ee2011-01-19 12:14:46 -080081LOCAL_MODULE_TAGS := optional
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080082
83include $(BUILD_SHARED_LIBRARY)