blob: 0caa15b69c6cd38de688df832643134e7e7fa7f7 [file] [log] [blame]
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -08001#
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -08002# 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)
18
19#
20# libvss
21#
22include $(CLEAR_VARS)
23
24LOCAL_MODULE:= libvideoeditor_core
25
26LOCAL_SRC_FILES:= \
27 M4PTO3GPP_API.c \
28 M4PTO3GPP_VideoPreProcessing.c \
29 M4VIFI_xVSS_RGB565toYUV420.c \
30 M4xVSS_API.c \
31 M4xVSS_internal.c \
32 M4VSS3GPP_AudioMixing.c \
33 M4VSS3GPP_Clip.c \
34 M4VSS3GPP_ClipAnalysis.c \
35 M4VSS3GPP_Codecs.c \
36 M4VSS3GPP_Edit.c \
37 M4VSS3GPP_EditAudio.c \
38 M4VSS3GPP_EditVideo.c \
39 M4VSS3GPP_MediaAndCodecSubscription.c \
James Donge84b6c02011-05-02 16:36:48 -070040 M4ChannelConverter.c \
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080041 M4VD_EXTERNAL_BitstreamParser.c \
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080042 M4AIR_API.c \
43 M4READER_Pcm.c \
44 M4PCMR_CoreReader.c \
45 M4AD_Null.c \
46 M4AMRR_CoreReader.c \
47 M4READER_Amr.c \
Dheeraj Sharma1526a332011-01-23 14:12:05 -080048 M4VD_Tools.c \
Rajneesh Chowdury6e779fd2011-08-03 16:32:40 -070049 VideoEditorResampler.cpp \
50 M4DECODER_Null.c
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080051
52
Dharmaray Kundargibf327082011-01-19 12:08:27 -080053LOCAL_MODULE_TAGS := optional
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080054
James Donga86c8092012-05-15 00:27:46 -070055LOCAL_SHARED_LIBRARIES := \
56 libaudioflinger \
57 libaudioutils \
58 libbinder \
59 libcutils \
Ying Wangda0dc0a2013-04-09 21:53:49 -070060 liblog \
James Donga86c8092012-05-15 00:27:46 -070061 libmedia \
62 libstagefright \
63 libstagefright_foundation \
64 libstagefright_omx \
65 libutils \
66 libvideoeditor_osal \
67 libvideoeditor_videofilters \
68 libvideoeditorplayer \
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080069
70LOCAL_STATIC_LIBRARIES := \
James Donga86c8092012-05-15 00:27:46 -070071 libstagefright_color_conversion \
James Dong18793d72012-05-15 14:50:45 -070072 libvideoeditor_mcs \
James Donga86c8092012-05-15 00:27:46 -070073 libvideoeditor_stagefrightshells \
74 libvideoeditor_3gpwriter \
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080075
76LOCAL_C_INCLUDES += \
James Dongecb31102012-03-22 19:36:39 -070077 $(TOP)/frameworks/av/libvideoeditor/osal/inc \
78 $(TOP)/frameworks/av/libvideoeditor/vss/inc \
79 $(TOP)/frameworks/av/libvideoeditor/vss/mcs/inc \
80 $(TOP)/frameworks/av/libvideoeditor/vss/common/inc \
81 $(TOP)/frameworks/av/libvideoeditor/vss/stagefrightshells/inc \
James Dong559bf282012-03-28 10:29:14 -070082 $(TOP)/frameworks/av/services/audioflinger \
James Dongecb31102012-03-22 19:36:39 -070083 $(TOP)/frameworks/native/include/media/openmax \
84 $(TOP)/frameworks/native/services/audioflinger \
85 $(TOP)/system/media/audio_effects/include \
86 $(TOP)/system/media/audio_utils/include
Dheeraj Sharma1526a332011-01-23 14:12:05 -080087
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080088
Jeff Brown2dade012011-07-11 22:12:22 -070089LOCAL_SHARED_LIBRARIES += libdl
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080090
91# All of the shared libraries we link against.
92LOCAL_LDLIBS := \
93 -lpthread -ldl
94
95LOCAL_CFLAGS += -Wno-multichar \
96 -DM4xVSS_RESERVED_MOOV_DISK_SPACEno \
97 -DDECODE_GIF_ON_SAVING
98
James Donga86c8092012-05-15 00:27:46 -070099include $(BUILD_SHARED_LIBRARY)