michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIDNSListener.idl', michael@0: 'nsIDNSRecord.idl', michael@0: 'nsIDNSService.idl', michael@0: 'nsIEffectiveTLDService.idl', michael@0: 'nsIIDNService.idl', michael@0: 'nsPIDNSService.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'necko_dns' michael@0: michael@0: EXPORTS.mozilla.net += [ michael@0: 'ChildDNSService.h', michael@0: 'DNS.h', michael@0: 'DNSListenerProxy.h', michael@0: 'DNSRequestChild.h', michael@0: 'DNSRequestParent.h', michael@0: 'PDNSParams.h', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'nsEffectiveTLDService.cpp', # Excluded from UNIFIED_SOURCES due to special build flags. michael@0: 'nsHostResolver.cpp', # Excluded from UNIFIED_SOURCES due to NSPR forced logging. michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'ChildDNSService.cpp', michael@0: 'DNS.cpp', michael@0: 'DNSListenerProxy.cpp', michael@0: 'DNSRequestChild.cpp', michael@0: 'DNSRequestParent.cpp', michael@0: 'nameprep.c', michael@0: 'nsDNSService2.cpp', michael@0: 'nsIDNService.cpp', michael@0: 'punycode.c', michael@0: 'race.c', michael@0: ] michael@0: michael@0: IPDL_SOURCES = [ michael@0: 'PDNSRequest.ipdl', michael@0: 'PDNSRequestParams.ipdlh', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'necko' michael@0: michael@0: GENERATED_FILES = [ michael@0: 'etld_data.inc', michael@0: ] michael@0: michael@0: # need to include etld_data.inc michael@0: LOCAL_INCLUDES += [ michael@0: '../base/src', michael@0: ]