Title: [127787] trunk/Source/WebCore
Revision
127787
Author
[email protected]
Date
2012-09-06 14:44:59 -0700 (Thu, 06 Sep 2012)

Log Message

[chromium] Split platform geometry types into separate static target
https://bugs.webkit.org/show_bug.cgi?id=96021

Reviewed by Tony Chang.

This moves several WebCore/platform geometry classes out of webcore_platform into a separate static library.
This library is relatively standalone and useful to statically link against in other contexts.

* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (127786 => 127787)


--- trunk/Source/WebCore/ChangeLog	2012-09-06 21:41:34 UTC (rev 127786)
+++ trunk/Source/WebCore/ChangeLog	2012-09-06 21:44:59 UTC (rev 127787)
@@ -1,3 +1,16 @@
+2012-09-06  James Robinson  <[email protected]>
+
+        [chromium] Split platform geometry types into separate static target
+        https://bugs.webkit.org/show_bug.cgi?id=96021
+
+        Reviewed by Tony Chang.
+
+        This moves several WebCore/platform geometry classes out of webcore_platform into a separate static library.
+        This library is relatively standalone and useful to statically link against in other contexts.
+
+        * WebCore.gyp/WebCore.gyp:
+        * WebCore.gypi:
+
 2012-09-06  Kenneth Rohde Christiansen  <[email protected]>
 
         [EFL] Fuzzy load the Edje theme for HTML forms

Modified: trunk/Source/WebCore/WebCore.gyp/WebCore.gyp (127786 => 127787)


--- trunk/Source/WebCore/WebCore.gyp/WebCore.gyp	2012-09-06 21:41:34 UTC (rev 127786)
+++ trunk/Source/WebCore/WebCore.gyp/WebCore.gyp	2012-09-06 21:44:59 UTC (rev 127787)
@@ -1900,6 +1900,19 @@
       ],
     },
     {
+      'target_name': 'webcore_platform_geometry',
+      'type': 'static_library',
+      'dependencies': [
+        'webcore_prerequisites',
+      ],
+      'defines': [
+        'WEBKIT_IMPLEMENTATION=1',
+      ],
+      'sources': [
+        '<@(webcore_platform_geometry_files)',
+      ],
+    },
+    {
       'target_name': 'webcore_chromium_compositor',
       'type': 'static_library',
       'dependencies': [
@@ -2130,6 +2143,7 @@
         'webcore_dom',
         'webcore_html',
         'webcore_platform',
+        'webcore_platform_geometry',
         'webcore_remaining',
         'webcore_rendering',
         # Exported.

Modified: trunk/Source/WebCore/WebCore.gypi (127786 => 127787)


--- trunk/Source/WebCore/WebCore.gypi	2012-09-06 21:41:34 UTC (rev 127786)
+++ trunk/Source/WebCore/WebCore.gypi	2012-09-06 21:44:59 UTC (rev 127787)
@@ -4735,11 +4735,6 @@
             'platform/graphics/CrossfadeGeneratedImage.cpp',
             'platform/graphics/CrossfadeGeneratedImage.h',
             'platform/graphics/Extensions3D.h',
-            'platform/graphics/FloatPoint.cpp',
-            'platform/graphics/FloatPoint3D.cpp',
-            'platform/graphics/FloatQuad.cpp',
-            'platform/graphics/FloatRect.cpp',
-            'platform/graphics/FloatSize.cpp',
             'platform/graphics/Font.cpp',
             'platform/graphics/FontCache.cpp',
             'platform/graphics/FontData.cpp',
@@ -4751,7 +4746,6 @@
             'platform/graphics/FontPlatformData.cpp',
             'platform/graphics/FontPlatformData.h',
             'platform/graphics/FractionalLayoutBoxExtent.cpp',
-            'platform/graphics/FractionalLayoutRect.cpp',
             'platform/graphics/GeneratorGeneratedImage.cpp',
             'platform/graphics/GeneratedImage.cpp',
             'platform/graphics/GeneratedImage.h',
@@ -4769,7 +4763,6 @@
             'platform/graphics/ImageBuffer.cpp',
             'platform/graphics/ImageOrientation.cpp',
             'platform/graphics/ImageSource.cpp',
-            'platform/graphics/IntRect.cpp',
             'platform/graphics/MediaPlayer.cpp',
             'platform/graphics/MediaPlayerPrivate.h',
             'platform/graphics/NativeImagePtr.h' ,
@@ -4777,7 +4770,6 @@
             'platform/graphics/PathTraversalState.cpp',
             'platform/graphics/PathTraversalState.h',
             'platform/graphics/Pattern.cpp',
-            'platform/graphics/Region.cpp',
             'platform/graphics/RoundedRect.cpp',
             'platform/graphics/SegmentedFontData.cpp',
             'platform/graphics/SegmentedFontData.h',
@@ -5011,8 +5003,6 @@
             'platform/graphics/gpu/SharedGraphicsContext3D.h',
             'platform/graphics/gpu/Texture.cpp',
             'platform/graphics/gpu/Texture.h',
-            'platform/graphics/gpu/TilingData.cpp',
-            'platform/graphics/gpu/TilingData.h',
             'platform/graphics/gpu/mac/DrawingBufferMac.mm',
             'platform/graphics/gpu/qt/DrawingBufferQt.cpp',
             'platform/graphics/gstreamer/GRefPtrGStreamer.cpp',
@@ -5201,7 +5191,6 @@
             'platform/graphics/texmap/TextureMapperPlatformLayer.h',
             'platform/graphics/texmap/TextureMapperShaderManager.cpp',
             'platform/graphics/texmap/TextureMapperShaderManager.h',
-            'platform/graphics/transforms/AffineTransform.cpp',
             'platform/graphics/transforms/IdentityTransformOperation.h',
             'platform/graphics/transforms/Matrix3DTransformOperation.cpp',
             'platform/graphics/transforms/Matrix3DTransformOperation.h',
@@ -5216,7 +5205,6 @@
             'platform/graphics/transforms/SkewTransformOperation.cpp',
             'platform/graphics/transforms/SkewTransformOperation.h',
             'platform/graphics/transforms/TransformOperations.cpp',
-            'platform/graphics/transforms/TransformationMatrix.cpp',
             'platform/graphics/transforms/TransformState.cpp',
             'platform/graphics/transforms/TransformState.h',
             'platform/graphics/transforms/TranslateTransformOperation.cpp',
@@ -5852,6 +5840,20 @@
             'platform/wx/wxcode/win/non-kerned-drawing.cpp',
             'platform/wx/wxcode/win/scrollbar_render.cpp',
         ],
+        'webcore_platform_geometry_files': [
+            'platform/graphics/FloatPoint.cpp',
+            'platform/graphics/FloatPoint3D.cpp',
+            'platform/graphics/FloatQuad.cpp',
+            'platform/graphics/FloatRect.cpp',
+            'platform/graphics/FloatSize.cpp',
+            'platform/graphics/IntRect.cpp',
+            'platform/graphics/FractionalLayoutRect.cpp',
+            'platform/graphics/Region.cpp',
+            'platform/graphics/transforms/TransformationMatrix.cpp',
+            'platform/graphics/transforms/AffineTransform.cpp',
+            'platform/graphics/gpu/TilingData.cpp',
+            'platform/graphics/gpu/TilingData.h',
+        ],
         'webcore_svg_files': [
             'rendering/style/SVGRenderStyle.cpp',
             'rendering/style/SVGRenderStyleDefs.cpp',
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to