Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 1 | # |
| 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 \ |
| 37 | AudioPlayerBase.cpp \ |
| 38 | PreviewPlayerBase.cpp \ |
Chih-Chung Chang | 7efb8ef | 2011-07-22 09:01:36 +0800 | [diff] [blame] | 39 | PreviewRenderer.cpp \ |
Chih-Chung Chang | 43fcc39 | 2011-08-02 16:17:39 +0800 | [diff] [blame^] | 40 | YV12ColorConverter.cpp \ |
| 41 | NativeWindowRenderer.cpp |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 42 | |
| 43 | LOCAL_MODULE_TAGS := optional |
| 44 | |
| 45 | LOCAL_STATIC_LIBRARIES := \ |
| 46 | libvideoeditor_osal \ |
| 47 | libstagefright_color_conversion |
| 48 | |
| 49 | |
| 50 | |
| 51 | LOCAL_SHARED_LIBRARIES := \ |
| 52 | libbinder \ |
| 53 | libutils \ |
| 54 | libcutils \ |
| 55 | libmedia \ |
| 56 | libdrmframework \ |
| 57 | libstagefright \ |
| 58 | libstagefright_omx \ |
| 59 | libstagefright_foundation \ |
| 60 | libgui \ |
| 61 | libaudioflinger \ |
Chih-Chung Chang | 43fcc39 | 2011-08-02 16:17:39 +0800 | [diff] [blame^] | 62 | libui \ |
| 63 | libEGL \ |
| 64 | libGLESv2 |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 65 | |
| 66 | |
| 67 | LOCAL_C_INCLUDES += \ |
| 68 | $(TOP)/frameworks/base/core/jni \ |
| 69 | $(TOP)/frameworks/base/include \ |
| 70 | $(TOP)/frameworks/base/include/media \ |
| 71 | $(TOP)/frameworks/base/media/libmediaplayerservice \ |
| 72 | $(TOP)/frameworks/base/media/libstagefright \ |
| 73 | $(TOP)/frameworks/base/media/libstagefright/include \ |
| 74 | $(TOP)/frameworks/base/media/libstagefright/rtsp \ |
| 75 | $(JNI_H_INCLUDE) \ |
| 76 | $(call include-path-for, corecg graphics) \ |
| 77 | $(TOP)/frameworks/base/include/media/stagefright/openmax \ |
| 78 | $(TOP)/frameworks/media/libvideoeditor/osal/inc \ |
| 79 | $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \ |
| 80 | $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \ |
| 81 | $(TOP)/frameworks/media/libvideoeditor/vss/inc \ |
| 82 | $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc \ |
| 83 | $(TOP)/frameworks/media/libvideoeditor/lvpp \ |
Chih-Chung Chang | 7efb8ef | 2011-07-22 09:01:36 +0800 | [diff] [blame] | 84 | $(TOP)/frameworks/media/libvideoeditor/include \ |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 85 | $(TOP)/frameworks/base/media/jni/mediaeditor \ |
| 86 | $(TOP)/frameworks/base/services/audioflinger |
| 87 | |
| 88 | |
Jeff Brown | 2dade01 | 2011-07-11 22:12:22 -0700 | [diff] [blame] | 89 | LOCAL_SHARED_LIBRARIES += libdl |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 90 | |
| 91 | # All of the shared libraries we link against. |
| 92 | LOCAL_LDLIBS := \ |
| 93 | -lpthread -ldl |
| 94 | |
| 95 | LOCAL_CFLAGS += -Wno-multichar \ |
| 96 | -DM4_ENABLE_RENDERINGMODE \ |
| 97 | -DUSE_STAGEFRIGHT_CODECS \ |
| 98 | -DUSE_STAGEFRIGHT_AUDIODEC \ |
| 99 | -DUSE_STAGEFRIGHT_VIDEODEC \ |
| 100 | -DUSE_STAGEFRIGHT_AUDIOENC \ |
| 101 | -DUSE_STAGEFRIGHT_VIDEOENC \ |
| 102 | -DUSE_STAGEFRIGHT_READERS \ |
| 103 | -DUSE_STAGEFRIGHT_3GPP_READER |
| 104 | |
| 105 | include $(BUILD_SHARED_LIBRARY) |
| 106 | |
| 107 | #include $(call all-makefiles-under,$(LOCAL_PATH)) |