blob: ba59088b8343fd23a494c1990faace5d2e0689f8 [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 \
49 VideoEditorResampler.cpp
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080050
51
Dharmaray Kundargibf327082011-01-19 12:08:27 -080052LOCAL_MODULE_TAGS := optional
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080053
54LOCAL_SHARED_LIBRARIES := libcutils libutils
55
56LOCAL_STATIC_LIBRARIES := \
57 libvideoeditor_osal \
58 libvideoeditor_3gpwriter \
59 libvideoeditor_mcs \
60 libvideoeditor_videofilters \
61 libvideoeditor_stagefrightshells
62
63LOCAL_C_INCLUDES += \
Dheeraj Sharma1526a332011-01-23 14:12:05 -080064 $(TOP)/frameworks/base/include \
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080065 $(TOP)/frameworks/media/libvideoeditor/osal/inc \
66 $(TOP)/frameworks/media/libvideoeditor/vss/inc \
67 $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \
68 $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \
Dheeraj Sharma1526a332011-01-23 14:12:05 -080069 $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc \
70 $(TOP)/frameworks/base/services/audioflinger \
71
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080072
73ifeq ($(TARGET_SIMULATOR),true)
74else
75 LOCAL_SHARED_LIBRARIES += libdl
76endif
77
78# All of the shared libraries we link against.
79LOCAL_LDLIBS := \
80 -lpthread -ldl
81
82LOCAL_CFLAGS += -Wno-multichar \
83 -DM4xVSS_RESERVED_MOOV_DISK_SPACEno \
84 -DDECODE_GIF_ON_SAVING
85
Dharmaray Kundargi7c9d8012011-01-16 15:59:43 -080086include $(BUILD_STATIC_LIBRARY)
87