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