forked from mirrors/gecko-dev
We enable compilation of FOG/Glean on _all_ platforms. We disable Glean initialization and metric recording on Android (GeckoView) by respecting MOZ_GLEAN_ANDROID. This way GeckoView just works, consumers don't need to think about it (except in tests, these need to be disabled for Android builds). Stubbing out the metric implementations will happen in the commits after this one. Differential Revision: https://phabricator.services.mozilla.com/D106766
98 lines
2.6 KiB
Python
98 lines
2.6 KiB
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Core", "DOM: Core & HTML")
|
|
|
|
with Files("ChannelWrapper.webidl"):
|
|
BUG_COMPONENT = ("WebExtensions", "Request Handling")
|
|
|
|
with Files("Flex.webidl"):
|
|
BUG_COMPONENT = ("Core", "CSS Parsing and Computation")
|
|
|
|
with Files("HeapSnapshot.webidl"):
|
|
BUG_COMPONENT = ("DevTools", "Memory")
|
|
|
|
with Files("InspectorUtils.webidl"):
|
|
BUG_COMPONENT = ("DevTools", "Inspector")
|
|
|
|
with Files("MatchGlob.webidl"):
|
|
BUG_COMPONENT = ("WebExtensions", "General")
|
|
|
|
with Files("MatchPattern.webidl"):
|
|
BUG_COMPONENT = ("WebExtensions", "General")
|
|
|
|
with Files("WebExtension*.webidl"):
|
|
BUG_COMPONENT = ("WebExtensions", "General")
|
|
|
|
with Files("Glean*.webidl"):
|
|
BUG_COMPONENT = ("Toolkit", "Telemetry")
|
|
|
|
PREPROCESSED_WEBIDL_FILES = [
|
|
"ChromeUtils.webidl",
|
|
]
|
|
|
|
WEBIDL_FILES = [
|
|
"BrowsingContext.webidl",
|
|
"ChannelWrapper.webidl",
|
|
"ClonedErrorHolder.webidl",
|
|
"DebuggerNotification.webidl",
|
|
"DebuggerNotificationObserver.webidl",
|
|
"DebuggerUtils.webidl",
|
|
"DocumentL10n.webidl",
|
|
"DOMCollectedFrames.webidl",
|
|
"DominatorTree.webidl",
|
|
"Flex.webidl",
|
|
"Fluent.webidl",
|
|
"FrameLoader.webidl",
|
|
"HeapSnapshot.webidl",
|
|
"InspectorUtils.webidl",
|
|
"IOUtils.webidl",
|
|
"IteratorResult.webidl",
|
|
"JSActor.webidl",
|
|
"JSProcessActor.webidl",
|
|
"JSWindowActor.webidl",
|
|
"L10nOverlays.webidl",
|
|
"MatchGlob.webidl",
|
|
"MatchPattern.webidl",
|
|
"MediaController.webidl",
|
|
"MessageManager.webidl",
|
|
"MozDocumentObserver.webidl",
|
|
"MozSharedMap.webidl",
|
|
"MozStorageAsyncStatementParams.webidl",
|
|
"MozStorageStatementParams.webidl",
|
|
"MozStorageStatementRow.webidl",
|
|
"NetDashboard.webidl",
|
|
"PathUtils.webidl",
|
|
"PrecompiledScript.webidl",
|
|
"PromiseDebugging.webidl",
|
|
"SessionStoreUtils.webidl",
|
|
"StructuredCloneHolder.webidl",
|
|
"TelemetryStopwatch.webidl",
|
|
"UserInteraction.webidl",
|
|
"WebExtensionContentScript.webidl",
|
|
"WebExtensionPolicy.webidl",
|
|
"WindowGlobalActors.webidl",
|
|
"XULFrameElement.webidl",
|
|
"XULMenuElement.webidl",
|
|
"XULTextElement.webidl",
|
|
"XULTreeElement.webidl",
|
|
]
|
|
|
|
if CONFIG["MOZ_PLACES"]:
|
|
WEBIDL_FILES += [
|
|
"PlacesEvent.webidl",
|
|
"PlacesObservers.webidl",
|
|
]
|
|
|
|
WEBIDL_FILES += [
|
|
"Glean.webidl",
|
|
"GleanPings.webidl",
|
|
]
|
|
|
|
WEBIDL_FILES += [
|
|
"PrioEncoder.webidl",
|
|
]
|