summaryrefslogtreecommitdiffstats
path: root/toolkit/components/downloads/moz.build
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-05-12 08:19:07 -0500
committertrav90 <travawine@protonmail.ch>2018-05-12 08:19:07 -0500
commit536562284f1ffe459f432f5810d59dcb6eadb8cc (patch)
treeab4e66954e9584598238883c884892a2e043ac2c /toolkit/components/downloads/moz.build
parent8e08b8cef22be82dfc6f62bf8531ba3da097ef9b (diff)
downloadUXP-536562284f1ffe459f432f5810d59dcb6eadb8cc.tar
UXP-536562284f1ffe459f432f5810d59dcb6eadb8cc.tar.gz
UXP-536562284f1ffe459f432f5810d59dcb6eadb8cc.tar.lz
UXP-536562284f1ffe459f432f5810d59dcb6eadb8cc.tar.xz
UXP-536562284f1ffe459f432f5810d59dcb6eadb8cc.zip
Make safebrowsing optional at build time - Part 3: toolkit/
Diffstat (limited to 'toolkit/components/downloads/moz.build')
-rw-r--r--toolkit/components/downloads/moz.build8
1 files changed, 6 insertions, 2 deletions
diff --git a/toolkit/components/downloads/moz.build b/toolkit/components/downloads/moz.build
index 477db0bd6..20394a70d 100644
--- a/toolkit/components/downloads/moz.build
+++ b/toolkit/components/downloads/moz.build
@@ -32,8 +32,6 @@ XPIDL_SOURCES += [
XPIDL_MODULE = 'downloads'
UNIFIED_SOURCES += [
- 'ApplicationReputation.cpp',
- 'chromium/chrome/common/safe_browsing/csd.pb.cc',
'nsDownloadManager.cpp'
]
@@ -42,6 +40,12 @@ SOURCES += [
'SQLFunctions.cpp',
]
+if CONFIG['MOZ_URL_CLASSIFIER']:
+ UNIFIED_SOURCES += [
+ 'ApplicationReputation.cpp',
+ 'chromium/chrome/common/safe_browsing/csd.pb.cc'
+ ]
+
if CONFIG['OS_ARCH'] == 'WINNT':
# Can't build unified because we need CreateEvent which some IPC code
# included in LoadContext ends up undefining.