30 lines
899 B
Python
30 lines
899 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 = ("Firefox", "Downloads Panel")
|
|
|
|
BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"]
|
|
|
|
JAR_MANIFESTS += ["jar.mn"]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
"DownloadsCommon.sys.mjs",
|
|
"DownloadSpamProtection.sys.mjs",
|
|
"DownloadsTaskbar.sys.mjs",
|
|
"DownloadsViewableInternally.sys.mjs",
|
|
"DownloadsViewUI.sys.mjs",
|
|
]
|
|
|
|
toolkit = CONFIG["MOZ_WIDGET_TOOLKIT"]
|
|
|
|
if toolkit == "cocoa":
|
|
EXTRA_JS_MODULES += ["DownloadsMacFinderProgress.sys.mjs"]
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("Firefox", "Downloads Panel")
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
|