summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-03-06 11:37:20 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-03-06 11:37:20 -0500
commit853fe00ba0cb91d564031706ef82038e9a4619ed (patch)
treef06b3982408e09075de54ec2216f1ed85ea521f8
parent083d322b74724d9c1e6277e81a557658a70a8837 (diff)
downloadUXP-853fe00ba0cb91d564031706ef82038e9a4619ed.tar
UXP-853fe00ba0cb91d564031706ef82038e9a4619ed.tar.gz
UXP-853fe00ba0cb91d564031706ef82038e9a4619ed.tar.lz
UXP-853fe00ba0cb91d564031706ef82038e9a4619ed.tar.xz
UXP-853fe00ba0cb91d564031706ef82038e9a4619ed.zip
Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
-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..61271ff27 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 it's own DownloadManagerUI
+# component and it can't be guaranteed that it's implimentation will override
+# toolkit's so don't include toolkit's
+if not CONFIG['MOZ_SUITE'] or not CONFIG['BINOC_COMM_DLMGR']:
EXTRA_COMPONENTS += [
'nsDownloadManagerUI.js',
'nsDownloadManagerUI.manifest',