Title: [90780] trunk/Source/WebCore
Revision
90780
Author
[email protected]
Date
2011-07-11 12:55:25 -0700 (Mon, 11 Jul 2011)

Log Message

2011-07-11  Bradley Nelson  <[email protected]>

        Reviewed by Darin Fisher.

        Split webcore_dom off webcore_remaining to reduce its size for
        whole program optimization builds.

        https://bugs.webkit.org/show_bug.cgi?id=64299

        * WebCore.gyp/WebCore.gyp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (90779 => 90780)


--- trunk/Source/WebCore/ChangeLog	2011-07-11 19:33:32 UTC (rev 90779)
+++ trunk/Source/WebCore/ChangeLog	2011-07-11 19:55:25 UTC (rev 90780)
@@ -1,3 +1,14 @@
+2011-07-11  Bradley Nelson  <[email protected]>
+
+        Reviewed by Darin Fisher.
+
+        Split webcore_dom off webcore_remaining to reduce its size for
+        whole program optimization builds.
+
+        https://bugs.webkit.org/show_bug.cgi?id=64299
+
+        * WebCore.gyp/WebCore.gyp:
+
 2011-07-11  Yi Shen  <[email protected]>
 
         [Qt] ASSERTION FAILED in ResourceHandle::setDefersLoading causes crash

Modified: trunk/Source/WebCore/WebCore.gyp/WebCore.gyp (90779 => 90780)


--- trunk/Source/WebCore/WebCore.gyp/WebCore.gyp	2011-07-11 19:33:32 UTC (rev 90779)
+++ trunk/Source/WebCore/WebCore.gyp/WebCore.gyp	2011-07-11 19:55:25 UTC (rev 90780)
@@ -1253,6 +1253,30 @@
       ],
     },
     {
+      'target_name': 'webcore_dom',
+      'type': 'static_library',
+      'dependencies': [
+        'webcore_prerequisites',
+      ],
+      'sources': [
+        '<@(webcore_privateheader_files)',
+        '<@(webcore_files)',
+      ],
+      'sources/': [
+        # Start by excluding everything then include dom files only.
+        ['exclude', '.*'],
+        ['include', 'dom/'],
+
+        # FIXME: Figure out how to store these patterns in a variable.
+        ['exclude', '(android|brew|cairo|ca|cf|cg|curl|efl|freetype|gstreamer|gtk|haiku|linux|mac|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
+        ['exclude', '(?<!Chromium)(Android|Cairo|CF|CG|Curl|Gtk|JSC|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|WinCE|Wx)\\.(cpp|mm?)$'],
+
+        ['exclude', 'AllInOne\\.cpp$'],
+        ['exclude', 'dom/StaticStringList\\.cpp$'],
+        ['exclude', 'dom/default/PlatformMessagePortChannel\\.(cpp|h)$'],
+      ],
+    },
+    {
       'target_name': 'webcore_html',
       'type': 'static_library',
       'dependencies': [
@@ -1614,6 +1638,7 @@
         '<@(webcore_files)',
       ],
       'sources/': [
+        ['exclude', 'dom/'],
         ['exclude', 'html/'],
         ['exclude', 'platform/'],
         ['exclude', 'rendering/'],
@@ -1636,8 +1661,6 @@
 
         ['exclude', 'AllInOne\\.cpp$'],
 
-        ['exclude', 'dom/StaticStringList\\.cpp$'],
-        ['exclude', 'dom/default/PlatformMessagePortChannel\\.(cpp|h)$'],
         ['exclude', 'fileapi/LocalFileSystem\\.cpp$'],
         ['exclude', 'inspector/InspectorFrontendClientLocal\\.cpp$'],
         ['exclude', 'inspector/_javascript_[^/]*\\.cpp$'],
@@ -1741,6 +1764,7 @@
       'type': 'none',
       'dependencies': [
         'webcore_arm_neon',
+        'webcore_dom',
         'webcore_html',
         'webcore_platform',
         'webcore_remaining',
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to