Blob Blame History Raw
# -*- 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',
]

UNIFIED_SOURCES += [
    'ChannelEventQueue.cpp',
    'NeckoChild.cpp',
    'NeckoCommon.cpp',
    'NeckoParent.cpp',
    'NeckoTargetHolder.cpp',
]

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

# needed so --disable-webrtc builds work (yes, a bit messy)
if not CONFIG['MOZ_WEBRTC']:
  IPDL_SOURCES += [
      '../../media/mtransport/ipc/PStunAddrsRequest.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',
    '/modules/libjar',
    '/netwerk/base',
    '/netwerk/protocol/http',
]