| Index: chrome/test/BUILD.gn
|
| diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
| index b1c07cc9b53c5b720e5a1e594966ff0cc578984e..907812a0e0593d2bd0210b8fa342b6bebabb978d 100644
|
| --- a/chrome/test/BUILD.gn
|
| +++ b/chrome/test/BUILD.gn
|
| @@ -2228,9 +2228,12 @@ test("unit_tests") {
|
| ]
|
| }
|
| if (is_win) {
|
| - # The PDB gets too large for incremental linking.
|
| - configs -= [ "//build/config/win:default_incremental_linking" ]
|
| - configs += [ "//build/config/win:no_incremental_linking" ]
|
| + if (!is_component_build) {
|
| + # The PDB gets too large for incremental linking.
|
| + configs -= [ "//build/config/win:default_incremental_linking" ]
|
| + configs +=
|
| + [ "//build/config/win:default_large_module_incremental_linking" ]
|
| + }
|
|
|
| sources +=
|
| rebase_path(chrome_tests_unit_gypi_values.chrome_unit_tests_win_sources,
|
|
|