content/media/webrtc/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
-rw-r--r--

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 XPIDL_MODULE = 'content_webrtc'
michael@0 8
michael@0 9 EXPORTS += [
michael@0 10 'MediaEngine.h',
michael@0 11 'MediaEngineDefault.h',
michael@0 12 'MediaTrackConstraints.h',
michael@0 13 ]
michael@0 14
michael@0 15 if CONFIG['MOZ_WEBRTC']:
michael@0 16 EXPORTS += ['AudioOutputObserver.h',
michael@0 17 'LoadManager.h',
michael@0 18 'LoadManagerFactory.h',
michael@0 19 'LoadMonitor.h',
michael@0 20 'MediaEngineWebRTC.h']
michael@0 21 UNIFIED_SOURCES += [
michael@0 22 'LoadManagerFactory.cpp',
michael@0 23 'MediaEngineTabVideoSource.cpp',
michael@0 24 'MediaEngineWebRTCAudio.cpp',
michael@0 25 'MediaEngineWebRTCVideo.cpp',
michael@0 26 ]
michael@0 27 if CONFIG['OS_ARCH'] == 'Android' or CONFIG['OS_ARCH'] == 'Linux':
michael@0 28 UNIFIED_SOURCES += [
michael@0 29 'LoadManager.cpp',
michael@0 30 'LoadMonitor.cpp',
michael@0 31 ]
michael@0 32 # MediaEngineWebRTC.cpp needs to be built separately.
michael@0 33 SOURCES += [
michael@0 34 'MediaEngineWebRTC.cpp',
michael@0 35 ]
michael@0 36 LOCAL_INCLUDES += [
michael@0 37 '/dom/base',
michael@0 38 '/dom/camera',
michael@0 39 '/media/libyuv/include',
michael@0 40 '/media/webrtc/signaling/src/common',
michael@0 41 '/media/webrtc/signaling/src/common/browser_logging',
michael@0 42 '/media/webrtc/trunk',
michael@0 43 ]
michael@0 44
michael@0 45 XPIDL_SOURCES += [
michael@0 46 'nsITabSource.idl'
michael@0 47 ]
michael@0 48
michael@0 49 UNIFIED_SOURCES += [
michael@0 50 'MediaEngineDefault.cpp',
michael@0 51 ]
michael@0 52
michael@0 53 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 54
michael@0 55 FINAL_LIBRARY = 'gklayout'
michael@0 56 if CONFIG['OS_ARCH'] == 'WINNT':
michael@0 57 DEFINES['NOMINMAX'] = True

mercurial