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 \ |
Chih-Chung Chang | 7efb8ef | 2011-07-22 09:01:36 +0800 | [diff] [blame] | 37 | PreviewRenderer.cpp \ |
Chih-Chung Chang | 2aa01fd | 2011-08-05 17:52:45 +0800 | [diff] [blame] | 38 | I420ColorConverter.cpp \ |
Chih-Chung Chang | 43fcc39 | 2011-08-02 16:17:39 +0800 | [diff] [blame] | 39 | NativeWindowRenderer.cpp |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 40 | |
| 41 | LOCAL_MODULE_TAGS := optional |
| 42 | |
| 43 | LOCAL_STATIC_LIBRARIES := \ |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 44 | libstagefright_color_conversion |
| 45 | |
| 46 | |
| 47 | |
James Dong | a86c809 | 2012-05-15 00:27:46 -0700 | [diff] [blame] | 48 | LOCAL_SHARED_LIBRARIES := \ |
| 49 | libaudioflinger \ |
| 50 | libaudioutils \ |
| 51 | libbinder \ |
| 52 | libcutils \ |
Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame^] | 53 | liblog \ |
James Dong | a86c809 | 2012-05-15 00:27:46 -0700 | [diff] [blame] | 54 | libEGL \ |
| 55 | libGLESv2 \ |
| 56 | libgui \ |
| 57 | libmedia \ |
James Dong | a86c809 | 2012-05-15 00:27:46 -0700 | [diff] [blame] | 58 | libdrmframework \ |
| 59 | libstagefright \ |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 60 | libstagefright_foundation \ |
James Dong | a86c809 | 2012-05-15 00:27:46 -0700 | [diff] [blame] | 61 | libstagefright_omx \ |
Jamie Gennis | 1e5b2b3 | 2012-06-13 16:29:51 -0700 | [diff] [blame] | 62 | libsync \ |
James Dong | a86c809 | 2012-05-15 00:27:46 -0700 | [diff] [blame] | 63 | libui \ |
| 64 | libutils \ |
| 65 | libvideoeditor_osal \ |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 66 | |
| 67 | |
| 68 | LOCAL_C_INCLUDES += \ |
Glenn Kasten | 7bdbbc7 | 2011-12-16 11:07:44 -0800 | [diff] [blame] | 69 | $(TOP)/system/media/audio_utils/include \ |
James Dong | 559bf28 | 2012-03-28 10:29:14 -0700 | [diff] [blame] | 70 | $(TOP)/frameworks/av/media/libmediaplayerservice \ |
| 71 | $(TOP)/frameworks/av/media/libstagefright \ |
| 72 | $(TOP)/frameworks/av/media/libstagefright/include \ |
| 73 | $(TOP)/frameworks/av/media/libstagefright/rtsp \ |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 74 | $(call include-path-for, corecg graphics) \ |
James Dong | ecb3110 | 2012-03-22 19:36:39 -0700 | [diff] [blame] | 75 | $(TOP)/frameworks/av/libvideoeditor/osal/inc \ |
| 76 | $(TOP)/frameworks/av/libvideoeditor/vss/common/inc \ |
| 77 | $(TOP)/frameworks/av/libvideoeditor/vss/mcs/inc \ |
| 78 | $(TOP)/frameworks/av/libvideoeditor/vss/inc \ |
| 79 | $(TOP)/frameworks/av/libvideoeditor/vss/stagefrightshells/inc \ |
| 80 | $(TOP)/frameworks/av/libvideoeditor/lvpp \ |
James Dong | 559bf28 | 2012-03-28 10:29:14 -0700 | [diff] [blame] | 81 | $(TOP)/frameworks/av/services/audioflinger \ |
James Dong | ecb3110 | 2012-03-22 19:36:39 -0700 | [diff] [blame] | 82 | $(TOP)/frameworks/native/include/media/editor \ |
| 83 | $(TOP)/frameworks/native/include/media/openmax \ |
| 84 | $(TOP)/frameworks/native/services/audioflinger |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 85 | |
| 86 | |
Jeff Brown | 2dade01 | 2011-07-11 22:12:22 -0700 | [diff] [blame] | 87 | LOCAL_SHARED_LIBRARIES += libdl |
Chih-Chung Chang | 9969866 | 2011-06-30 14:21:38 +0800 | [diff] [blame] | 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 | |
| 103 | include $(BUILD_SHARED_LIBRARY) |
| 104 | |
| 105 | #include $(call all-makefiles-under,$(LOCAL_PATH)) |