dom/media/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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 if CONFIG['MOZ_WEBRTC']:
michael@0 8 DIRS += ['bridge']
michael@0 9
michael@0 10 LOCAL_INCLUDES += [
michael@0 11 '/media/webrtc/signaling/src/common',
michael@0 12 '/media/webrtc/trunk',
michael@0 13 ]
michael@0 14
michael@0 15 TEST_DIRS += ['tests/mochitest', 'tests/ipc', 'tests/identity']
michael@0 16
michael@0 17 XPIDL_SOURCES += [
michael@0 18 'nsIDOMMediaStream.idl',
michael@0 19 'nsIDOMNavigatorUserMedia.idl',
michael@0 20 'nsIMediaManager.idl',
michael@0 21 ]
michael@0 22
michael@0 23 XPIDL_MODULE = 'dom_media'
michael@0 24
michael@0 25 EXPORTS.mozilla.dom += [
michael@0 26 'GetUserMediaRequest.h',
michael@0 27 ]
michael@0 28
michael@0 29 EXPORTS.mozilla += [
michael@0 30 'MediaManager.h',
michael@0 31 ]
michael@0 32
michael@0 33 UNIFIED_SOURCES += [
michael@0 34 'GetUserMediaRequest.cpp',
michael@0 35 'MediaManager.cpp',
michael@0 36 ]
michael@0 37
michael@0 38 EXTRA_COMPONENTS += [
michael@0 39 'PeerConnection.js',
michael@0 40 'PeerConnection.manifest',
michael@0 41 ]
michael@0 42
michael@0 43 JS_MODULES_PATH = 'modules/media'
michael@0 44
michael@0 45 EXTRA_JS_MODULES += [
michael@0 46 'IdpProxy.jsm',
michael@0 47 'PeerConnectionIdp.jsm',
michael@0 48 ]
michael@0 49
michael@0 50 if CONFIG['MOZ_B2G']:
michael@0 51 EXPORTS.mozilla += [
michael@0 52 'MediaPermissionGonk.h',
michael@0 53 ]
michael@0 54 SOURCES += [
michael@0 55 'MediaPermissionGonk.cpp',
michael@0 56 ]
michael@0 57
michael@0 58 FAIL_ON_WARNINGS = True
michael@0 59
michael@0 60 LOCAL_INCLUDES += [
michael@0 61 '../base',
michael@0 62 '../camera',
michael@0 63 ]
michael@0 64
michael@0 65 include('/ipc/chromium/chromium-config.mozbuild')
michael@0 66
michael@0 67 FINAL_LIBRARY = 'gklayout'

mercurial