Changeset 92159 in webkit


Ignore:
Timestamp:
Aug 1, 2011 5:59:31 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Shard webcore_remaining for msvs official builds

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

Patch by Bradley Nelson <bradnelson@chromium.org> on 2011-08-01
Reviewed by Darin Fisher.

webcore_remaining has consistently exceeded Visual Studio 2008's
capacity to link when link time code generation is turned on (full
release builds). This has been dealt with the past by carving off
larger and larger pieces of webcore_remaining (ie webcore_html,
webcore_renderer etc).
A new option has been added to gyp to automate this sharding:
'msvs_shard': SHARD_COUNT,
Targets marked in this way will be built in several pieces
(target_0, target_1...).
Since the resulting project is less comprehensible in the IDE (and
since the linking limitation only afflicts official builds), this
option is only needed for those builds.
This patch shards webcore_remaining into 10 parts for official builds.

  • WebCore.gyp/WebCore.gyp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r92158 r92159  
     12011-08-01  Bradley Nelson  <bradnelson@chromium.org>
     2
     3        Shard webcore_remaining for msvs official builds
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=65475
     6
     7        Reviewed by Darin Fisher.
     8
     9        webcore_remaining has consistently exceeded Visual Studio 2008's
     10        capacity to link when link time code generation is turned on (full
     11        release builds).  This has been dealt with the past by carving off
     12        larger and larger pieces of webcore_remaining (ie webcore_html,
     13        webcore_renderer etc).
     14        A new option has been added to gyp to automate this sharding:
     15        'msvs_shard': SHARD_COUNT,
     16        Targets marked in this way will be built in several pieces
     17        (target_0, target_1...).
     18        Since the resulting project is less comprehensible in the IDE (and
     19        since the linking limitation only afflicts official builds), this
     20        option is only needed for those builds.
     21        This patch shards webcore_remaining into 10 parts for official builds.
     22
     23        * WebCore.gyp/WebCore.gyp:
     24
    1252011-08-01  Alice Boxhall  <aboxhall@chromium.org>
    226
  • trunk/Source/WebCore/WebCore.gyp/WebCore.gyp

    r91774 r92159  
    17011701      },
    17021702      'conditions': [
     1703        # Shard this taret into ten parts to work around linker limitations.
     1704        # on link time code generation builds.
     1705        ['OS=="win" and buildtype=="Official"', {
     1706          'msvs_shard': 10,
     1707        }],
    17031708        ['OS=="win"', {
    17041709          'sources/': [
Note: See TracChangeset for help on using the changeset viewer.