netwerk/ipc/moz.build
author Bryce Van Dyk <bvandyk@mozilla.com>
Tue, 09 Apr 2019 15:07:19 +0000
changeset 526223 ecb3ee5969c19fe8c52cedb2bd0291edf11dc83c
parent 521878 f18e61be455d493f10a2cc651cd254859894e02e
child 548857 de98fc620593931bf5272f70288a03c2750c7272
permissions -rw-r--r--
Bug 1540136 - P4: Remove ChromiumCDMParent mMainThread as it is unused. r=cpearce a=lizzard Differential Revision: https://phabricator.services.mozilla.com/D26207

# -*- 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/.

EXPORTS.mozilla.net += [
    'ChannelEventQueue.h',
    'NeckoChild.h',
    'NeckoCommon.h',
    'NeckoMessageUtils.h',
    'NeckoParent.h',
    'NeckoTargetHolder.h',
    'SocketProcessBridgeChild.h',
    'SocketProcessBridgeParent.h',
    'SocketProcessChild.h',
    'SocketProcessHost.h',
    'SocketProcessImpl.h',
    'SocketProcessParent.h',
]

UNIFIED_SOURCES += [
    'ChannelEventQueue.cpp',
    'NeckoChild.cpp',
    'NeckoCommon.cpp',
    'NeckoParent.cpp',
    'NeckoTargetHolder.cpp',
    'SocketProcessBridgeChild.cpp',
    'SocketProcessBridgeParent.cpp',
    'SocketProcessChild.cpp',
    'SocketProcessHost.cpp',
    'SocketProcessImpl.cpp',
    'SocketProcessParent.cpp',
]

IPDL_SOURCES = [
    'NeckoChannelParams.ipdlh',
    'PChannelDiverter.ipdl',
    'PDataChannel.ipdl',
    'PFileChannel.ipdl',
    'PNecko.ipdl',
    'PSimpleChannel.ipdl',
    'PSocketProcess.ipdl',
    'PSocketProcessBridge.ipdl'
]

# needed so --disable-webrtc builds work (yes, a bit messy)
if not CONFIG['MOZ_WEBRTC']:
  IPDL_SOURCES += [
      '../../media/mtransport/ipc/PStunAddrsRequest.ipdl',
      '../../media/mtransport/ipc/PWebrtcProxyChannel.ipdl',
  ]
  EXPORTS.mozilla.net += [
      '../../media/mtransport/ipc/NrIceStunAddrMessageUtils.h',
      '../../media/mtransport/ipc/PStunAddrsParams.h',
  ]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
    '/caps',
    '/dom/base',
    '/media/mtransport',
    '/media/webrtc',
    '/modules/libjar',
    '/netwerk/base',
    '/netwerk/protocol/http',
    '/xpcom/threads'
]

# Add libFuzzer configuration directives
include('/tools/fuzzing/libfuzzer-config.mozbuild')