dom/network/src/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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'

mercurial