Don't include nsDownloadManagerUI if the Communicator version is used

Maintain backwards compatibility with MOZ_SUITE
This commit is contained in:
Matt A. Tobin 2019-03-06 12:02:27 -05:00 committed by Roy Tam
commit fbac3d3bce

View file

@ -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',