Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 XPIDL_MODULE = 'content_webrtc'
9 EXPORTS += [
10 'MediaEngine.h',
11 'MediaEngineDefault.h',
12 'MediaTrackConstraints.h',
13 ]
15 if CONFIG['MOZ_WEBRTC']:
16 EXPORTS += ['AudioOutputObserver.h',
17 'LoadManager.h',
18 'LoadManagerFactory.h',
19 'LoadMonitor.h',
20 'MediaEngineWebRTC.h']
21 UNIFIED_SOURCES += [
22 'LoadManagerFactory.cpp',
23 'MediaEngineTabVideoSource.cpp',
24 'MediaEngineWebRTCAudio.cpp',
25 'MediaEngineWebRTCVideo.cpp',
26 ]
27 if CONFIG['OS_ARCH'] == 'Android' or CONFIG['OS_ARCH'] == 'Linux':
28 UNIFIED_SOURCES += [
29 'LoadManager.cpp',
30 'LoadMonitor.cpp',
31 ]
32 # MediaEngineWebRTC.cpp needs to be built separately.
33 SOURCES += [
34 'MediaEngineWebRTC.cpp',
35 ]
36 LOCAL_INCLUDES += [
37 '/dom/base',
38 '/dom/camera',
39 '/media/libyuv/include',
40 '/media/webrtc/signaling/src/common',
41 '/media/webrtc/signaling/src/common/browser_logging',
42 '/media/webrtc/trunk',
43 ]
45 XPIDL_SOURCES += [
46 'nsITabSource.idl'
47 ]
49 UNIFIED_SOURCES += [
50 'MediaEngineDefault.cpp',
51 ]
53 include('/ipc/chromium/chromium-config.mozbuild')
55 FINAL_LIBRARY = 'gklayout'
56 if CONFIG['OS_ARCH'] == 'WINNT':
57 DEFINES['NOMINMAX'] = True