blob: e44dc7c4c77768445e5ead71ff8f1b20dbc98ecf [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) \
Dharmaray Kundargia1a55bb2011-01-18 12:40:56 -080039 $(TOP)/frameworks/base/include/media/stagefright/openmax \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080040 $(TOP)/frameworks/base/core/jni/mediaeditor \
41 $(TOP)/frameworks/media/libvideoeditor/vss/inc \
42 $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \
43 $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \
44 $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc \
Chih-Chung Chang17cfcbf2011-07-26 12:14:28 +080045 $(TOP)/frameworks/media/libvideoeditor/include \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080046 $(TOP)/frameworks/media/libvideoeditor/lvpp \
47 $(TOP)/frameworks/media/libvideoeditor/osal/inc
48
49LOCAL_SHARED_LIBRARIES := \
Glenn Kasten490909d2011-12-15 09:52:39 -080050 libaudioutils \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080051 libcutils \
Chih-Chung Chang17cfcbf2011-07-26 12:14:28 +080052 libdl \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080053 libutils \
54 libandroid_runtime \
55 libnativehelper \
56 libmedia \
Dheeraj Sharma474cb4d2011-01-23 14:21:18 -080057 libaudioflinger \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080058 libbinder \
59 libstagefright \
60 libstagefright_omx \
Mathias Agopian696257c2011-03-25 18:42:40 -070061 libgui \
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080062 libvideoeditorplayer
63
64
65LOCAL_CFLAGS += \
66 -DUSE_STAGEFRIGHT_CODECS \
67 -DUSE_STAGEFRIGHT_AUDIODEC \
68 -DUSE_STAGEFRIGHT_VIDEODEC \
69 -DUSE_STAGEFRIGHT_AUDIOENC \
70 -DUSE_STAGEFRIGHT_VIDEOENC \
71 -DUSE_STAGEFRIGHT_READERS \
Dheeraj Sharma67ec9aa2011-02-04 02:31:45 -080072 -DUSE_STAGEFRIGHT_3GPP_READER
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080073
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080074LOCAL_STATIC_LIBRARIES := \
75 libvideoeditor_core \
76 libstagefright_color_conversion \
77 libvideoeditor_3gpwriter \
78 libvideoeditor_mcs \
79 libvideoeditor_videofilters \
80 libvideoeditor_stagefrightshells \
81 libvideoeditor_osal
82
83LOCAL_MODULE:= libvideoeditor_jni
84
Dharmaray Kundargi6dbd3ee2011-01-19 12:14:46 -080085LOCAL_MODULE_TAGS := optional
Dharmaray Kundargicd196d32011-01-16 15:47:16 -080086
87include $(BUILD_SHARED_LIBRARY)