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

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

Issue 2173453004: Revert of Shrink gn's chrome.dll - now smaller than gyp's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « media/gpu/ipc/service/BUILD.gn ('k') | 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/split_static_library.gni")
9 import("//third_party/WebKit/Source/bindings/bindings.gni") 8 import("//third_party/WebKit/Source/bindings/bindings.gni")
10 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") 9 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni")
11 import("//third_party/WebKit/Source/bindings/modules/modules.gni") 10 import("//third_party/WebKit/Source/bindings/modules/modules.gni")
12 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") 11 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni")
13 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni") 12 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
14 import("//third_party/WebKit/Source/config.gni") 13 import("//third_party/WebKit/Source/config.gni")
15 import("//third_party/WebKit/Source/core/core.gni") 14 import("//third_party/WebKit/Source/core/core.gni")
16 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 15 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
17 import("//third_party/WebKit/Source/platform/platform_generated.gni") 16 import("//third_party/WebKit/Source/platform/platform_generated.gni")
18 17
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 config("core_include_dirs") { 62 config("core_include_dirs") {
64 include_dirs = [ 63 include_dirs = [
65 "..", 64 "..",
66 "$root_gen_dir/blink", 65 "$root_gen_dir/blink",
67 ] 66 ]
68 if (is_android && use_openmax_dl_fft) { 67 if (is_android && use_openmax_dl_fft) {
69 include_dirs += [ "//third_party/openmax_dl" ] 68 include_dirs += [ "//third_party/openmax_dl" ]
70 } 69 }
71 } 70 }
72 71
73 if (is_component_build) {
74 link_target_type = "source_set"
75 } else {
76 link_target_type = "split_static_library"
77
78 # Safe split count for all of these split libraries - largest is ~6 GB in 32-b it
79 # official builds.
80 split_count = 6
81 }
82
83 # GYP version: WebKit/Source/core/core.gyp:webcore_generated 72 # GYP version: WebKit/Source/core/core.gyp:webcore_generated
84 source_set("generated") { 73 source_set("generated") {
85 deps = [ 74 deps = [
86 ":make_core_generated", 75 ":make_core_generated",
87 ":prerequisites", 76 ":prerequisites",
88 "inspector:instrumentation_sources", 77 "inspector:instrumentation_sources",
89 "inspector:protocol_sources", 78 "inspector:protocol_sources",
90 "//gin", 79 "//gin",
91 "//skia", 80 "//skia",
92 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", 81 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated",
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 # Incremental linking doesn't work on this target in debug mode, even 181 # Incremental linking doesn't work on this target in debug mode, even
193 # with symbol_level=1. 182 # with symbol_level=1.
194 configs -= [ "//build/config/win:default_incremental_linking" ] 183 configs -= [ "//build/config/win:default_incremental_linking" ]
195 configs += [ "//build/config/win:no_incremental_linking" ] 184 configs += [ "//build/config/win:no_incremental_linking" ]
196 } 185 }
197 186
198 public_configs = [ ":core_include_dirs" ] 187 public_configs = [ ":core_include_dirs" ]
199 } 188 }
200 189
201 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_dom 190 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_dom
202 target(link_target_type, "dom") { 191 source_set("dom") {
203 sources = rebase_path(webcore_dom_files, ".", "//") 192 sources = rebase_path(webcore_dom_files, ".", "//")
204 193
205 configs -= core_config_remove 194 configs -= core_config_remove
206 configs += core_config_add + [ 195 configs += core_config_add + [
207 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 196 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
208 "//build/config/compiler:no_size_t_to_int_warning", 197 "//build/config/compiler:no_size_t_to_int_warning",
209 ] 198 ]
210 199
211 deps = [ 200 deps = [
212 ":prerequisites", 201 ":prerequisites",
213 ] 202 ]
214 } 203 }
215 204
216 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_html 205 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_html
217 target(link_target_type, "html") { 206 source_set("html") {
218 sources = rebase_path(webcore_html_files, ".", "//") 207 sources = rebase_path(webcore_html_files, ".", "//")
219 208
220 configs -= core_config_remove 209 configs -= core_config_remove
221 configs += core_config_add 210 configs += core_config_add
222 211
223 deps = [ 212 deps = [
224 ":prerequisites", 213 ":prerequisites",
225 ] 214 ]
226 } 215 }
227 216
228 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_svg 217 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_svg
229 target(link_target_type, "svg") { 218 source_set("svg") {
230 sources = rebase_path(webcore_svg_files, ".", "//") 219 sources = rebase_path(webcore_svg_files, ".", "//")
231 220
232 configs -= core_config_remove 221 configs -= core_config_remove
233 configs += core_config_add 222 configs += core_config_add
234 223
235 deps = [ 224 deps = [
236 ":prerequisites", 225 ":prerequisites",
237 ] 226 ]
238 } 227 }
239 228
240 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_remaining 229 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_remaining
241 target(link_target_type, "remaining") { 230 source_set("remaining") {
242 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" 231 # This is currently a mashup of "webcore_rendering" and "webcore_remaining"
243 # in GYP. The file list variable is the same and then GYP filters on wether 232 # in GYP. The file list variable is the same and then GYP filters on wether
244 # the path starts with "rendering/" or not. We should tweak the .gypis a bit 233 # the path starts with "rendering/" or not. We should tweak the .gypis a bit
245 # to separate out the rendering files. 234 # to separate out the rendering files.
246 sources = rebase_path(webcore_non_rendering_files, ".", "//") 235 sources = rebase_path(webcore_non_rendering_files, ".", "//")
247 sources += rebase_path(webcore_rendering_files, ".", "//") 236 sources += rebase_path(webcore_rendering_files, ".", "//")
248 237
249 configs -= core_config_remove 238 configs -= core_config_remove
250 configs += core_config_add + [ 239 configs += core_config_add + [
251 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 240 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 "$bindings_core_v8_output_dir/V8TypeConversions.cpp", 329 "$bindings_core_v8_output_dir/V8TypeConversions.cpp",
341 "$bindings_core_v8_output_dir/V8TypeConversions.h", 330 "$bindings_core_v8_output_dir/V8TypeConversions.h",
342 "$bindings_core_v8_output_dir/V8UnionTypesTest.cpp", 331 "$bindings_core_v8_output_dir/V8UnionTypesTest.cpp",
343 "$bindings_core_v8_output_dir/V8UnionTypesTest.h", 332 "$bindings_core_v8_output_dir/V8UnionTypesTest.h",
344 "$bindings_core_v8_output_dir/V8WorkerInternals.cpp", 333 "$bindings_core_v8_output_dir/V8WorkerInternals.cpp",
345 "$bindings_core_v8_output_dir/V8WorkerInternals.h", 334 "$bindings_core_v8_output_dir/V8WorkerInternals.h",
346 ] 335 ]
347 } 336 }
348 337
349 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_generated 338 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_generated
350 target(link_target_type, "core_generated") { 339 source_set("core_generated") {
351 sources = bindings_core_v8_files 340 sources = bindings_core_v8_files
352 341
353 # These files include all the .cpp files generated from the .idl files 342 # These files include all the .cpp files generated from the .idl files
354 # in webcore_files. 343 # in webcore_files.
355 sources += bindings_core_generated_aggregate_files 344 sources += bindings_core_generated_aggregate_files
356 sources += bindings_core_generated_union_type_files 345 sources += bindings_core_generated_union_type_files
357 346
358 # IDL dictionary impl files generated by IDL compiler 347 # IDL dictionary impl files generated by IDL compiler
359 sources += generated_core_dictionary_files 348 sources += generated_core_dictionary_files
360 349
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 "$blink_core_output_dir/{{source_name_part}}.h", 1084 "$blink_core_output_dir/{{source_name_part}}.h",
1096 ] 1085 ]
1097 args = [ 1086 args = [
1098 "{{source}}", 1087 "{{source}}",
1099 rel_blink_core_gen_dir, 1088 rel_blink_core_gen_dir,
1100 bison_exe, 1089 bison_exe,
1101 ] 1090 ]
1102 1091
1103 deps = make_core_generated_deps 1092 deps = make_core_generated_deps
1104 } 1093 }
OLDNEW
« no previous file with comments | « media/gpu/ipc/service/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698