Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Side by Side Diff: third_party/WebKit/Source/core/core.gyp

Issue 1842203003: Shard webcore_dom to avoid MSVS 2 GB limitation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2009 Google Inc. All rights reserved. 2 # Copyright (C) 2009 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 'target_name': 'webcore_dom', 282 'target_name': 'webcore_dom',
283 'type': 'static_library', 283 'type': 'static_library',
284 'dependencies': [ 284 'dependencies': [
285 'webcore_prerequisites', 285 'webcore_prerequisites',
286 ], 286 ],
287 'sources': [ 287 'sources': [
288 '<@(webcore_dom_files)', 288 '<@(webcore_dom_files)',
289 ], 289 ],
290 # Disable c4267 warnings until we fix size_t to int truncations. 290 # Disable c4267 warnings until we fix size_t to int truncations.
291 'msvs_disabled_warnings': [ 4267, ], 291 'msvs_disabled_warnings': [ 4267, ],
292 'conditions': [
293 # Shard this target into parts to work around linker limitations.
294 # on link time code generation builds. See crbug.com/599186
295 ['OS=="win" and buildtype=="Official"', {
296 'msvs_shard': 5,
dcheng 2016/03/30 23:17:25 Out of curiosity, why 5?
brucedawson 2016/03/30 23:32:06 No particular reason - copy/paste with no reason t
297 }],
298 ],
292 }, 299 },
293 { 300 {
294 # GN version: //third_party/WebKit/Source/core:html 301 # GN version: //third_party/WebKit/Source/core:html
295 'target_name': 'webcore_html', 302 'target_name': 'webcore_html',
296 'type': 'static_library', 303 'type': 'static_library',
297 'dependencies': [ 304 'dependencies': [
298 'webcore_prerequisites', 305 'webcore_prerequisites',
299 ], 306 ],
300 'sources': [ 307 'sources': [
301 '<@(webcore_html_files)', 308 '<@(webcore_html_files)',
302 ], 309 ],
303 'conditions': [ 310 'conditions': [
304 # Shard this taret into parts to work around linker limitations. 311 # Shard this target into parts to work around linker limitations.
305 # on link time code generation builds. 312 # on link time code generation builds.
306 ['OS=="win" and buildtype=="Official"', { 313 ['OS=="win" and buildtype=="Official"', {
307 'msvs_shard': 5, 314 'msvs_shard': 5,
308 }], 315 }],
309 ['OS!="android"', { 316 ['OS!="android"', {
310 'sources/': [ 317 'sources/': [
311 ['exclude', 'Android\\.cpp$'], 318 ['exclude', 'Android\\.cpp$'],
312 ], 319 ],
313 }], 320 }],
314 ], 321 ],
(...skipping 18 matching lines...) Expand all
333 # GN version: //third_party/WebKit/Source/core:rendering 340 # GN version: //third_party/WebKit/Source/core:rendering
334 'target_name': 'webcore_rendering', 341 'target_name': 'webcore_rendering',
335 'type': 'static_library', 342 'type': 'static_library',
336 'dependencies': [ 343 'dependencies': [
337 'webcore_prerequisites', 344 'webcore_prerequisites',
338 ], 345 ],
339 'sources': [ 346 'sources': [
340 '<@(webcore_rendering_files)', 347 '<@(webcore_rendering_files)',
341 ], 348 ],
342 'conditions': [ 349 'conditions': [
343 # Shard this taret into parts to work around linker limitations. 350 # Shard this target into parts to work around linker limitations.
344 # on link time code generation builds. 351 # on link time code generation builds.
345 ['OS=="win" and buildtype=="Official"', { 352 ['OS=="win" and buildtype=="Official"', {
346 'msvs_shard': 5, 353 'msvs_shard': 5,
347 }], 354 }],
348 ['OS=="win"', { 355 ['OS=="win"', {
349 'sources!': [ 356 'sources!': [
350 'layout/LayoutThemeFontProviderDefault.cpp', 357 'layout/LayoutThemeFontProviderDefault.cpp',
351 ], 358 ],
352 },{ # OS!="win" 359 },{ # OS!="win"
353 'sources!': [ 360 'sources!': [
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 'layout/LayoutThemeAndroid.cpp', 667 'layout/LayoutThemeAndroid.cpp',
661 'layout/LayoutThemeAndroid.h', 668 'layout/LayoutThemeAndroid.h',
662 ], 669 ],
663 }], 670 }],
664 ], 671 ],
665 }], 672 }],
666 ], 673 ],
667 }, 674 },
668 ], # targets 675 ], # targets
669 } 676 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698