Fix build with recent clang.
[WebKit-https.git] / wscript
diff --git a/wscript b/wscript
index dfa862b..a667613 100644 (file)
--- a/wscript
+++ b/wscript
@@ -39,6 +39,11 @@ from TaskGen import taskgen, feature, after
 import Task, ccroot
 
 def clean_derived_sources(ds_cmd):
+    # the below command does not produce the desired output under Cygwin, so for now,
+    # disable this under Windows.
+    if building_on_win32:
+        return
+        
     cmd = ds_cmd + " -qp | grep -v '^# ' | grep -v '^[[:space:]]' | grep --only-matching '^.*:'"
     output = subprocess.check_output(cmd, shell=True)
     
@@ -348,7 +353,6 @@ def build(bld):
         excludes.append('JSSVGStyleTable.cpp')
         excludes.append('JSSVGTests.cpp')
         excludes.append('JSSVGStylable.cpp')
-        excludes.append('JSSVGZoomAndPan.cpp')
         
         # These are files that expect methods not in the base C++ class, usually XYZAnimated methods.
         excludes.append('JSSVGFitToViewBox.cpp')