netwerk/socket/moz.build
author Kai Engert <kaie@kuix.de>
Thu, 18 Jan 2018 14:02:42 +0100
changeset 399814 2e91a03fa6b8e72435aed05993dff55ec4ce0047
parent 320789 b70e2870aced6f68754549a9ac1e9997978cc0c0
child 442671 79795a6721ccdafcaf4f68898240568047cdd18f
permissions -rw-r--r--
Bug 1420407, uplift NSPR_4_18_RTM, no code change, only version number. Require version 4.18 for building. r=me UPGRADE_NSPR_RELEASE

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

XPIDL_SOURCES += [
    'nsISocketProvider.idl',
    'nsISocketProviderService.idl',
    'nsISOCKSSocketInfo.idl',
    'nsISSLSocketControl.idl',
    'nsITransportSecurityInfo.idl',
]

XPIDL_MODULE = 'necko_socket'

LOCAL_INCLUDES += [
    '/netwerk/base',
]

UNIFIED_SOURCES += [
    'nsSocketProviderService.cpp',
    'nsSOCKSIOLayer.cpp',
    'nsSOCKSSocketProvider.cpp',
    'nsUDPSocketProvider.cpp',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    XPIDL_SOURCES += [
        'nsINamedPipeService.idl',
    ]
    UNIFIED_SOURCES += [
        'nsNamedPipeIOLayer.cpp',
        'nsNamedPipeService.cpp'
    ]

FINAL_LIBRARY = 'xul'