| Index: chrome/browser/BUILD.gn
|
| diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
| index 6c620cbfa428eea8a79e3a328adcf63e64371bbb..edb31bd7669794b3ee30490a7ef7c7f7e43a8007 100644
|
| --- a/chrome/browser/BUILD.gn
|
| +++ b/chrome/browser/BUILD.gn
|
| @@ -55,9 +55,11 @@ if (is_win) {
|
| # Use a static library here because many test binaries depend on this but don't
|
| # require many files from it. This makes linking more efficient.
|
| split_static_library("browser") {
|
| - # Split into multiple static libraries on Windows official builds, where we
|
| - # run into a 2GB max size limit.
|
| - if (is_win && is_official_build) {
|
| + # Split into multiple static libraries on Windows builds. We have hit size
|
| + # on Windows official builds and on goma builds symbol_level = 2 is selected.
|
| + # Always splitting on Windows builds is simpler than trying to perfectly
|
| + # calculate the scenarios where it is required.
|
| + if (is_win) {
|
| split_count = 5
|
| } else {
|
| split_count = 1
|
|
|