2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:19:09 -08:00
|
|
|
# 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/.
|
|
|
|
|
|
|
|
TEST_DIRS += ['test']
|
2013-03-12 10:17:46 -07:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
2013-07-25 21:25:43 -07:00
|
|
|
'nsIApplicationReputation.idl',
|
2013-03-12 10:17:46 -07:00
|
|
|
'nsIDownload.idl',
|
|
|
|
'nsIDownloadManager.idl',
|
|
|
|
'nsIDownloadManagerUI.idl',
|
|
|
|
'nsIDownloadProgressListener.idl',
|
|
|
|
]
|
|
|
|
|
2013-11-18 18:47:43 -08:00
|
|
|
XPIDL_MODULE = 'downloads'
|
2013-03-19 11:47:00 -07:00
|
|
|
|
2013-11-29 15:28:39 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsDownloadManager.cpp',
|
2013-11-29 15:28:39 -08:00
|
|
|
]
|
|
|
|
|
|
|
|
# SQLFunctions.cpp cannot be built in unified mode because of Windows headers.
|
|
|
|
SOURCES += [
|
2013-10-23 16:05:43 -07:00
|
|
|
'SQLFunctions.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-09-26 06:51:59 -07:00
|
|
|
if CONFIG['MOZ_URL_CLASSIFIER']:
|
2013-11-29 15:28:39 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-09-26 06:51:59 -07:00
|
|
|
'ApplicationReputation.cpp',
|
|
|
|
'csd.pb.cc'
|
|
|
|
]
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
2013-11-29 15:28:39 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsDownloadScanner.cpp',
|
|
|
|
]
|
2013-06-10 08:19:28 -07:00
|
|
|
|
|
|
|
# XXX - Until Suite builds off XULRunner we can't guarantee our implementation
|
|
|
|
# of nsIDownloadManagerUI overrides toolkit's.
|
|
|
|
if not CONFIG['MOZ_SUITE']:
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'nsDownloadManagerUI.js',
|
|
|
|
'nsDownloadManagerUI.manifest',
|
|
|
|
]
|
2013-08-21 23:55:59 -07:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-11-18 18:47:14 -08:00
|
|
|
FINAL_LIBRARY = 'toolkitcomps'
|