Bug 653106 - Port |Bug 572463 - Prototype urlclassifier/safe browsing client code in JS| to SeaMonkey; (Bv1) SeaMonkey needs |ifdef MOZ_URL_CLASSIFIER| (ftb).
authorSerge Gautherie <sgautherie.bz@free.fr>
Sun, 15 May 2011 09:48:59 +0200
changeset 7775 10c820cd498b82f28a844983f82dca460c5bdab1
parent 7774 fa2b5a32efaaa00bdc9acf2649f036587f9e85e5
child 7776 85db216cd817aabbe429f1c9b3af6af8d7a0ffea
push idunknown
push userunknown
push dateunknown
bugs653106, 572463
Bug 653106 - Port |Bug 572463 - Prototype urlclassifier/safe browsing client code in JS| to SeaMonkey; (Bv1) SeaMonkey needs |ifdef MOZ_URL_CLASSIFIER| (ftb). r=Callek.
suite/installer/Makefile.in
suite/installer/package-manifest.in
--- a/suite/installer/Makefile.in
+++ b/suite/installer/Makefile.in
@@ -107,16 +107,20 @@ endif
 ifdef NSS_DISABLE_DBM
 DEFINES += -DNSS_DISABLE_DBM=1
 endif
 
 ifdef _MSC_VER
 DEFINES += -D_MSC_VER=$(_MSC_VER)
 endif
 
+ifdef MOZ_URL_CLASSIFIER
+DEFINES += -DMOZ_URL_CLASSIFIER=1
+endif
+
 ifdef MOZ_USE_NATIVE_UCONV
 DEFINES += -DMOZ_USE_NATIVE_UCONV=1
 endif
 
 ifdef MOZ_UPDATER
 DEFINES += -DMOZ_UPDATER=1
 endif
 
--- a/suite/installer/package-manifest.in
+++ b/suite/installer/package-manifest.in
@@ -403,19 +403,21 @@
 @BINPATH@/components/nsTypeAheadFind.js
 #ifdef MOZ_UPDATER
 @BINPATH@/components/nsUpdateService.js
 @BINPATH@/components/nsUpdateService.manifest
 @BINPATH@/components/nsUpdateServiceStub.js
 #endif
 @BINPATH@/components/nsUpdateTimerManager.js
 @BINPATH@/components/nsUpdateTimerManager.manifest
+#ifdef MOZ_URL_CLASSIFIER
 #ifndef MOZILLA_5_0_BRANCH
 @BINPATH@/components/nsUrlClassifierHashCompleter.js
 #endif
+#endif
 @BINPATH@/components/nsURLFormatter.js
 @BINPATH@/components/nsURLFormatter.manifest
 @BINPATH@/components/nsWebHandlerApp.js
 @BINPATH@/components/nsWebHandlerApp.manifest
 @BINPATH@/components/passwordmgr.manifest
 @BINPATH@/components/PlacesCategoriesStarter.js
 @BINPATH@/components/pluginGlue.manifest
 @BINPATH@/components/smileApplication.js