Android.mk revision 7c9d8018755adf1857571125ba1b3598c96ea506
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 18LOCAL_PATH:= $(call my-dir) 19include $(CLEAR_VARS) 20 21LOCAL_SRC_FILES:= \ 22 VideoEditorVideoDecoder.cpp \ 23 VideoEditorAudioDecoder.cpp \ 24 VideoEditorMp3Reader.cpp \ 25 VideoEditor3gpReader.cpp \ 26 VideoEditorUtils.cpp \ 27 VideoEditorBuffer.c \ 28 VideoEditorVideoEncoder.cpp \ 29 VideoEditorAudioEncoder.cpp 30 31LOCAL_C_INCLUDES += \ 32 $(TOP)/frameworks/base/core/jni \ 33 $(TOP)/frameworks/base/include \ 34 $(TOP)/frameworks/base/include/media \ 35 $(TOP)/frameworks/base/media/libmediaplayerservice \ 36 $(TOP)/frameworks/base/media/libstagefright \ 37 $(TOP)/frameworks/base/media/libstagefright/include \ 38 $(TOP)/frameworks/base/media/libstagefright/rtsp \ 39 $(JNI_H_INCLUDE) \ 40 $(call include-path-for, corecg graphics) \ 41 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \ 42 $(TOP)/external/opencore/android \ 43 $(TOP)/vendor/qcom/proprietary/qdsp6/mm-core/omxcore/inc \ 44 $(TOP)/frameworks/base/core/jni/mediaeditor \ 45 $(TOP)/frameworks/media/libvideoeditor/vss/inc \ 46 $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \ 47 $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \ 48 $(TOP)/frameworks/media/libvideoeditor/lvpp \ 49 $(TOP)/frameworks/media/libvideoeditor/osal/inc \ 50 $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc 51 52LOCAL_SHARED_LIBRARIES := \ 53 libcutils \ 54 libutils \ 55 libandroid_runtime \ 56 libnativehelper \ 57 libmedia \ 58 libbinder \ 59 libstagefright \ 60 libstagefright_omx \ 61 libsurfaceflinger_client \ 62 libvideoeditorplayer 63 64LOCAL_CFLAGS += \ 65 66 67 68LOCAL_LDFLAGS += -fuse-ld=bfd 69 70LOCAL_STATIC_LIBRARIES := \ 71 libvideoeditor_osal \ 72 libstagefright_color_conversion 73 74 75LOCAL_MODULE:= libvideoeditor_stagefrightshells 76 77LOCAL_MODULE_TAGS := eng development 78 79include $(BUILD_STATIC_LIBRARY) 80