Index: chrome/chrome_browser.gypi |
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi |
index 6a5807b15ef21c8b469eacee2e18e4ea98064ff3..b5899b7a0b5f1cc5fb1a0e6925c5a2fd0dc627c1 100644 |
--- a/chrome/chrome_browser.gypi |
+++ b/chrome/chrome_browser.gypi |
@@ -6,6 +6,14 @@ |
'targets': [ |
{ |
'target_name': 'browser', |
+ 'type': 'none', |
+ 'dependencies': [ 'browser_real', ], |
+ 'export_dependent_settings': [ |
+ 'browser_real', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'browser_real', |
'type': 'static_library', |
'variables': { 'enable_wexit_time_destructors': 1, }, |
'dependencies': [ |
@@ -3381,6 +3389,11 @@ |
['exclude', '^browser/rlz/'], |
], |
}], |
+ # Temporary fix to break the browser target into smaller chunks so it |
+ # will link with goma builds. |
+ ['OS=="win" and chromium_win_pch==0', { |
+ 'msvs_shard': 4, |
+ }], |
['OS=="win"', { |
'include_dirs': [ |
'<(DEPTH)/third_party/wtl/include', |