dom/network/src/moz.build

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:4dcc246df554
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 EXPORTS.mozilla.dom.network += [
8 'Connection.h',
9 'Constants.h',
10 'TCPServerSocketChild.h',
11 'TCPServerSocketParent.h',
12 'TCPSocketChild.h',
13 'TCPSocketParent.h',
14 'Types.h',
15 'UDPSocketChild.h',
16 'UDPSocketParent.h',
17 ]
18
19 UNIFIED_SOURCES += [
20 'Connection.cpp',
21 'TCPServerSocketChild.cpp',
22 'TCPServerSocketParent.cpp',
23 'TCPSocketChild.cpp',
24 'TCPSocketParent.cpp',
25 'UDPSocketChild.cpp',
26 'UDPSocketParent.cpp',
27 ]
28
29 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
30 EXTRA_JS_MODULES = [
31 'NetworkStatsDB.jsm',
32 'NetworkStatsService.jsm',
33 ]
34
35 EXTRA_COMPONENTS += [
36 'TCPServerSocket.js',
37 'TCPSocket.manifest',
38 'TCPSocketParentIntermediary.js',
39 ]
40
41 EXTRA_PP_COMPONENTS += [
42 'TCPSocket.js',
43 ]
44
45 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
46 EXTRA_COMPONENTS += [
47 'NetworkStatsManager.js',
48 'NetworkStatsManager.manifest',
49 'NetworkStatsServiceProxy.js',
50 'NetworkStatsServiceProxy.manifest',
51 ]
52 EXPORTS.mozilla.dom.network += [
53 'NetUtils.h',
54 ]
55 UNIFIED_SOURCES += [
56 'NetUtils.cpp',
57 ]
58
59 IPDL_SOURCES += [
60 'PTCPServerSocket.ipdl',
61 'PTCPSocket.ipdl',
62 'PUDPSocket.ipdl',
63 ]
64
65 FAIL_ON_WARNINGS = True
66
67 include('/ipc/chromium/chromium-config.mozbuild')
68
69 FINAL_LIBRARY = 'gklayout'

mercurial