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.

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

mercurial