content/media/omx/moz.build

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rwxr-xr-x

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 EXPORTS += [
michael@0 8 'AudioOffloadPlayerBase.h',
michael@0 9 'MediaOmxDecoder.h',
michael@0 10 'MediaOmxReader.h',
michael@0 11 ]
michael@0 12
michael@0 13 SOURCES += [
michael@0 14 'MediaOmxDecoder.cpp',
michael@0 15 'MediaOmxReader.cpp',
michael@0 16 'OMXCodecProxy.cpp',
michael@0 17 'OmxDecoder.cpp',
michael@0 18 ]
michael@0 19
michael@0 20 if CONFIG['MOZ_AUDIO_OFFLOAD']:
michael@0 21 EXPORTS += [
michael@0 22 'AudioOffloadPlayer.h',
michael@0 23 'AudioOutput.h',
michael@0 24 'AudioSink.h',
michael@0 25 ]
michael@0 26 SOURCES += [
michael@0 27 'AudioOffloadPlayer.cpp',
michael@0 28 'AudioOutput.cpp',
michael@0 29 ]
michael@0 30
michael@0 31 if CONFIG['MOZ_OMX_ENCODER']:
michael@0 32 EXPORTS += [
michael@0 33 'OMXCodecWrapper.h',
michael@0 34 ]
michael@0 35 SOURCES += [
michael@0 36 'OMXCodecDescriptorUtil.cpp',
michael@0 37 'OMXCodecWrapper.cpp',
michael@0 38 ]
michael@0 39
michael@0 40 if 'rtsp' in CONFIG['NECKO_PROTOCOLS']:
michael@0 41 EXPORTS += [
michael@0 42 'RtspOmxDecoder.h',
michael@0 43 'RtspOmxReader.h',
michael@0 44 ]
michael@0 45 SOURCES += [
michael@0 46 'RtspOmxDecoder.cpp',
michael@0 47 'RtspOmxReader.cpp',
michael@0 48 ]
michael@0 49
michael@0 50 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 51
michael@0 52 FINAL_LIBRARY = 'gklayout'
michael@0 53 LOCAL_INCLUDES += [
michael@0 54 '/content/base/src',
michael@0 55 '/content/html/content/src',
michael@0 56 '/ipc/chromium/src',
michael@0 57 'mediaresourcemanager',
michael@0 58 ]
michael@0 59
michael@0 60 CXXFLAGS += [
michael@0 61 '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [
michael@0 62 'dalvik/libnativehelper/include/nativehelper',
michael@0 63 'frameworks/av/include/media',
michael@0 64 'frameworks/base/include',
michael@0 65 'frameworks/base/include/binder',
michael@0 66 'frameworks/base/include/utils',
michael@0 67 'frameworks/base/include/media',
michael@0 68 'frameworks/base/include/media/stagefright/openmax',
michael@0 69 'frameworks/base/media/libstagefright/include',
michael@0 70 'frameworks/native/opengl/include',
michael@0 71 'frameworks/native/include',
michael@0 72 'hardware/libhardware/include/',
michael@0 73 ]
michael@0 74 ]
michael@0 75

mercurial