Android.mk revision ba119eb166c9c06060c3d05b23202402287d7566
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
18LOCAL_PATH:= $(call my-dir)
19include $(CLEAR_VARS)
20
21LOCAL_SRC_FILES:= \
22    VideoEditorVideoDecoder.cpp \
23    VideoEditorAudioDecoder.cpp \
24    VideoEditorMp3Reader.cpp \
25    VideoEditor3gpReader.cpp \
26    VideoEditorUtils.cpp \
27    VideoEditorBuffer.c \
28    VideoEditorVideoEncoder.cpp \
29    VideoEditorAudioEncoder.cpp
30
31LOCAL_C_INCLUDES += \
32    $(TOP)/frameworks/base/core/jni \
33    $(TOP)/frameworks/base/include \
34    $(TOP)/frameworks/base/include/media \
35    $(TOP)/frameworks/base/media/libmediaplayerservice \
36    $(TOP)/frameworks/base/media/libstagefright \
37    $(TOP)/frameworks/base/media/libstagefright/include \
38    $(TOP)/frameworks/base/media/libstagefright/rtsp \
39    $(JNI_H_INCLUDE) \
40    $(call include-path-for, corecg graphics) \
41    $(TOP)/frameworks/base/include/media/stagefright/openmax \
42    $(TOP)/frameworks/base/core/jni/mediaeditor \
43    $(TOP)/frameworks/media/libvideoeditor/vss/inc \
44    $(TOP)/frameworks/media/libvideoeditor/vss/common/inc \
45    $(TOP)/frameworks/media/libvideoeditor/vss/mcs/inc \
46    $(TOP)/frameworks/media/libvideoeditor/lvpp \
47    $(TOP)/frameworks/media/libvideoeditor/osal/inc \
48    $(TOP)/frameworks/media/libvideoeditor/vss/stagefrightshells/inc
49
50LOCAL_SHARED_LIBRARIES := \
51    libcutils \
52    libutils \
53    libandroid_runtime \
54    libnativehelper \
55    libmedia \
56    libbinder \
57    libstagefright \
58    libstagefright_omx \
59    libsurfaceflinger_client \
60    libvideoeditorplayer
61
62LOCAL_CFLAGS += \
63
64
65
66LOCAL_LDFLAGS += -fuse-ld=bfd
67
68LOCAL_STATIC_LIBRARIES := \
69    libvideoeditor_osal \
70    libstagefright_color_conversion
71
72
73LOCAL_MODULE:= libvideoeditor_stagefrightshells
74
75LOCAL_MODULE_TAGS := eng development
76
77include $(BUILD_STATIC_LIBRARY)
78