Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 NXP Software |
| 3 | # Copyright (C) 2011 The Android Open Source Project |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | |
| 18 | LOCAL_PATH:= $(call my-dir) |
| 19 | |
| 20 | # |
| 21 | # libvss |
| 22 | # |
| 23 | include $(CLEAR_VARS) |
| 24 | |
| 25 | LOCAL_MODULE:= libvideoeditor_core |
| 26 | |
| 27 | LOCAL_SRC_FILES:= \ |
| 28 | M4PTO3GPP_API.c \ |
| 29 | M4PTO3GPP_VideoPreProcessing.c \ |
| 30 | M4VIFI_xVSS_RGB565toYUV420.c \ |
| 31 | M4xVSS_API.c \ |
| 32 | M4xVSS_internal.c \ |
| 33 | M4VSS3GPP_AudioMixing.c \ |
| 34 | M4VSS3GPP_Clip.c \ |
| 35 | M4VSS3GPP_ClipAnalysis.c \ |
| 36 | M4VSS3GPP_Codecs.c \ |
| 37 | M4VSS3GPP_Edit.c \ |
| 38 | M4VSS3GPP_EditAudio.c \ |
| 39 | M4VSS3GPP_EditVideo.c \ |
| 40 | M4VSS3GPP_MediaAndCodecSubscription.c \ |
James Dong | e84b6c0 | 2011-05-02 16:36:48 -0700 | [diff] [blame^] | 41 | M4ChannelConverter.c \ |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 42 | M4VD_EXTERNAL_BitstreamParser.c \ |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 43 | M4AIR_API.c \ |
| 44 | M4READER_Pcm.c \ |
| 45 | M4PCMR_CoreReader.c \ |
| 46 | M4AD_Null.c \ |
| 47 | M4AMRR_CoreReader.c \ |
| 48 | M4READER_Amr.c \ |
Dheeraj Sharma | 1526a33 | 2011-01-23 14:12:05 -0800 | [diff] [blame] | 49 | M4VD_Tools.c \ |
| 50 | VideoEditorResampler.cpp |
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 | |
| 55 | LOCAL_SHARED_LIBRARIES := libcutils libutils |
| 56 | |
| 57 | LOCAL_STATIC_LIBRARIES := \ |
| 58 | libvideoeditor_osal \ |
| 59 | libvideoeditor_3gpwriter \ |
| 60 | libvideoeditor_mcs \ |
| 61 | libvideoeditor_videofilters \ |
| 62 | libvideoeditor_stagefrightshells |
| 63 | |
| 64 | LOCAL_C_INCLUDES += \ |
Dheeraj Sharma | 1526a33 | 2011-01-23 14:12:05 -0800 | [diff] [blame] | 65 | $(TOP)/frameworks/base/include \ |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 66 | $(TOP)/frameworks/media/libvideoeditor/osal/inc \ |
| 67 | $(TOP)/frameworks/media/libvideoeditor/vss/inc \ |
| 68 | $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \ |
| 69 | $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \ |
Dheeraj Sharma | 1526a33 | 2011-01-23 14:12:05 -0800 | [diff] [blame] | 70 | $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc \ |
| 71 | $(TOP)/frameworks/base/services/audioflinger \ |
| 72 | |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 73 | |
| 74 | ifeq ($(TARGET_SIMULATOR),true) |
| 75 | else |
| 76 | LOCAL_SHARED_LIBRARIES += libdl |
| 77 | endif |
| 78 | |
| 79 | # All of the shared libraries we link against. |
| 80 | LOCAL_LDLIBS := \ |
| 81 | -lpthread -ldl |
| 82 | |
| 83 | LOCAL_CFLAGS += -Wno-multichar \ |
| 84 | -DM4xVSS_RESERVED_MOOV_DISK_SPACEno \ |
| 85 | -DDECODE_GIF_ON_SAVING |
| 86 | |
Dharmaray Kundargi | 7c9d801 | 2011-01-16 15:59:43 -0800 | [diff] [blame] | 87 | include $(BUILD_STATIC_LIBRARY) |
| 88 | |