|
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/. |
|
6 |
|
7 XPIDL_SOURCES += [ |
|
8 'nsIDNSListener.idl', |
|
9 'nsIDNSRecord.idl', |
|
10 'nsIDNSService.idl', |
|
11 'nsIEffectiveTLDService.idl', |
|
12 'nsIIDNService.idl', |
|
13 'nsPIDNSService.idl', |
|
14 ] |
|
15 |
|
16 XPIDL_MODULE = 'necko_dns' |
|
17 |
|
18 EXPORTS.mozilla.net += [ |
|
19 'ChildDNSService.h', |
|
20 'DNS.h', |
|
21 'DNSListenerProxy.h', |
|
22 'DNSRequestChild.h', |
|
23 'DNSRequestParent.h', |
|
24 'PDNSParams.h', |
|
25 ] |
|
26 |
|
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 ] |
|
31 |
|
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 ] |
|
44 |
|
45 IPDL_SOURCES = [ |
|
46 'PDNSRequest.ipdl', |
|
47 'PDNSRequestParams.ipdlh', |
|
48 ] |
|
49 |
|
50 FAIL_ON_WARNINGS = True |
|
51 |
|
52 MSVC_ENABLE_PGO = True |
|
53 |
|
54 include('/ipc/chromium/chromium-config.mozbuild') |
|
55 |
|
56 FINAL_LIBRARY = 'necko' |
|
57 |
|
58 GENERATED_FILES = [ |
|
59 'etld_data.inc', |
|
60 ] |
|
61 |
|
62 # need to include etld_data.inc |
|
63 LOCAL_INCLUDES += [ |
|
64 '../base/src', |
|
65 ] |