Dharmaray Kundargi | cd196d3 | 2011-01-16 15:47:16 -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 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_SRC_FILES:= \ |
| 21 | VideoEditorMain.cpp \ |
| 22 | VideoEditorClasses.cpp \ |
| 23 | VideoEditorOsal.cpp \ |
| 24 | VideoEditorJava.cpp \ |
| 25 | VideoEditorPropertiesMain.cpp \ |
| 26 | VideoEditorThumbnailMain.cpp \ |
| 27 | VideoBrowserMain.c |
| 28 | |
| 29 | LOCAL_C_INCLUDES += \ |
| 30 | $(TOP)/frameworks/base/core/jni \ |
| 31 | $(TOP)/frameworks/base/include \ |
| 32 | $(TOP)/frameworks/base/include/media \ |
| 33 | $(TOP)/frameworks/base/media/libmediaplayerservice \ |
| 34 | $(TOP)/frameworks/base/media/libstagefright \ |
| 35 | $(TOP)/frameworks/base/media/libstagefright/include \ |
| 36 | $(TOP)/frameworks/base/media/libstagefright/rtsp \ |
| 37 | $(JNI_H_INCLUDE) \ |
| 38 | $(call include-path-for, corecg graphics) \ |
Dharmaray Kundargi | a1a55bb | 2011-01-18 12:40:56 -0800 | [diff] [blame] | 39 | $(TOP)/frameworks/base/include/media/stagefright/openmax \ |
Dharmaray Kundargi | cd196d3 | 2011-01-16 15:47:16 -0800 | [diff] [blame] | 40 | $(TOP)/frameworks/base/core/jni/mediaeditor \ |
| 41 | $(TOP)/frameworks/media/libvideoeditor/vss/inc \ |
| 42 | $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \ |
| 43 | $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \ |
| 44 | $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc \ |
| 45 | $(TOP)/frameworks/media/libvideoeditor/lvpp \ |
| 46 | $(TOP)/frameworks/media/libvideoeditor/osal/inc |
| 47 | |
| 48 | LOCAL_SHARED_LIBRARIES := \ |
| 49 | libcutils \ |
| 50 | libutils \ |
| 51 | libandroid_runtime \ |
| 52 | libnativehelper \ |
| 53 | libmedia \ |
Dheeraj Sharma | 474cb4d | 2011-01-23 14:21:18 -0800 | [diff] [blame] | 54 | libaudioflinger \ |
Dharmaray Kundargi | cd196d3 | 2011-01-16 15:47:16 -0800 | [diff] [blame] | 55 | libbinder \ |
| 56 | libstagefright \ |
| 57 | libstagefright_omx \ |
| 58 | libsurfaceflinger_client \ |
| 59 | libvideoeditorplayer |
| 60 | |
| 61 | |
| 62 | LOCAL_CFLAGS += \ |
| 63 | -DUSE_STAGEFRIGHT_CODECS \ |
| 64 | -DUSE_STAGEFRIGHT_AUDIODEC \ |
| 65 | -DUSE_STAGEFRIGHT_VIDEODEC \ |
| 66 | -DUSE_STAGEFRIGHT_AUDIOENC \ |
| 67 | -DUSE_STAGEFRIGHT_VIDEOENC \ |
| 68 | -DUSE_STAGEFRIGHT_READERS \ |
Dheeraj Sharma | 67ec9aa | 2011-02-04 02:31:45 -0800 | [diff] [blame] | 69 | -DUSE_STAGEFRIGHT_3GPP_READER |
Dharmaray Kundargi | cd196d3 | 2011-01-16 15:47:16 -0800 | [diff] [blame] | 70 | |
| 71 | |
| 72 | LOCAL_LDFLAGS += -fuse-ld=bfd |
| 73 | |
| 74 | LOCAL_STATIC_LIBRARIES := \ |
| 75 | libvideoeditor_core \ |
| 76 | libstagefright_color_conversion \ |
| 77 | libvideoeditor_3gpwriter \ |
| 78 | libvideoeditor_mcs \ |
| 79 | libvideoeditor_videofilters \ |
| 80 | libvideoeditor_stagefrightshells \ |
| 81 | libvideoeditor_osal |
| 82 | |
| 83 | LOCAL_MODULE:= libvideoeditor_jni |
| 84 | |
| 85 | # Don't prelink this library. For more efficient code, you may want |
| 86 | # to add this library to the prelink map and set this to true. |
| 87 | LOCAL_PRELINK_MODULE := false |
| 88 | |
Dharmaray Kundargi | 6dbd3ee | 2011-01-19 12:14:46 -0800 | [diff] [blame] | 89 | LOCAL_MODULE_TAGS := optional |
Dharmaray Kundargi | cd196d3 | 2011-01-16 15:47:16 -0800 | [diff] [blame] | 90 | |
| 91 | include $(BUILD_SHARED_LIBRARY) |