fune/toolkit/components/utils/moz.build
Tooru Fujisawa 802076406b Bug 1769002 - Support ESM in components.conf. r=kmag
Also ESM-ify SimpleServices.jsm as an example, given an empty array is not
allowed inside StaticComponents.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D147414
2022-06-17 04:59:14 +00:00

30 lines
826 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/.
with Files("**"):
BUG_COMPONENT = ("Toolkit", "General")
EXTRA_JS_MODULES += [
"SimpleServices.sys.mjs",
]
EXTRA_JS_MODULES["components-utils"] = [
"ClientEnvironment.jsm",
"FilterExpressions.jsm",
"JsonSchemaValidator.jsm",
"mozjexl.js",
"PreferenceFilters.jsm",
"Sampling.jsm",
"WindowsInstallsInfo.jsm",
"WindowsVersionInfo.jsm",
]
XPCOM_MANIFESTS += [
"components.conf",
]
BROWSER_CHROME_MANIFESTS += ["test/browser/browser.ini"]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]