Bumping manifests a=b2g-bump
[gecko.git] / dom / network / moz.build
blobee6ac73e747c4b2b863f7dc2ce89b2c97d67eecf
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 DIRS += ['interfaces']
9 XPCSHELL_TESTS_MANIFESTS += [
10     'tests/unit/xpcshell.ini',
11     'tests/unit_ipc/xpcshell.ini',
14 if CONFIG['MOZ_B2G_RIL']:
15     XPCSHELL_TESTS_MANIFESTS += ['tests/unit_stats/xpcshell.ini']
17 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
19 EXPORTS.mozilla.dom += [
20     'UDPSocket.h',
23 EXPORTS.mozilla.dom.network += [
24     'Connection.h',
25     'Constants.h',
26     'TCPServerSocketChild.h',
27     'TCPServerSocketParent.h',
28     'TCPSocketChild.h',
29     'TCPSocketParent.h',
30     'Types.h',
31     'UDPSocketChild.h',
32     'UDPSocketParent.h',
35 UNIFIED_SOURCES += [
36     'Connection.cpp',
37     'TCPServerSocketChild.cpp',
38     'TCPServerSocketParent.cpp',
39     'TCPSocketChild.cpp',
40     'TCPSocketParent.cpp',
41     'UDPSocket.cpp',
42     'UDPSocketChild.cpp',
43     'UDPSocketParent.cpp',
46 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
47     EXTRA_JS_MODULES += [
48         'NetworkStatsDB.jsm',
49         'NetworkStatsService.jsm',
50     ]
52 EXTRA_COMPONENTS += [
53     'TCPServerSocket.js',
54     'TCPSocket.manifest',
55     'TCPSocketParentIntermediary.js',
58 EXTRA_PP_COMPONENTS += [
59     'TCPSocket.js',
62 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
63     EXTRA_COMPONENTS += [
64         'NetworkStatsManager.js',
65         'NetworkStatsManager.manifest',
66         'NetworkStatsServiceProxy.js',
67         'NetworkStatsServiceProxy.manifest',
68     ]
69     EXPORTS.mozilla.dom.network += [
70         'NetUtils.h',
71     ]
72     UNIFIED_SOURCES += [
73         'NetUtils.cpp',
74     ]
76 IPDL_SOURCES += [
77     'PTCPServerSocket.ipdl',
78     'PTCPSocket.ipdl',
79     'PUDPSocket.ipdl',
82 FAIL_ON_WARNINGS = True
84 include('/ipc/chromium/chromium-config.mozbuild')
86 FINAL_LIBRARY = 'xul'