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
28 lines
580 B
Python
28 lines
580 B
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/.
|
|
|
|
FINAL_LIBRARY = "xul"
|
|
|
|
EXPORTS.mozilla += [
|
|
"FOG.h",
|
|
]
|
|
|
|
UNIFIED_SOURCES += [
|
|
"FOG.cpp",
|
|
]
|
|
|
|
XPCOM_MANIFESTS += ["components.conf"]
|
|
|
|
XPIDL_MODULE = "fog"
|
|
|
|
XPIDL_SOURCES += [
|
|
"nsIFOG.idl",
|
|
"nsIGleanMetrics.idl",
|
|
]
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Toolkit", "Telemetry")
|