Bug 384873 - Broken building without XUL but with RDF. Patch by romaxa <romaxa@gmail.com>. r=benjamin
authorsdwilsh@shawnwilsher.com
Thu, 05 Jul 2007 15:44:44 -0700
changeset 3177 02ff77f8834cd9ffbdb4cae48eb3ebd25d0d2b24
parent 3176 61fefadbf64bc584b77ce613c7d19b49bbfb5ba4
child 3178 8fde5b90e06713edbed43a4cbbb654000fa07822
push idunknown
push userunknown
push dateunknown
reviewersbenjamin
bugs384873
milestone1.9a7pre
Bug 384873 - Broken building without XUL but with RDF. Patch by romaxa <romaxa@gmail.com>. r=benjamin
toolkit/library/libxul-config.mk
toolkit/library/nsStaticXULComponents.cpp
--- a/toolkit/library/libxul-config.mk
+++ b/toolkit/library/libxul-config.mk
@@ -186,17 +186,17 @@ ifdef MOZ_XPFE_COMPONENTS
 COMPONENT_LIBS += \
 	windowds \
 	intlapp \
 	$(NULL)
 endif
 endif
 
 ifeq (,$(filter beos os2 mac photon cocoa windows,$(MOZ_WIDGET_TOOLKIT)))
-ifdef MOZ_RDF
+ifdef MOZ_XUL
 ifdef MOZ_XPFE_COMPONENTS
 COMPONENT_LIBS += fileview
 DEFINES += -DMOZ_FILEVIEW
 endif
 endif
 endif
 
 ifdef MOZ_STORAGE
--- a/toolkit/library/nsStaticXULComponents.cpp
+++ b/toolkit/library/nsStaticXULComponents.cpp
@@ -205,17 +205,17 @@
 
 #ifdef MOZ_JSDEBUGGER
 #define JSDEBUGGER_MODULES \
     MODULE(JavaScript_Debugger)
 #else
 #define JSDEBUGGER_MODULES
 #endif
 
-#if defined(MOZ_FILEVIEW) && defined(MOZ_XPFE_COMPONENTS)
+#if defined(MOZ_FILEVIEW) && defined(MOZ_XPFE_COMPONENTS) && defined(MOZ_XUL)
 #define FILEVIEW_MODULE MODULE(nsFileViewModule)
 #else
 #define FILEVIEW_MODULE
 #endif
 
 #ifdef MOZ_STORAGE
 #define STORAGE_MODULE MODULE(mozStorageModule)
 #else