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

Unified Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 2311493002: Remove unneeded split_count assignments (Closed)
Patch Set: Matching logic to core.gni? Created 4 years, 3 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: third_party/WebKit/Source/core/BUILD.gn
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
index b6d7dcb7654cd2577d8f5ba5493204e3654380f3..d1d73cb597175ca0ca12ecac085fda7e943ff797 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -45,16 +45,6 @@ config("core_include_dirs") {
}
}
-if (!is_component_build) {
- if (is_win && is_official_build) {
- # Shard this target into parts to work around linker limitations
- # on link time code generation builds.
- split_count = 5
- } else {
- split_count = 1
- }
-}
-
source_set("generated") {
deps = [
":core_generated",
@@ -180,11 +170,18 @@ component("core") {
}
target(core_link_large_target_type, "remaining") {
- if (is_win && is_official_build &&
- core_link_large_target_type == "split_static_library") {
+ if (core_link_large_target_type == "split_static_library") {
# Shard this target into parts to work around linker limitations
# on link time code generation builds.
- split_count = 19
+ if (is_win) {
+ if (is_official_build) {
+ split_count = 19
Nico 2016/09/03 04:04:21 wasn't this before effectively: if (is_win && i
+ } else {
+ split_count = 5
+ }
+ } else {
+ split_count = 1
+ }
}
# This is currently a mashup of "webcore_rendering" and "webcore_remaining"
« 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