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