Wed, 31 Dec 2014 06:09:35 +0100
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 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 ]
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 ]
29 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
30 EXTRA_JS_MODULES = [
31 'NetworkStatsDB.jsm',
32 'NetworkStatsService.jsm',
33 ]
35 EXTRA_COMPONENTS += [
36 'TCPServerSocket.js',
37 'TCPSocket.manifest',
38 'TCPSocketParentIntermediary.js',
39 ]
41 EXTRA_PP_COMPONENTS += [
42 'TCPSocket.js',
43 ]
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 ]
59 IPDL_SOURCES += [
60 'PTCPServerSocket.ipdl',
61 'PTCPSocket.ipdl',
62 'PUDPSocket.ipdl',
63 ]
65 FAIL_ON_WARNINGS = True
67 include('/ipc/chromium/chromium-config.mozbuild')
69 FINAL_LIBRARY = 'gklayout'