17c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi#
27c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi# Copyright (C) 2011 The Android Open Source Project
37c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi#
47c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi# Licensed under the Apache License, Version 2.0 (the "License");
57c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi# you may not use this file except in compliance with the License.
67c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi# You may obtain a copy of the License at
77c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi#
87c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi#      http://www.apache.org/licenses/LICENSE-2.0
97c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi#
107c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi# Unless required by applicable law or agreed to in writing, software
117c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi# distributed under the License is distributed on an "AS IS" BASIS,
127c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
137c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi# See the License for the specific language governing permissions and
147c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi# limitations under the License.
157c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi#
167c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
177c9d8018755adf1857571125ba1b3598c96ea506Dharmaray KundargiLOCAL_PATH:= $(call my-dir)
187c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargiinclude $(CLEAR_VARS)
197c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
207c9d8018755adf1857571125ba1b3598c96ea506Dharmaray KundargiLOCAL_SRC_FILES:= \
21427e38084a16ec063983346347decf3ec461eed1James Dong    MediaBufferPuller.cpp \
227c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    VideoEditorVideoDecoder.cpp \
237c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    VideoEditorAudioDecoder.cpp \
247c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    VideoEditorMp3Reader.cpp \
257c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    VideoEditor3gpReader.cpp \
267c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    VideoEditorUtils.cpp \
277c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    VideoEditorBuffer.c \
287c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    VideoEditorVideoEncoder.cpp \
297c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    VideoEditorAudioEncoder.cpp
307c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
317c9d8018755adf1857571125ba1b3598c96ea506Dharmaray KundargiLOCAL_C_INCLUDES += \
32559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/media/libmediaplayerservice \
33559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/media/libstagefright \
34559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/media/libstagefright/include \
35559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/media/libstagefright/rtsp \
367c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    $(call include-path-for, corecg graphics) \
37ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/lvpp \
38ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/osal/inc \
39ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/vss/inc \
40ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/vss/common/inc \
41ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/vss/mcs/inc \
42ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/av/libvideoeditor/vss/stagefrightshells/inc \
43022484535d60499e7429ac8fcf52d8278405704eJames Dong    $(TOP)/frameworks/native/include/media/editor \
44ecb3110adc6db7334ca4be6d5b3c130f38f5fa51James Dong    $(TOP)/frameworks/native/include/media/openmax
457c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
46a86c809bff463ae1d782dcaa1c45d1acea5f34d3James DongLOCAL_SHARED_LIBRARIES :=     \
47a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libcutils                 \
48a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libutils                  \
49a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libmedia                  \
50a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libbinder                 \
51a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libstagefright            \
52c4689fae1bdb8d1c94eb28af1b2a1f30d2b1a3daJames Dong    libstagefright_foundation \
53a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libstagefright_omx        \
54a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libgui                    \
55a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libvideoeditor_osal       \
56a86c809bff463ae1d782dcaa1c45d1acea5f34d3James Dong    libvideoeditorplayer      \
577c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
587c9d8018755adf1857571125ba1b3598c96ea506Dharmaray KundargiLOCAL_CFLAGS += \
597c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
607c9d8018755adf1857571125ba1b3598c96ea506Dharmaray KundargiLOCAL_STATIC_LIBRARIES := \
617c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi    libstagefright_color_conversion
627c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
637c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
647c9d8018755adf1857571125ba1b3598c96ea506Dharmaray KundargiLOCAL_MODULE:= libvideoeditor_stagefrightshells
657c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
66bf3270869c4734e6b628d0a0dbd46015f622ea4aDharmaray KundargiLOCAL_MODULE_TAGS := optional
677c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargi
687c9d8018755adf1857571125ba1b3598c96ea506Dharmaray Kundargiinclude $(BUILD_STATIC_LIBRARY)
69