2009-01-20 Darin Fisher <darin@chromium.org>
[WebKit-https.git] / WebCore / DerivedSources.cpp
index 4533ab0..2324ebb 100644 (file)
 
 // This all-in-one cpp file cuts down on template bloat to allow us to build our Windows release build.
 
-#include "HTMLNames.cpp"
 #include "JSAttr.cpp"
 #include "JSBarInfo.cpp"
 #include "JSCanvasGradient.cpp"
 #include "JSCanvasPattern.cpp"
-#include "JSCanvasPixelArray.cpp"
 #include "JSCanvasRenderingContext2D.cpp"
 #include "JSCDATASection.cpp"
 #include "JSCharacterData.cpp"
 #include "JSDOMImplementation.cpp"
 #include "JSDOMParser.cpp"
 #include "JSDOMSelection.cpp"
+#include "JSDOMStringList.cpp"
 #include "JSDOMWindow.cpp"
 #include "JSElement.cpp"
 #include "JSEntity.cpp"
 #include "JSEntityReference.cpp"
 #include "JSEvent.cpp"
 #include "JSEventException.cpp"
+#include "JSEventTargetNode.cpp"
 #include "JSFile.cpp"
 #include "JSFileList.cpp"
 #include "JSHistory.cpp"
 #include "JSLocation.cpp"
 #include "JSMediaError.cpp"
 #include "JSMediaList.cpp"
+#include "JSMessageChannel.cpp"
 #include "JSMessageEvent.cpp"
+#include "JSMessagePort.cpp"
 #include "JSMimeType.cpp"
 #include "JSMimeTypeArray.cpp"
 #include "JSMouseEvent.cpp"
 #include "JSSVGZoomEvent.cpp"
 #include "JSText.cpp"
 #include "JSTextEvent.cpp"
+#include "JSTextMetrics.cpp"
 #include "JSTimeRanges.cpp"
 #include "JSTreeWalker.cpp"
 #include "JSUIEvent.cpp"
 #include "JSVoidCallback.cpp"
+#include "JSWebKitAnimationEvent.cpp"
+#include "JSWebKitCSSKeyframeRule.cpp"
+#include "JSWebKitCSSKeyframesRule.cpp"
 #include "JSWebKitCSSTransformValue.cpp"
+#include "JSWebKitCSSMatrix.cpp"
+#include "JSWebKitTransitionEvent.cpp"
 #include "JSWheelEvent.cpp"
+#include "JSWorker.cpp"
+#include "JSWorkerContext.cpp"
+#include "JSWorkerLocation.cpp"
+#include "JSWorkerNavigator.cpp"
 #include "JSXMLHttpRequest.cpp"
 #include "JSXMLHttpRequestException.cpp"
 #include "JSXMLHttpRequestProgressEvent.cpp"
 #include "JSXPathResult.cpp"
 #include "JSXSLTProcessor.cpp"
 #include "SVGElementFactory.cpp"
-#include "SVGNames.cpp"
 #include "UserAgentStyleSheetsData.cpp"
-#include "XLinkNames.cpp"
-#include "XMLNames.cpp"
+
+// On MSVC, including StaticConstructors.h causes all global objects not to be
+// automatically initialized by the C runtime. This is useful in some specific
+// cases (e.g., the *Names.cpp files), but can be dangerous in others. We don't
+// want StaticConstructors.h to "pollute" all the source files we #include here
+// accidentally, so we'll throw an error whenever any file includes it.
+#ifdef StaticConstructors_h
+#error Don't include any file in DerivedSources.cpp that includes StaticConstructors.h
+#endif