Backed out 35 changesets (bug 941158, bug 972518, bug 959520, bug 986063, bug 948895...
[gecko.git] / content / media / webrtc / moz.build
blob38ee8a4081e6959bff88ddeae57ff7e247a347d1
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',
14 if CONFIG['MOZ_WEBRTC']:
15     EXPORTS += ['LoadMonitor.h', 'MediaEngineWebRTC.h']
16     UNIFIED_SOURCES += [
17         'LoadMonitor.cpp',
18         'MediaEngineTabVideoSource.cpp',
19         'MediaEngineWebRTCAudio.cpp',
20         'MediaEngineWebRTCVideo.cpp',
21     ]
22     # MediaEngineWebRTC.cpp needs to be built separately.
23     SOURCES += [
24         'MediaEngineWebRTC.cpp',
25     ]
26     LOCAL_INCLUDES += [
27         '/dom/base',
28         '/dom/camera',
29         '/media/webrtc/signaling/src/common',
30         '/media/webrtc/signaling/src/common/browser_logging',
31         '/media/webrtc/trunk',
32     ]
34 XPIDL_SOURCES += [
35     'nsITabSource.idl'
38 UNIFIED_SOURCES += [
39     'MediaEngineDefault.cpp',
42 include('/ipc/chromium/chromium-config.mozbuild')
44 FINAL_LIBRARY = 'gklayout'
45 if CONFIG['OS_ARCH'] == 'WINNT':
46     DEFINES['NOMINMAX'] = True