moz.build (928B)
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/. 6 7 with Files("*"): 8 BUG_COMPONENT = ("Firefox", "Downloads Panel") 9 10 BROWSER_CHROME_MANIFESTS += ["test/browser/browser.toml"] 11 12 JAR_MANIFESTS += ["jar.mn"] 13 14 MOZ_SRC_FILES += [ 15 "DownloadsCommon.sys.mjs", 16 "DownloadSpamProtection.sys.mjs", 17 "DownloadsTaskbar.sys.mjs", 18 "DownloadsTorWarning.sys.mjs", 19 "DownloadsViewableInternally.sys.mjs", 20 "DownloadsViewUI.sys.mjs", 21 ] 22 23 toolkit = CONFIG["MOZ_WIDGET_TOOLKIT"] 24 25 if toolkit == "cocoa": 26 MOZ_SRC_FILES += ["DownloadsMacFinderProgress.sys.mjs"] 27 28 with Files("**"): 29 BUG_COMPONENT = ("Firefox", "Downloads Panel") 30 31 XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]