2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:23 -08:00
|
|
|
# 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/.
|
|
|
|
|
2013-03-12 10:17:46 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDNSListener.idl',
|
|
|
|
'nsIDNSRecord.idl',
|
|
|
|
'nsIDNSService.idl',
|
|
|
|
'nsIEffectiveTLDService.idl',
|
|
|
|
'nsIIDNService.idl',
|
|
|
|
'nsPIDNSService.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'necko_dns'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS.mozilla.net += [
|
|
|
|
'DNS.h',
|
|
|
|
]
|
|
|
|
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-11-22 07:35:18 -08:00
|
|
|
'nsEffectiveTLDService.cpp', # Excluded from UNIFIED_SOURCES due to special build flags.
|
2013-11-23 22:29:24 -08:00
|
|
|
'nsHostResolver.cpp', # Excluded from UNIFIED_SOURCES due to NSPR forced logging.
|
2013-05-24 17:21:14 -07:00
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
|
2013-11-22 07:35:18 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'DNS.cpp',
|
2013-11-22 07:35:18 -08:00
|
|
|
'nameprep.c',
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsDNSService2.cpp',
|
|
|
|
'nsIDNService.cpp',
|
2013-11-22 07:35:18 -08:00
|
|
|
'punycode.c',
|
|
|
|
'race.c',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
2013-06-17 12:21:01 -07:00
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-21 23:56:01 -07:00
|
|
|
MSVC_ENABLE_PGO = True
|
|
|
|
|
2013-11-18 18:47:14 -08:00
|
|
|
FINAL_LIBRARY = 'necko'
|
2013-11-21 15:16:18 -08:00
|
|
|
|
|
|
|
GENERATED_FILES = [
|
|
|
|
'etld_data.inc',
|
|
|
|
]
|
2013-11-28 06:25:39 -08:00
|
|
|
|
|
|
|
# need to include etld_data.inc
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base/src',
|
|
|
|
]
|