Dharmaray Kundargi | 643290d | 2011-01-16 16:02:42 -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 | # libvideoeditorplayer
|
| 22 | #
|
| 23 |
|
| 24 | include $(CLEAR_VARS)
|
| 25 |
|
| 26 | LOCAL_MODULE:= libvideoeditorplayer
|
| 27 |
|
| 28 | LOCAL_SRC_FILES:= \
|
| 29 | VideoEditorTools.cpp \
|
| 30 | VideoEditorPlayer.cpp \
|
| 31 | PreviewPlayer.cpp \
|
| 32 | VideoEditorAudioPlayer.cpp \
|
| 33 | VideoEditorPreviewController.cpp \
|
| 34 | VideoEditorSRC.cpp \
|
| 35 | DummyAudioSource.cpp \
|
| 36 | DummyVideoSource.cpp \
|
| 37 | VideoEditorBGAudioProcessing.cpp \
|
| 38 | PreviewRenderer.cpp
|
| 39 |
|
Dharmaray Kundargi | bf32708 | 2011-01-19 12:08:27 -0800 | [diff] [blame^] | 40 | LOCAL_MODULE_TAGS := optional
|
Dharmaray Kundargi | 643290d | 2011-01-16 16:02:42 -0800 | [diff] [blame] | 41 |
|
| 42 | LOCAL_STATIC_LIBRARIES := \
|
| 43 | libvideoeditor_osal \
|
| 44 | libstagefright_color_conversion
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 | LOCAL_SHARED_LIBRARIES := \
|
| 49 | libbinder \
|
| 50 | libutils \
|
| 51 | libcutils \
|
| 52 | libmedia \
|
| 53 | libstagefright \
|
| 54 | libstagefright_omx \
|
| 55 | libstagefright_foundation \
|
| 56 | libsurfaceflinger_client \
|
| 57 | libaudioflinger \
|
| 58 | libui
|
| 59 |
|
| 60 |
|
| 61 | LOCAL_C_INCLUDES += \
|
| 62 | $(TOP)/frameworks/base/core/jni \
|
| 63 | $(TOP)/frameworks/base/include \
|
| 64 | $(TOP)/frameworks/base/include/media \
|
| 65 | $(TOP)/frameworks/base/media/libmediaplayerservice \
|
| 66 | $(TOP)/frameworks/base/media/libstagefright \
|
| 67 | $(TOP)/frameworks/base/media/libstagefright/include \
|
| 68 | $(TOP)/frameworks/base/media/libstagefright/rtsp \
|
| 69 | $(JNI_H_INCLUDE) \
|
| 70 | $(call include-path-for, corecg graphics) \
|
Dharmaray Kundargi | ba119eb | 2011-01-18 13:04:07 -0800 | [diff] [blame] | 71 | $(TOP)/frameworks/base/include/media/stagefright/openmax \
|
Dharmaray Kundargi | 643290d | 2011-01-16 16:02:42 -0800 | [diff] [blame] | 72 | $(TOP)/frameworks/media/libvideoeditor/osal/inc \
|
| 73 | $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \
|
| 74 | $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \
|
| 75 | $(TOP)/frameworks/media/libvideoeditor/vss/inc \
|
| 76 | $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc \
|
| 77 | $(TOP)/frameworks/media/libvideoeditor/lvpp \
|
| 78 | $(TOP)/frameworks/base/media/jni/mediaeditor \
|
| 79 | $(TOP)/frameworks/base/services/audioflinger
|
| 80 |
|
| 81 |
|
| 82 | ifeq ($(TARGET_SIMULATOR),true)
|
| 83 | else
|
| 84 | LOCAL_SHARED_LIBRARIES += libdl
|
| 85 | endif
|
| 86 |
|
| 87 | # All of the shared libraries we link against.
|
| 88 | LOCAL_LDLIBS := \
|
| 89 | -lpthread -ldl
|
| 90 |
|
| 91 | LOCAL_CFLAGS += -Wno-multichar \
|
| 92 | -DM4_ENABLE_RENDERINGMODE \
|
| 93 | -DUSE_STAGEFRIGHT_CODECS \
|
| 94 | -DUSE_STAGEFRIGHT_AUDIODEC \
|
| 95 | -DUSE_STAGEFRIGHT_VIDEODEC \
|
| 96 | -DUSE_STAGEFRIGHT_AUDIOENC \
|
| 97 | -DUSE_STAGEFRIGHT_VIDEOENC \
|
| 98 | -DUSE_STAGEFRIGHT_READERS \
|
| 99 | -DUSE_STAGEFRIGHT_3GPP_READER
|
| 100 |
|
| 101 |
|
| 102 | # Don't prelink this library. For more efficient code, you may want
|
| 103 | # to add this library to the prelink map and set this to true.
|
| 104 | LOCAL_PRELINK_MODULE := false
|
| 105 |
|
| 106 | include $(BUILD_SHARED_LIBRARY)
|
| 107 |
|
| 108 | #include $(call all-makefiles-under,$(LOCAL_PATH))
|