Backed out changeset aa5fc411278d (bug 1876522) for causing failures on browser_tab_t...
[gecko.git] / browser / components / downloads / moz.build
bloba71810b5e6cd2bf31a867388c1ca01b5bb47f4e2
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/.
7 with Files("*"):
8     BUG_COMPONENT = ("Firefox", "Downloads Panel")
10 BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"]
12 JAR_MANIFESTS += ["jar.mn"]
14 EXTRA_JS_MODULES += [
15     "DownloadsCommon.sys.mjs",
16     "DownloadSpamProtection.sys.mjs",
17     "DownloadsTaskbar.sys.mjs",
18     "DownloadsViewableInternally.sys.mjs",
19     "DownloadsViewUI.sys.mjs",
22 toolkit = CONFIG["MOZ_WIDGET_TOOLKIT"]
24 if toolkit == "cocoa":
25     EXTRA_JS_MODULES += ["DownloadsMacFinderProgress.sys.mjs"]
27 with Files("**"):
28     BUG_COMPONENT = ("Firefox", "Downloads Panel")
30 XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]