netwerk/dns/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netwerk/dns/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,65 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +XPIDL_SOURCES += [
    1.11 +    'nsIDNSListener.idl',
    1.12 +    'nsIDNSRecord.idl',
    1.13 +    'nsIDNSService.idl',
    1.14 +    'nsIEffectiveTLDService.idl',
    1.15 +    'nsIIDNService.idl',
    1.16 +    'nsPIDNSService.idl',
    1.17 +]
    1.18 +
    1.19 +XPIDL_MODULE = 'necko_dns'
    1.20 +
    1.21 +EXPORTS.mozilla.net += [
    1.22 +    'ChildDNSService.h',
    1.23 +    'DNS.h',
    1.24 +    'DNSListenerProxy.h',
    1.25 +    'DNSRequestChild.h',
    1.26 +    'DNSRequestParent.h',
    1.27 +    'PDNSParams.h',
    1.28 +]
    1.29 +
    1.30 +SOURCES += [
    1.31 +    'nsEffectiveTLDService.cpp', # Excluded from UNIFIED_SOURCES due to special build flags.
    1.32 +    'nsHostResolver.cpp',        # Excluded from UNIFIED_SOURCES due to NSPR forced logging.
    1.33 +]
    1.34 +
    1.35 +UNIFIED_SOURCES += [
    1.36 +    'ChildDNSService.cpp',
    1.37 +    'DNS.cpp',
    1.38 +    'DNSListenerProxy.cpp',
    1.39 +    'DNSRequestChild.cpp',
    1.40 +    'DNSRequestParent.cpp',
    1.41 +    'nameprep.c',
    1.42 +    'nsDNSService2.cpp',
    1.43 +    'nsIDNService.cpp',
    1.44 +    'punycode.c',
    1.45 +    'race.c',
    1.46 +]
    1.47 +
    1.48 +IPDL_SOURCES = [
    1.49 +    'PDNSRequest.ipdl',
    1.50 +    'PDNSRequestParams.ipdlh',
    1.51 +]
    1.52 +
    1.53 +FAIL_ON_WARNINGS = True
    1.54 +
    1.55 +MSVC_ENABLE_PGO = True
    1.56 +
    1.57 +include('/ipc/chromium/chromium-config.mozbuild')
    1.58 +
    1.59 +FINAL_LIBRARY = 'necko'
    1.60 +
    1.61 +GENERATED_FILES = [
    1.62 +    'etld_data.inc',
    1.63 +]
    1.64 +
    1.65 +# need to include etld_data.inc
    1.66 +LOCAL_INCLUDES += [
    1.67 +    '../base/src',
    1.68 +]

mercurial