python/moz.build
author Michael Froman <mfroman@mozilla.com>
Tue, 21 Mar 2017 19:59:05 -0500
changeset 397137 af9901df3d48f0c683551331507c3c0810e9fc8f
parent 394709 7d63722ec2a608f501af896fed2e4b98edc0ba10
child 400506 f04a9d6fc819cf90473b9e2f073485fc75ce818c
permissions -rw-r--r--
Bug 1345511 - pt 2 - add IPC mechanism for getting stun addrs on main process. r=bwc PStunAddrsRequest.ipdl defines the new IPC protocol to get stun addrs on the main process. StunAddrsRequestChild requests the stun addrs from the parent. StunAddrsRequestParent uses a static method on NrIceCtx to get the stun addrs from the STS thead and sends the addrs back to the child process. NrIceStunAddr (nricestunaddr.{cpp|h}) wraps nr_local_addr and makes it easier to serialize/deserialize over IPC. NrIceStunAddrMessageUtils follows the pattern used by other Necko IPC classes to define top-level serialization/deserialization calls used by the IPC framework. Modifications under netwerk/ipc are to connect the new IPC protocol to get stun addrs to PNecko since it is a network related IPC protocol. MozReview-Commit-ID: GyEapBe5krl

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# Default extra components to build config
with Files('**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('PyECC/**'):
    BUG_COMPONENT = ('Core', 'Security: PSM')

with Files('altgraph/**'):
    BUG_COMPONENT = ('Release Engineering', 'General Automation')

with Files('bitstring/**'):
    BUG_COMPONENT = ('Release Engineering', 'General Automation')

with Files('blessings/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('compare-locales/**'):
    BUG_COMPONENT = ('Localization Infrastructure and Tools', 'compare-locales')

with Files('configobj/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('devtools/**'):
    BUG_COMPONENT = ('Firefox', 'Developer Tools')

with Files('dlmanager/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('eme/**'):
    BUG_COMPONENT = ('Release Engineering', 'General Automation')

with Files('futures/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('gdbpp/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('jsmin/**'):
    BUG_COMPONENT = ('Firefox for Android', 'Build Config & IDE Support')

with Files('lldbutils/**'):
    BUG_COMPONENT = ('Core', 'General')

with Files('mach/**'):
    BUG_COMPONENT = ('Core', 'mach')

with Files('macholib/**'):
    BUG_COMPONENT = ('Release Engineering', 'General Automation')

with Files('mock-1.0.0/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('mozboot/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('mozbuild/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('mozlint/**'):
    BUG_COMPONENT = ('Testing', 'Lint')

with Files('mozversioncontrol/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('psutil/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('py/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('pyasn1/**'):
    BUG_COMPONENT = ('Release Engineering', 'General Automation')

with Files('pyasn1-modules/**'):
    BUG_COMPONENT = ('Core', 'Security: PSM')

with Files('pylru/**'):
    BUG_COMPONENT = ('mozilla.org', 'MozillaBuild')

with Files('pystache/**'):
    BUG_COMPONENT = ('Taskcluster', 'General')

with Files('pytest/**'):
    BUG_COMPONENT = ('Testing', 'General')

with Files('pytoml/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('pyyaml/**'):
    BUG_COMPONENT = ('Taskcluster', 'General')

with Files('redo/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('requests/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('rsa/**'):
    BUG_COMPONENT = ('Core', 'Security: PSM')

with Files('slugid/**'):
    BUG_COMPONENT = ('Taskcluster', 'Platform Libraries')

with Files('virtualenv/**'):
    BUG_COMPONENT = ('Core', 'Build Config')

with Files('voluptuous/**'):
    BUG_COMPONENT = ('Taskcluster', 'Task Configuration')

with Files('which/**'):
    BUG_COMPONENT = ('Core', 'Build Config')


SPHINX_PYTHON_PACKAGE_DIRS += [
    'mach',
    'mozbuild/mozbuild',
    'mozbuild/mozpack',
    'mozlint/mozlint',
    'mozversioncontrol/mozversioncontrol',
]

SPHINX_TREES['mach'] = 'mach/docs'

PYTHON_UNITTEST_MANIFESTS += [
    'mach/mach/test/python.ini',
    'mozbuild/dumbmake/test/python.ini',
    'mozlint/test/python.ini',
]

if CONFIG['MOZ_BUILD_APP']:
    PYTHON_UNITTEST_MANIFESTS += [
        'mozbuild/mozbuild/test/python.ini',
        'mozbuild/mozpack/test/python.ini',
    ]