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

Unified Diff: chrome/test/BUILD.gn

Issue 2239943003: Enable incremental linking for unit_tests on win component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« 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