author Michael Froman <>
Tue, 21 Mar 2017 19:59:05 -0500
changeset 397137 af9901df3d48f0c683551331507c3c0810e9fc8f
parent 394735 6d0ea58121800a09bec9acb208649a38695bec7d
child 405194 5d77f6b14633a3b83a051e27db7b8769fe3910dd
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

# interfaces/*/ are annotated per directory, this is for new files
with Files("**"):
    BUG_COMPONENT = ("Core", "DOM")

with Files("plugins/**"):
    BUG_COMPONENT = ("Core", "Plug-ins")


interfaces = [

DIRS += ['interfaces/' + i for i in interfaces]

DIRS += [

    DIRS += ['plugins/ipc/hangui']

    DIRS += ['secureelement']

DIRS += ['presentation']


if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3', 'cocoa', 'windows', 'android'):
    TEST_DIRS += ['plugins/test']