Bug 1839316: part 5) Guard the "fetchpriority" attribute behind a pref. r=kershaw...
[gecko.git] / docshell / base / moz.build
blob049a78d440657ece32c47c9d126157104c032f37
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", "DOM: Navigation")
10 with Files("crashtests/430628*"):
11     BUG_COMPONENT = ("Core", "DOM: Editor")
13 with Files("crashtests/432114*"):
14     BUG_COMPONENT = ("Core", "DOM: Editor")
16 with Files("crashtests/500328*"):
17     BUG_COMPONENT = ("Firefox", "Bookmarks & History")
19 with Files("IHistory.h"):
20     BUG_COMPONENT = ("Toolkit", "Places")
22 with Files("*LoadContext.*"):
23     BUG_COMPONENT = ("Core", "Networking")
25 with Files("nsAboutRedirector.*"):
26     BUG_COMPONENT = ("Core", "General")
28 with Files("nsIScrollObserver.*"):
29     BUG_COMPONENT = ("Core", "Panning and Zooming")
31 DIRS += [
32     "timeline",
35 XPIDL_SOURCES += [
36     "nsIContentViewer.idl",
37     "nsIContentViewerEdit.idl",
38     "nsIDocShell.idl",
39     "nsIDocShellTreeItem.idl",
40     "nsIDocShellTreeOwner.idl",
41     "nsIDocumentLoaderFactory.idl",
42     "nsILoadContext.idl",
43     "nsILoadURIDelegate.idl",
44     "nsIPrivacyTransitionObserver.idl",
45     "nsIReflowObserver.idl",
46     "nsIRefreshURI.idl",
47     "nsITooltipListener.idl",
48     "nsITooltipTextProvider.idl",
49     "nsIURIFixup.idl",
50     "nsIWebNavigation.idl",
51     "nsIWebNavigationInfo.idl",
52     "nsIWebPageDescriptor.idl",
55 XPIDL_MODULE = "docshell"
57 EXPORTS += [
58     "nsCTooltipTextProvider.h",
59     "nsDocShell.h",
60     "nsDocShellLoadState.h",
61     "nsDocShellLoadTypes.h",
62     "nsDocShellTreeOwner.h",
63     "nsDSURIContentListener.h",
64     "nsIScrollObserver.h",
65     "nsWebNavigationInfo.h",
66     "SerializedLoadContext.h",
69 EXPORTS.mozilla += [
70     "BaseHistory.h",
71     "IHistory.h",
72     "LoadContext.h",
75 EXPORTS.mozilla.dom += [
76     "BrowsingContext.h",
77     "BrowsingContextGroup.h",
78     "BrowsingContextWebProgress.h",
79     "CanonicalBrowsingContext.h",
80     "ChildProcessChannelListener.h",
81     "SyncedContext.h",
82     "SyncedContextInlines.h",
83     "WindowContext.h",
86 UNIFIED_SOURCES += [
87     "BaseHistory.cpp",
88     "BrowsingContext.cpp",
89     "BrowsingContextGroup.cpp",
90     "BrowsingContextWebProgress.cpp",
91     "CanonicalBrowsingContext.cpp",
92     "ChildProcessChannelListener.cpp",
93     "LoadContext.cpp",
94     "nsAboutRedirector.cpp",
95     "nsDocShell.cpp",
96     "nsDocShellEditorData.cpp",
97     "nsDocShellEnumerator.cpp",
98     "nsDocShellLoadState.cpp",
99     "nsDocShellTelemetryUtils.cpp",
100     "nsDocShellTreeOwner.cpp",
101     "nsDSURIContentListener.cpp",
102     "nsPingListener.cpp",
103     "nsRefreshTimer.cpp",
104     "nsWebNavigationInfo.cpp",
105     "SerializedLoadContext.cpp",
106     "WindowContext.cpp",
109 include("/ipc/chromium/chromium-config.mozbuild")
111 FINAL_LIBRARY = "xul"
112 LOCAL_INCLUDES += [
113     "/docshell/shistory",
114     "/dom/base",
115     "/dom/bindings",
116     "/js/xpconnect/src",
117     "/layout/base",
118     "/layout/generic",
119     "/layout/style",
120     "/layout/xul",
121     "/netwerk/base",
122     "/netwerk/protocol/viewsource",
123     "/toolkit/components/browser",
124     "/toolkit/components/find",
125     "/tools/profiler",
128 EXTRA_JS_MODULES += ["URIFixup.sys.mjs"]
130 include("/tools/fuzzing/libfuzzer-config.mozbuild")