summaryrefslogtreecommitdiffstats
path: root/toolkit/components/downloads
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-03-06 12:02:27 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-03-06 12:02:27 -0500
commit7e0d3b80f114a1905003804c35cd863d634ecdbb (patch)
tree0edcd572c5f53c84773a77e2fab4aa6e83e3e61b /toolkit/components/downloads
parent011610259b2445023cfc779fe8a009c0aad5c420 (diff)
downloadUXP-7e0d3b80f114a1905003804c35cd863d634ecdbb.tar
UXP-7e0d3b80f114a1905003804c35cd863d634ecdbb.tar.gz
UXP-7e0d3b80f114a1905003804c35cd863d634ecdbb.tar.lz
UXP-7e0d3b80f114a1905003804c35cd863d634ecdbb.tar.xz
UXP-7e0d3b80f114a1905003804c35cd863d634ecdbb.zip
Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
Diffstat (limited to 'toolkit/components/downloads')
-rw-r--r--toolkit/components/downloads/moz.build7
1 files changed, 4 insertions, 3 deletions
diff --git a/toolkit/components/downloads/moz.build b/toolkit/components/downloads/moz.build
index 20394a70d..e611f4010 100644
--- a/toolkit/components/downloads/moz.build
+++ b/toolkit/components/downloads/moz.build
@@ -53,9 +53,10 @@ if CONFIG['OS_ARCH'] == 'WINNT':
'nsDownloadScanner.cpp',
]
-# XXX - Until Suite builds off XULRunner we can't guarantee our implementation
-# of nsIDownloadManagerUI overrides toolkit's.
-if not CONFIG['MOZ_SUITE']:
+# The Communicator Downloads Manager uses its own DownloadManagerUI
+# component and it can't be guaranteed that its implimentation will override
+# toolkit's so don't include toolkit's
+if not CONFIG['MOZ_SUITE'] and not CONFIG['BINOC_COMM_DLMGR']:
EXTRA_COMPONENTS += [
'nsDownloadManagerUI.js',
'nsDownloadManagerUI.manifest',