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

Side by Side Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 2303293004: Revert of Remove unneeded split_count assignments (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build/split_static_library.gni") 7 import("//build/split_static_library.gni")
8 import("//testing/libfuzzer/fuzzer_test.gni") 8 import("//testing/libfuzzer/fuzzer_test.gni")
9 import("//third_party/WebKit/Source/bindings/bindings.gni") 9 import("//third_party/WebKit/Source/bindings/bindings.gni")
10 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") 10 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni")
(...skipping 27 matching lines...) Expand all
38 config("core_include_dirs") { 38 config("core_include_dirs") {
39 include_dirs = [ 39 include_dirs = [
40 "..", 40 "..",
41 "$root_gen_dir/blink", 41 "$root_gen_dir/blink",
42 ] 42 ]
43 if (is_android && use_openmax_dl_fft) { 43 if (is_android && use_openmax_dl_fft) {
44 include_dirs += [ "//third_party/openmax_dl" ] 44 include_dirs += [ "//third_party/openmax_dl" ]
45 } 45 }
46 } 46 }
47 47
48 if (!is_component_build) {
49 if (is_win && is_official_build) {
50 # Shard this target into parts to work around linker limitations
51 # on link time code generation builds.
52 split_count = 5
53 } else {
54 split_count = 1
55 }
56 }
57
48 source_set("generated") { 58 source_set("generated") {
49 deps = [ 59 deps = [
50 ":core_generated", 60 ":core_generated",
51 ":prerequisites", 61 ":prerequisites",
52 "//gin", 62 "//gin",
53 "//skia", 63 "//skia",
54 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", 64 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated",
55 "//third_party/WebKit/Source/core/inspector", 65 "//third_party/WebKit/Source/core/inspector",
56 "//third_party/iccjpeg", 66 "//third_party/iccjpeg",
57 "//third_party/libpng", 67 "//third_party/libpng",
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 # Incremental linking doesn't work on this target in debug mode, even 173 # Incremental linking doesn't work on this target in debug mode, even
164 # with symbol_level=1. 174 # with symbol_level=1.
165 configs -= [ "//build/config/win:default_incremental_linking" ] 175 configs -= [ "//build/config/win:default_incremental_linking" ]
166 configs += [ "//build/config/win:no_incremental_linking" ] 176 configs += [ "//build/config/win:no_incremental_linking" ]
167 } 177 }
168 178
169 public_configs = [ ":core_include_dirs" ] 179 public_configs = [ ":core_include_dirs" ]
170 } 180 }
171 181
172 target(core_link_large_target_type, "remaining") { 182 target(core_link_large_target_type, "remaining") {
173 if (core_link_large_target_type == "split_static_library") { 183 if (is_win && is_official_build &&
184 core_link_large_target_type == "split_static_library") {
174 # Shard this target into parts to work around linker limitations 185 # Shard this target into parts to work around linker limitations
175 # on link time code generation builds. 186 # on link time code generation builds.
176 if (is_win) { 187 split_count = 19
177 if (is_official_build) {
178 split_count = 19
179 } else {
180 split_count = 5
181 }
182 } else {
183 split_count = 1
184 }
185 } 188 }
186 189
187 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" 190 # This is currently a mashup of "webcore_rendering" and "webcore_remaining"
188 # in GYP. The file list variable is the same and then GYP filters on wether 191 # in GYP. The file list variable is the same and then GYP filters on wether
189 # the path starts with "rendering/" or not. We should tweak the .gypis a bit 192 # the path starts with "rendering/" or not. We should tweak the .gypis a bit
190 # to separate out the rendering files. 193 # to separate out the rendering files.
191 sources = rebase_path(webcore_non_rendering_files, ".", "//") 194 sources = rebase_path(webcore_non_rendering_files, ".", "//")
192 195
193 configs -= core_config_remove 196 configs -= core_config_remove
194 configs += core_config_add + [ 197 configs += core_config_add + [
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 sources = [ 1215 sources = [
1213 "html/parser/HTMLPreloadScannerFuzzer.cpp", 1216 "html/parser/HTMLPreloadScannerFuzzer.cpp",
1214 "html/parser/TextResourceDecoderForFuzzing.h", 1217 "html/parser/TextResourceDecoderForFuzzing.h",
1215 ] 1218 ]
1216 seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser" 1219 seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser"
1217 deps = [ 1220 deps = [
1218 ":core", 1221 ":core",
1219 "../platform:blink_fuzzer_test_support", 1222 "../platform:blink_fuzzer_test_support",
1220 ] 1223 ]
1221 } 1224 }
OLDNEW
« 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