moz.build (4042B)
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: Core & HTML") 9 10 with Files("ChannelWrapper.webidl"): 11 BUG_COMPONENT = ("WebExtensions", "Request Handling") 12 13 with Files("Flex.webidl"): 14 BUG_COMPONENT = ("Core", "CSS Parsing and Computation") 15 16 with Files("HeapSnapshot.webidl"): 17 BUG_COMPONENT = ("DevTools", "Memory") 18 19 with Files("InspectorUtils.webidl"): 20 BUG_COMPONENT = ("DevTools", "Inspector") 21 22 with Files("MatchGlob.webidl"): 23 BUG_COMPONENT = ("WebExtensions", "General") 24 25 with Files("MatchPattern.webidl"): 26 BUG_COMPONENT = ("WebExtensions", "General") 27 28 with Files("WebExtension*.webidl"): 29 BUG_COMPONENT = ("WebExtensions", "General") 30 31 with Files("IOUtils.webidl"): 32 BUG_COMPONENT = ("Core", "XPCOM") 33 34 with Files("PathUtils.webidl"): 35 BUG_COMPONENT = ("Core", "XPCOM") 36 37 with Files("WidevineCDMManifest.webidl"): 38 BUG_COMPONENT = ("Core", "Audio/Video: Playback") 39 40 PREPROCESSED_WEBIDL_FILES = [ 41 "ChromeUtils.webidl", 42 "IOUtils.webidl", 43 ] 44 45 WEBIDL_FILES = [ 46 "BrowserSessionStore.webidl", 47 "BrowsingContext.webidl", 48 "ChannelWrapper.webidl", 49 "ChildSHistory.webidl", 50 "ChromeNodeList.webidl", 51 "ClonedErrorHolder.webidl", 52 "ConsoleInstance.webidl", 53 "CSSCustomPropertyRegisteredEvent.webidl", 54 "DebuggerNotification.webidl", 55 "DebuggerNotificationObserver.webidl", 56 "DebuggerUtils.webidl", 57 "DocumentL10n.webidl", 58 "DOMCollectedFrames.webidl", 59 "DominatorTree.webidl", 60 "Flex.webidl", 61 "Fluent.webidl", 62 "FrameLoader.webidl", 63 "Grid.webidl", 64 "HeapSnapshot.webidl", 65 "ImageText.webidl", 66 "InspectorUtils.webidl", 67 "IteratorResult.webidl", 68 "JSActor.webidl", 69 "JSActorTypeUtils.webidl", 70 "JSProcessActor.webidl", 71 "JSWindowActor.webidl", 72 "L10nOverlays.webidl", 73 "L10nRegistry.webidl", 74 "LoadURIOptions.webidl", 75 "MatchGlob.webidl", 76 "MatchPattern.webidl", 77 "MediaController.webidl", 78 "MessageManager.webidl", 79 "MozDocumentObserver.webidl", 80 "MozSharedMap.webidl", 81 "MozStorageAsyncStatementParams.webidl", 82 "MozStorageStatementParams.webidl", 83 "MozStorageStatementRow.webidl", 84 "NetDashboard.webidl", 85 "PathUtils.webidl", 86 "PermissionSetParameters.webidl", 87 "PrecompiledScript.webidl", 88 "PromiseDebugging.webidl", 89 "SessionStoreUtils.webidl", 90 "StripOnShareRule.webidl", 91 "StructuredCloneHolder.webidl", 92 "StyleSheetApplicableStateChangeEvent.webidl", 93 "StyleSheetRemovedEvent.webidl", 94 "TreeColumn.webidl", 95 "TreeColumns.webidl", 96 "TreeContentView.webidl", 97 "TreeView.webidl", 98 "UserInteraction.webidl", 99 "WebCompat.webidl", 100 "WebExtensionContentScript.webidl", 101 "WebExtensionPolicy.webidl", 102 "WidevineCDMManifest.webidl", 103 "WindowGlobalActors.webidl", 104 "WindowRoot.webidl", 105 "XULCommandEvent.webidl", 106 "XULElement.webidl", 107 "XULFrameElement.webidl", 108 "XULMenuElement.webidl", 109 "XULPopupElement.webidl", 110 "XULResizerElement.webidl", 111 "XULTextElement.webidl", 112 "XULTreeElement.webidl", 113 ] 114 115 GENERATED_EVENTS_WEBIDL_FILES = [ 116 "CSSCustomPropertyRegisteredEvent.webidl", 117 "PluginCrashedEvent.webidl", 118 "PopupPositionedEvent.webidl", 119 "RedirectBlockedEvent.webidl", 120 "StyleSheetApplicableStateChangeEvent.webidl", 121 "StyleSheetRemovedEvent.webidl", 122 ] 123 124 if CONFIG["MOZ_BUILD_APP"] != "mobile/android": 125 WEBIDL_FILES += [ 126 "UniFFI.webidl", 127 ] 128 129 if CONFIG["MOZ_PLACES"]: 130 WEBIDL_FILES += [ 131 "PlacesEvent.webidl", 132 "PlacesObservers.webidl", 133 ] 134 135 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows": 136 WEBIDL_FILES += [ 137 "WindowsJumpListShortcutDescription.webidl", 138 ] 139 140 if CONFIG["MOZ_WEBRTC"]: 141 WEBIDL_FILES += [ 142 "WebrtcGlobalInformation.webidl", 143 ]