dom/network/src/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/network/src/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,69 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +EXPORTS.mozilla.dom.network += [
    1.11 +    'Connection.h',
    1.12 +    'Constants.h',
    1.13 +    'TCPServerSocketChild.h',
    1.14 +    'TCPServerSocketParent.h',
    1.15 +    'TCPSocketChild.h',
    1.16 +    'TCPSocketParent.h',
    1.17 +    'Types.h',
    1.18 +    'UDPSocketChild.h',
    1.19 +    'UDPSocketParent.h',
    1.20 +]
    1.21 +
    1.22 +UNIFIED_SOURCES += [
    1.23 +    'Connection.cpp',
    1.24 +    'TCPServerSocketChild.cpp',
    1.25 +    'TCPServerSocketParent.cpp',
    1.26 +    'TCPSocketChild.cpp',
    1.27 +    'TCPSocketParent.cpp',
    1.28 +    'UDPSocketChild.cpp',
    1.29 +    'UDPSocketParent.cpp',
    1.30 +]
    1.31 +
    1.32 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
    1.33 +    EXTRA_JS_MODULES = [
    1.34 +        'NetworkStatsDB.jsm',
    1.35 +        'NetworkStatsService.jsm',
    1.36 +    ]
    1.37 +
    1.38 +EXTRA_COMPONENTS += [
    1.39 +    'TCPServerSocket.js',
    1.40 +    'TCPSocket.manifest',
    1.41 +    'TCPSocketParentIntermediary.js',
    1.42 +]
    1.43 +
    1.44 +EXTRA_PP_COMPONENTS += [
    1.45 +    'TCPSocket.js',
    1.46 +]
    1.47 +
    1.48 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
    1.49 +    EXTRA_COMPONENTS += [
    1.50 +        'NetworkStatsManager.js',
    1.51 +        'NetworkStatsManager.manifest',
    1.52 +        'NetworkStatsServiceProxy.js',
    1.53 +        'NetworkStatsServiceProxy.manifest',
    1.54 +    ]
    1.55 +    EXPORTS.mozilla.dom.network += [
    1.56 +        'NetUtils.h',
    1.57 +    ]
    1.58 +    UNIFIED_SOURCES += [
    1.59 +        'NetUtils.cpp',
    1.60 +    ]
    1.61 +
    1.62 +IPDL_SOURCES += [
    1.63 +    'PTCPServerSocket.ipdl',
    1.64 +    'PTCPSocket.ipdl',
    1.65 +    'PUDPSocket.ipdl',
    1.66 +]
    1.67 +
    1.68 +FAIL_ON_WARNINGS = True
    1.69 +
    1.70 +include('/ipc/chromium/chromium-config.mozbuild')
    1.71 +
    1.72 +FINAL_LIBRARY = 'gklayout'

mercurial