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

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

mercurial