summaryrefslogtreecommitdiffstats
path: root/browser/components/downloads/moz.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--browser/components/downloads/moz.build30
1 files changed, 30 insertions, 0 deletions
diff --git a/browser/components/downloads/moz.build b/browser/components/downloads/moz.build
new file mode 100644
index 0000000000..b57a240c4e
--- /dev/null
+++ b/browser/components/downloads/moz.build
@@ -0,0 +1,30 @@
+# -*- 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.ini"]
+
+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.ini"]