Bug 1838739 - Initialize result of SetAsGPUOutOfMemoryError. r=webgpu-reviewers,nical
[gecko.git] / netwerk / dns / moz.build
blob17612ff1b396891c8942f53d3f39fbca8bdca6cb
1 # -*- Mode: python; 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/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "Networking: DNS")
10 DIRS += ["tests"]
12 XPIDL_SOURCES += [
13     "nsIDNSAdditionalInfo.idl",
14     "nsIDNSByTypeRecord.idl",
15     "nsIDNSListener.idl",
16     "nsIDNSRecord.idl",
17     "nsIDNSService.idl",
18     "nsIEffectiveTLDService.idl",
19     "nsIIDNService.idl",
20     "nsINativeDNSResolverOverride.idl",
21     "nsITRRSkipReason.idl",
22     "nsPIDNSService.idl",
25 XPIDL_MODULE = "necko_dns"
27 EXTRA_JS_MODULES["netwerk-dns"] += [
28     "PublicSuffixList.sys.mjs",
31 XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
33 EXPORTS += [
34     "nsEffectiveTLDService.h",
37 EXPORTS.mozilla.net += [
38     "ChildDNSService.h",
39     "DNS.h",
40     "DNSByTypeRecord.h",
41     "DNSListenerProxy.h",
42     "DNSPacket.h",
43     "DNSRequestBase.h",
44     "DNSRequestChild.h",
45     "DNSRequestParent.h",
46     "DNSServiceBase.h",
47     "HTTPSSVC.h",
48     "IDNBlocklistUtils.h",
49     "NativeDNSResolverOverrideChild.h",
50     "NativeDNSResolverOverrideParent.h",
51     "TRRService.h",
52     "TRRServiceBase.h",
53     "TRRServiceChild.h",
54     "TRRServiceParent.h",
57 SOURCES += [
58     "GetAddrInfo.cpp",  # Undefines UNICODE
59     "nsEffectiveTLDService.cpp",  # Excluded from UNIFIED_SOURCES due to special build flags.
62 UNIFIED_SOURCES += [
63     "ChildDNSService.cpp",
64     "DNS.cpp",
65     "DNSAdditionalInfo.cpp",
66     "DNSListenerProxy.cpp",
67     "DNSPacket.cpp",
68     "DNSRequestChild.cpp",
69     "DNSRequestParent.cpp",
70     "DNSServiceBase.cpp",
71     "DNSUtils.cpp",
72     "HostRecordQueue.cpp",
73     "HTTPSSVC.cpp",
74     "IDNBlocklistUtils.cpp",
75     "NativeDNSResolverOverrideChild.cpp",
76     "NativeDNSResolverOverrideParent.cpp",
77     "nsDNSService2.cpp",
78     "nsHostRecord.cpp",
79     "nsHostResolver.cpp",
80     "nsIDNService.cpp",
81     "punycode.c",
82     "TRR.cpp",
83     "TRRQuery.cpp",
84     "TRRService.cpp",
85     "TRRServiceBase.cpp",
86     "TRRServiceChild.cpp",
87     "TRRServiceParent.cpp",
90 IPDL_SOURCES = [
91     "PDNSRequest.ipdl",
92     "PDNSRequestParams.ipdlh",
93     "PNativeDNSResolverOverride.ipdl",
94     "PTRRService.ipdl",
97 include("/ipc/chromium/chromium-config.mozbuild")
99 FINAL_LIBRARY = "xul"
101 GeneratedFile(
102     "etld_data.inc", script="prepare_tlds.py", inputs=["effective_tld_names.dat"]
105 # need to include etld_data.inc
106 LOCAL_INCLUDES += [
107     "/netwerk/base",
108     "/netwerk/ipc",
109     "/netwerk/protocol/http",
112 USE_LIBS += ["icu"]