1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/media/webrtc/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,57 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +XPIDL_MODULE = 'content_webrtc' 1.11 + 1.12 +EXPORTS += [ 1.13 + 'MediaEngine.h', 1.14 + 'MediaEngineDefault.h', 1.15 + 'MediaTrackConstraints.h', 1.16 +] 1.17 + 1.18 +if CONFIG['MOZ_WEBRTC']: 1.19 + EXPORTS += ['AudioOutputObserver.h', 1.20 + 'LoadManager.h', 1.21 + 'LoadManagerFactory.h', 1.22 + 'LoadMonitor.h', 1.23 + 'MediaEngineWebRTC.h'] 1.24 + UNIFIED_SOURCES += [ 1.25 + 'LoadManagerFactory.cpp', 1.26 + 'MediaEngineTabVideoSource.cpp', 1.27 + 'MediaEngineWebRTCAudio.cpp', 1.28 + 'MediaEngineWebRTCVideo.cpp', 1.29 + ] 1.30 + if CONFIG['OS_ARCH'] == 'Android' or CONFIG['OS_ARCH'] == 'Linux': 1.31 + UNIFIED_SOURCES += [ 1.32 + 'LoadManager.cpp', 1.33 + 'LoadMonitor.cpp', 1.34 + ] 1.35 + # MediaEngineWebRTC.cpp needs to be built separately. 1.36 + SOURCES += [ 1.37 + 'MediaEngineWebRTC.cpp', 1.38 + ] 1.39 + LOCAL_INCLUDES += [ 1.40 + '/dom/base', 1.41 + '/dom/camera', 1.42 + '/media/libyuv/include', 1.43 + '/media/webrtc/signaling/src/common', 1.44 + '/media/webrtc/signaling/src/common/browser_logging', 1.45 + '/media/webrtc/trunk', 1.46 + ] 1.47 + 1.48 +XPIDL_SOURCES += [ 1.49 + 'nsITabSource.idl' 1.50 +] 1.51 + 1.52 +UNIFIED_SOURCES += [ 1.53 + 'MediaEngineDefault.cpp', 1.54 +] 1.55 + 1.56 +include('/ipc/chromium/chromium-config.mozbuild') 1.57 + 1.58 +FINAL_LIBRARY = 'gklayout' 1.59 +if CONFIG['OS_ARCH'] == 'WINNT': 1.60 + DEFINES['NOMINMAX'] = True