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