netwerk/dns/moz.build

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

     1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     2 # vim: set filetype=python:
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 XPIDL_SOURCES += [
     8     'nsIDNSListener.idl',
     9     'nsIDNSRecord.idl',
    10     'nsIDNSService.idl',
    11     'nsIEffectiveTLDService.idl',
    12     'nsIIDNService.idl',
    13     'nsPIDNSService.idl',
    14 ]
    16 XPIDL_MODULE = 'necko_dns'
    18 EXPORTS.mozilla.net += [
    19     'ChildDNSService.h',
    20     'DNS.h',
    21     'DNSListenerProxy.h',
    22     'DNSRequestChild.h',
    23     'DNSRequestParent.h',
    24     'PDNSParams.h',
    25 ]
    27 SOURCES += [
    28     'nsEffectiveTLDService.cpp', # Excluded from UNIFIED_SOURCES due to special build flags.
    29     'nsHostResolver.cpp',        # Excluded from UNIFIED_SOURCES due to NSPR forced logging.
    30 ]
    32 UNIFIED_SOURCES += [
    33     'ChildDNSService.cpp',
    34     'DNS.cpp',
    35     'DNSListenerProxy.cpp',
    36     'DNSRequestChild.cpp',
    37     'DNSRequestParent.cpp',
    38     'nameprep.c',
    39     'nsDNSService2.cpp',
    40     'nsIDNService.cpp',
    41     'punycode.c',
    42     'race.c',
    43 ]
    45 IPDL_SOURCES = [
    46     'PDNSRequest.ipdl',
    47     'PDNSRequestParams.ipdlh',
    48 ]
    50 FAIL_ON_WARNINGS = True
    52 MSVC_ENABLE_PGO = True
    54 include('/ipc/chromium/chromium-config.mozbuild')
    56 FINAL_LIBRARY = 'necko'
    58 GENERATED_FILES = [
    59     'etld_data.inc',
    60 ]
    62 # need to include etld_data.inc
    63 LOCAL_INCLUDES += [
    64     '../base/src',
    65 ]

mercurial