Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 1 | # |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 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 | |
| 17 | LOCAL_PATH:= $(call my-dir) |
| 18 | |
| 19 | # |
| 20 | # libvss |
| 21 | # |
| 22 | include $(CLEAR_VARS) |
| 23 | |
| 24 | LOCAL_MODULE:= libvideoeditor_core |
| 25 | |
| 26 | LOCAL_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 Dong | e84b6c0 | 2011-05-02 16:36:48 -0700 | [diff] [blame] | 40 | M4ChannelConverter.c \ |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 41 | M4VD_EXTERNAL_BitstreamParser.c \ |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 42 | M4AIR_API.c \ |
| 43 | M4READER_Pcm.c \ |
| 44 | M4PCMR_CoreReader.c \ |
| 45 | M4AD_Null.c \ |
| 46 | M4AMRR_CoreReader.c \ |
| 47 | M4READER_Amr.c \ |
Dheeraj Sharma | 1526a33 | 2011-01-23 14:12:05 -0800 | [diff] [blame] | 48 | M4VD_Tools.c \ |
Rajneesh Chowdury | 6e779fd | 2011-08-03 16:32:40 -0700 | [diff] [blame] | 49 | VideoEditorResampler.cpp \ |
| 50 | M4DECODER_Null.c |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 51 | |
| 52 | |
Dharmaray Kundargi | bf32708 | 2011-01-19 12:08:27 -0800 | [diff] [blame] | 53 | LOCAL_MODULE_TAGS := optional |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 54 | |
James Dong | a86c809 | 2012-05-15 00:27:46 -0700 | [diff] [blame] | 55 | LOCAL_SHARED_LIBRARIES := \ |
| 56 | libaudioflinger \ |
| 57 | libaudioutils \ |
| 58 | libbinder \ |
| 59 | libcutils \ |
| 60 | libmedia \ |
| 61 | libstagefright \ |
| 62 | libstagefright_foundation \ |
| 63 | libstagefright_omx \ |
| 64 | libutils \ |
| 65 | libvideoeditor_osal \ |
| 66 | libvideoeditor_videofilters \ |
| 67 | libvideoeditorplayer \ |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 68 | |
| 69 | LOCAL_STATIC_LIBRARIES := \ |
James Dong | a86c809 | 2012-05-15 00:27:46 -0700 | [diff] [blame] | 70 | libstagefright_color_conversion \ |
James Dong | 18793d7 | 2012-05-15 14:50:45 -0700 | [diff] [blame] | 71 | libvideoeditor_mcs \ |
James Dong | a86c809 | 2012-05-15 00:27:46 -0700 | [diff] [blame] | 72 | libvideoeditor_stagefrightshells \ |
| 73 | libvideoeditor_3gpwriter \ |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 74 | |
| 75 | LOCAL_C_INCLUDES += \ |
James Dong | ecb3110 | 2012-03-22 19:36:39 -0700 | [diff] [blame] | 76 | $(TOP)/frameworks/av/libvideoeditor/osal/inc \ |
| 77 | $(TOP)/frameworks/av/libvideoeditor/vss/inc \ |
| 78 | $(TOP)/frameworks/av/libvideoeditor/vss/mcs/inc \ |
| 79 | $(TOP)/frameworks/av/libvideoeditor/vss/common/inc \ |
| 80 | $(TOP)/frameworks/av/libvideoeditor/vss/stagefrightshells/inc \ |
James Dong | 559bf28 | 2012-03-28 10:29:14 -0700 | [diff] [blame] | 81 | $(TOP)/frameworks/av/services/audioflinger \ |
James Dong | ecb3110 | 2012-03-22 19:36:39 -0700 | [diff] [blame] | 82 | $(TOP)/frameworks/native/include/media/openmax \ |
| 83 | $(TOP)/frameworks/native/services/audioflinger \ |
| 84 | $(TOP)/system/media/audio_effects/include \ |
| 85 | $(TOP)/system/media/audio_utils/include |
Dheeraj Sharma | 1526a33 | 2011-01-23 14:12:05 -0800 | [diff] [blame] | 86 | |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 87 | |
Jeff Brown | 2dade01 | 2011-07-11 22:12:22 -0700 | [diff] [blame] | 88 | LOCAL_SHARED_LIBRARIES += libdl |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 89 | |
| 90 | # All of the shared libraries we link against. |
| 91 | LOCAL_LDLIBS := \ |
| 92 | -lpthread -ldl |
| 93 | |
| 94 | LOCAL_CFLAGS += -Wno-multichar \ |
| 95 | -DM4xVSS_RESERVED_MOOV_DISK_SPACEno \ |
| 96 | -DDECODE_GIF_ON_SAVING |
| 97 | |
James Dong | a86c809 | 2012-05-15 00:27:46 -0700 | [diff] [blame] | 98 | include $(BUILD_SHARED_LIBRARY) |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 99 | |