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

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

Issue 319983003: Work on blink GN bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//third_party/WebKit/Source/bindings/bindings.gni") 6 import("//third_party/WebKit/Source/bindings/bindings.gni")
7 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni")
8 import("//third_party/WebKit/Source/bindings/modules/modules.gni")
9 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni")
10 import("//third_party/WebKit/Source/bindings/scripts/scripts.gni")
7 import("//third_party/WebKit/Source/config.gni") 11 import("//third_party/WebKit/Source/config.gni")
8 import("//third_party/WebKit/Source/core/core.gni") 12 import("//third_party/WebKit/Source/core/core.gni")
9 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 13 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
14 import("//third_party/WebKit/Source/platform/platform_generated.gni")
10 15
11 blink_gen_dir = "$root_gen_dir/blink" 16 rel_blink_core_gen_dir = rebase_path(blink_core_output_dir, root_build_dir)
12 # The blink_gen_dir relative to the root build directory. We use this a log.
13 rel_blink_gen_dir = rebase_path(blink_gen_dir, root_build_dir)
14 17
15 # TODO(GYP) when we add real targets to this file, don't forget to enable: 18 # Compute the optimization level. The GYP code sets "optimize: max" which sets
16 # - wexit_time_destructors 19 # speed-over-size optimization for official builds on Windows only. The GN's
17 # - optimize: max (check what this does on Android before using). 20 # build optimize_max config applies this optimization on all platforms, so
21 # compute how to modify the config list to duplicate the GYP behavior.
22 if (is_debug) {
23 core_config_remove = [ "//build/config/compiler:no_optimize" ]
24 core_config_add = core_config_remove # NOP
25 } else {
26 core_config_remove = [ "//build/config/compiler:optimize" ]
27
28 if (is_win && is_official_build) {
29 core_config_add = [ "//build/config/compiler:optimize_max" ]
30 } else {
31 core_config_add = core_config_remove # NOP
32 }
33 }
34
35 # Core targets also get wexit time destructors.
36 core_config_add += [ "//build/config/compiler:wexit_time_destructors" ]
18 37
19 config("core_include_dirs") { 38 config("core_include_dirs") {
20 include_dirs = [ 39 include_dirs = [
21 "..", 40 "..",
22 "../..", 41 "../..",
23 blink_gen_dir, 42 # FIXME: Remove these once core scripts generates qualified
24 bindings_output_dir, 43 # includes correctly: http://crbug.com/358074
44 blink_core_output_dir,
45 blink_modules_output_dir,
46 blink_platform_output_dir,
47 bindings_core_v8_output_dir,
48 bindings_modules_v8_output_dir,
25 ] 49 ]
26 if (is_android && use_openmax_dl_fft) { 50 if (is_android && use_openmax_dl_fft) {
27 include_dirs += [ "//third_party/openmax_dl" ] 51 include_dirs += [ "//third_party/openmax_dl" ]
28 } 52 }
29 } 53 }
30 54
55 # GYP version: WebKit/Source/core/core.gyp:webcore_generated
31 source_set("generated") { 56 source_set("generated") {
32 deps = [ 57 deps = [
33 ":make_core_generated", 58 ":make_core_generated",
34 ":prerequisites", 59 ":prerequisites",
35 "inspector:debugger_script_source", 60 "inspector:debugger_script_source",
36 "inspector:inspector_overlay_page", 61 "inspector:inspector_overlay_page",
37 "inspector:protocol_sources", 62 "inspector:protocol_sources",
38 "inspector:injected_script_source", 63 "inspector:injected_script_source",
39 "inspector:injected_canvas_script_source", 64 "inspector:injected_canvas_script_source",
40 "inspector:instrumentation_sources", 65 "inspector:instrumentation_sources",
66 "//gin",
41 "//skia", 67 "//skia",
42 "//third_party/iccjpeg", 68 "//third_party/iccjpeg",
43 "//third_party/libpng", 69 "//third_party/libpng",
44 "//third_party/libwebp", 70 "//third_party/libwebp",
71 "//third_party/libxml",
72 #"//third_party/libxslt", # TODO(GYP)
73 "//third_party/npapi",
45 "//third_party/qcms", 74 "//third_party/qcms",
46 "//third_party/sqlite", 75 "//third_party/sqlite",
47 "//third_party/WebKit/Source/bindings", 76 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated",
77 # FIXME: don't depend on bindings/modules http://crbug.com/358074
78 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated",
79 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated" ,
80 "//third_party/WebKit/Source/platform:make_platform_generated",
48 "//third_party/WebKit/Source/wtf", 81 "//third_party/WebKit/Source/wtf",
49 "//url", 82 "//url",
50 # TODO(GYP) 83 "//v8",
51 #"//v8",
52 #'../platform/platform_generated.gyp:make_platform_generated',
53 #'<(DEPTH)/gin/gin.gyp:gin',
54 #'<(DEPTH)/third_party/libxml/libxml.gyp:libxml',
55 #'<(DEPTH)/third_party/libxslt/libxslt.gyp:libxslt',
56 #'<(DEPTH)/third_party/npapi/npapi.gyp:npapi',
57 ] 84 ]
58 } 85 }
59 86
60 # Corresponds to webcore_prerequisites in core.gyp. 87 # GYP version: WebKit/Source/core/core.gyp:webcore_prerequisites
61 source_set("prerequisites") { 88 source_set("prerequisites") {
62 exported_deps = [ 89 exported_deps = [
63 "//third_party/WebKit/Source/wtf", 90 "//third_party/WebKit/Source/wtf",
64 "//gpu/command_buffer/client:gles2_c_lib", 91 "//gpu/command_buffer/client:gles2_c_lib",
65 "//skia", 92 "//skia",
66 #'<(angle_path)/src/build_angle.gyp:translator', 93 "//third_party/angle:translator",
67 "//third_party/iccjpeg", 94 "//third_party/iccjpeg",
68 "//third_party/libpng", 95 "//third_party/libpng",
69 "//third_party/libwebp", 96 "//third_party/libwebp",
70 "//third_party/libxml", 97 "//third_party/libxml",
71 #"//third_party/libxslt", 98 #"//third_party/libxslt", # TODO(GYP)
72 #"//third_party/npapi", 99 "//third_party/npapi",
73 "//third_party/ots", 100 "//third_party/ots",
74 "//third_party/qcms", 101 "//third_party/qcms",
75 "//third_party/sqlite", 102 "//third_party/sqlite",
76 "//third_party/zlib", 103 "//third_party/zlib",
77 "//url", 104 "//url",
78 #"//v8", 105 "//v8",
79 ] 106 ]
80 107
81 deps = [ 108 deps = [
82 ":make_core_generated", 109 ":make_core_generated",
83 "inspector:debugger_script_source", 110 "inspector:debugger_script_source",
84 "inspector:injected_canvas_script_source", 111 "inspector:injected_canvas_script_source",
85 "inspector:injected_script_source", 112 "inspector:injected_script_source",
86 "inspector:inspector_overlay_page", 113 "inspector:inspector_overlay_page",
87 "inspector:protocol_sources", 114 "inspector:protocol_sources",
88 "inspector:instrumentation_sources", 115 "inspector:instrumentation_sources",
89 "//third_party/WebKit/Source/bindings", 116 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated",
117 # FIXME: don't depend on bindings_modules http://crbug.com/358074
118 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated" ,
90 "//third_party/WebKit/Source/platform", 119 "//third_party/WebKit/Source/platform",
91 ] + exported_deps 120 ] + exported_deps
92 121
93 forward_dependent_configs_from = exported_deps 122 forward_dependent_configs_from = exported_deps
94 123
95 direct_dependent_configs = [ 124 direct_dependent_configs = [
96 ":core_include_dirs", 125 ":core_include_dirs",
97 "//third_party/WebKit/Source:config", 126 "//third_party/WebKit/Source:config",
98 "//third_party/WebKit/Source:inside_blink", 127 "//third_party/WebKit/Source:inside_blink",
99 "//third_party/WebKit/Source:npapi_stub", 128 "//third_party/WebKit/Source:npapi_stub",
100 "//third_party/WebKit/Source/platform:v8_stub_config", 129 "//third_party/WebKit/Source/platform:v8_stub_config",
101 ] 130 ]
102 } 131 }
103 132
104 # Corresponds to core.gyp:webcore
105 #
106 # Note that this is a source set rather than a group, even though it has no 133 # Note that this is a source set rather than a group, even though it has no
107 # sources. A group would implicitly forward all direct dependent configs 134 # sources. A group would implicitly forward all direct dependent configs
108 # through it, but we want to keep our internal targets' 135 # through it, but we want to keep our internal targets'
109 # direct_dependent_configs private and only forward some of them. 136 # direct_dependent_configs private and only forward some of them.
137 #
138 # GYP version: WebKit/Source/core/core.gyp:webcore
110 source_set("core") { 139 source_set("core") {
111 exported_deps = [ 140 exported_deps = [
112 ":core_generated", 141 ":core_generated",
113 "//skia", 142 "//skia",
114 #"//third_party/npapi", # TODO(GYP) 143 "//third_party/npapi",
115 "//third_party/qcms", 144 "//third_party/qcms",
116 "//third_party/WebKit/Source/wtf", 145 "//third_party/WebKit/Source/wtf",
117 "//url", 146 "//url",
118 #"//v8", # TODO(GYP) 147 "//v8",
119 ] 148 ]
120 149
150 configs -= core_config_remove
151 configs += core_config_add
152
121 deps = [ 153 deps = [
122 ":dom", 154 ":dom",
123 ":html", 155 ":html",
124 ":remaining", 156 ":remaining",
125 ":rendering", 157 ":rendering",
126 ":svg", 158 ":svg",
127 ] + exported_deps 159 ] + exported_deps
128 160
129 forward_dependent_configs_from = exported_deps 161 forward_dependent_configs_from = exported_deps
130 162
131 direct_dependent_configs = [ 163 direct_dependent_configs = [
132 ":core_include_dirs", 164 ":core_include_dirs",
133 "//third_party/WebKit/Source:npapi_stub", 165 "//third_party/WebKit/Source:npapi_stub",
134 "//third_party/WebKit/Source/platform:v8_stub_config", 166 "//third_party/WebKit/Source/platform:v8_stub_config",
135 ] 167 ]
136 168
137 # TODO(GYP) IPP libraries pkg-config. These seem to be experimental and used 169 # TODO(GYP) IPP libraries pkg-config. These seem to be experimental and used
138 # only on x86 Android. See also below. There should be one pkg-config call 170 # only on x86 Android. See also below. There should be one pkg-config call
139 # that creates a config used in both of these cases. 171 # that creates a config used in both of these cases.
140 } 172 }
141 173
142 # webcore_dom in core.gyp 174 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_dom
143 source_set("dom") { 175 source_set("dom") {
144 sources = rebase_path(webcore_dom_files, ".", "//") 176 sources = rebase_path(webcore_dom_files, ".", "//")
145 177
178 configs -= core_config_remove
179 configs += core_config_add
180
146 if (is_win) { 181 if (is_win) {
147 cflags = [ "/wd4267" ] # size_t to int truncation. 182 cflags = [ "/wd4267" ] # size_t to int truncation.
148 } 183 }
149 184
150 deps = [ 185 deps = [
151 ":prerequisites", 186 ":prerequisites",
152 ] 187 ]
153 } 188 }
154 189
155 # webcore_html in core.gyp 190 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_html
156 source_set("html") { 191 source_set("html") {
157 sources = rebase_path(webcore_html_files, ".", "//") 192 sources = rebase_path(webcore_html_files, ".", "//")
158 193
194 configs -= core_config_remove
195 configs += core_config_add
196
159 deps = [ 197 deps = [
160 ":prerequisites", 198 ":prerequisites",
161 ] 199 ]
162 200
163 # TODO(GYP) 201 # TODO(GYP)
164 # Shard this target into parts to work around linker limitations. 202 # Shard this target into parts to work around linker limitations.
165 # on link time code generation builds. 203 # on link time code generation builds.
166 #['OS=="win" and buildtype=="Official"', { 204 #['OS=="win" and buildtype=="Official"', {
167 # 'msvs_shard': 5, 205 # 'msvs_shard': 5,
168 #}], 206 #}],
169 } 207 }
170 208
171 # webcore_svg in core.gyp 209 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_svg
172 source_set("svg") { 210 source_set("svg") {
173 sources = rebase_path(webcore_svg_files, ".", "//") 211 sources = rebase_path(webcore_svg_files, ".", "//")
174 212
213 configs -= core_config_remove
214 configs += core_config_add
215
175 deps = [ 216 deps = [
176 ":prerequisites", 217 ":prerequisites",
177 ] 218 ]
178 219
179 # TODO(GYP) 220 # TODO(GYP)
180 # Shard this taret into parts to work around linker limitations. 221 # Shard this taret into parts to work around linker limitations.
181 # on link time code generation builds. 222 # on link time code generation builds.
182 #['OS=="win" and buildtype=="Official"', { 223 #['OS=="win" and buildtype=="Official"', {
183 # 'msvs_shard': 5, 224 # 'msvs_shard': 5,
184 #}], 225 #}],
185 } 226 }
186 227
187 # webcore_remaining in core.gyp 228 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_remaining
188 source_set("remaining") { 229 source_set("remaining") {
189 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" 230 # This is currently a mashup of "webcore_rendering" and "webcore_remaining"
190 # in GYP. The file list variable is the same and then GYP filters on wether 231 # in GYP. The file list variable is the same and then GYP filters on wether
191 # the path starts with "rendering/" or not. We should tweak the .gypis a bit 232 # the path starts with "rendering/" or not. We should tweak the .gypis a bit
192 # to separate out the rendering files. 233 # to separate out the rendering files.
193 sources = rebase_path(webcore_files, ".", "//") 234 sources = rebase_path(webcore_files, ".", "//")
194 235
236 configs -= core_config_remove
237 configs += core_config_add
238
195 cflags = [] 239 cflags = []
196 libs = [] 240 libs = []
197 241
198 deps = [ 242 deps = [
199 ":prerequisites", 243 ":prerequisites",
200 ] 244 ]
201 245
202 if (is_win) { 246 if (is_win) {
203 cflags += [ 247 cflags += [
204 "/wd4267", 248 "/wd4267",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 } 286 }
243 287
244 if (!use_default_render_theme) { 288 if (!use_default_render_theme) {
245 sources -= [ 289 sources -= [
246 "rendering/RenderThemeChromiumDefault.cpp", 290 "rendering/RenderThemeChromiumDefault.cpp",
247 "rendering/RenderThemeChromiumDefault.h", 291 "rendering/RenderThemeChromiumDefault.h",
248 ] 292 ]
249 } 293 }
250 } 294 }
251 295
252 # webcore_rendering in core.gyp 296 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering
253 source_set("rendering") { 297 source_set("rendering") {
254 # The files that go here are currently in "remaining". 298 # The files that go here are currently in "remaining".
255 } 299 }
256 300
257 # webcore_generated from core.gyp 301 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_generated
258 source_set("core_generated") { 302 source_set("core_generated") {
259 sources = rebase_path(bindings_v8_files, ".", "../bindings/v8") 303 sources = bindings_v8_files
260 # These files include all the .cpp files generated from the .idl files 304 # These files include all the .cpp files generated from the .idl files
261 # in webcore_files. 305 # in webcore_files.
262 sources += bindings_core_generated_aggregate_files 306 sources += bindings_core_generated_aggregate_files
263 307
264 sources += [ 308 sources += [
265 # Additional .cpp files for HashTools.h 309 # Additional .cpp files for HashTools.h
266 "$root_gen_dir/blink/CSSPropertyNames.cpp", 310 "$root_gen_dir/blink/CSSPropertyNames.cpp",
267 "$root_gen_dir/blink/CSSValueKeywords.cpp", 311 "$root_gen_dir/blink/CSSValueKeywords.cpp",
268 312
269 # Additional .cpp files from make_core_generated actions. 313 # Additional .cpp files from make_core_generated actions.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 "$root_gen_dir/blink/V8SVGElementWrapperFactory.cpp", 378 "$root_gen_dir/blink/V8SVGElementWrapperFactory.cpp",
335 379
336 # Generated from make_style_shorthands.py 380 # Generated from make_style_shorthands.py
337 "$root_gen_dir/blink/StylePropertyShorthand.cpp", 381 "$root_gen_dir/blink/StylePropertyShorthand.cpp",
338 382
339 # Generated from make_style_builder.py 383 # Generated from make_style_builder.py
340 "$root_gen_dir/blink/StyleBuilder.cpp", 384 "$root_gen_dir/blink/StyleBuilder.cpp",
341 "$root_gen_dir/blink/StyleBuilderFunctions.cpp", 385 "$root_gen_dir/blink/StyleBuilderFunctions.cpp",
342 ] 386 ]
343 387
388 configs -= core_config_remove
389 configs += core_config_add
390
344 configs += [ 391 configs += [
345 "..:inside_blink", 392 "..:inside_blink",
346 # TODO(GYP) erase when v8 is ported. 393 # TODO(GYP) erase when v8 is ported.
347 "../platform:v8_stub_config", 394 "../platform:v8_stub_config",
348 "..:npapi_stub", 395 "..:npapi_stub",
349 ] 396 ]
350 397
351 deps = [ 398 deps = [
352 ":make_core_generated", 399 ":make_core_generated",
353 ":prerequisites", 400 ":prerequisites",
354 "inspector:inspector_overlay_page", 401 "inspector:inspector_overlay_page",
355 "inspector:protocol_sources", 402 "inspector:protocol_sources",
356 "inspector:instrumentation_sources", 403 "inspector:instrumentation_sources",
357 "inspector:injected_canvas_script_source", 404 "inspector:injected_canvas_script_source",
358 "inspector:injected_script_source", 405 "inspector:injected_script_source",
359 "inspector:debugger_script_source", 406 "inspector:debugger_script_source",
360 #"//gin", TODO(GYP) 407 "//gin",
361 "//skia", 408 "//skia",
362 "//third_party/iccjpeg", 409 "//third_party/iccjpeg",
363 "//third_party/libpng", 410 "//third_party/libpng",
364 "//third_party/libwebp", 411 "//third_party/libwebp",
365 "//third_party/libxml", 412 "//third_party/libxml",
366 #"//third_party/libxslt/libxslt.gyp:libxslt", TODO(GYP) 413 #"//third_party/libxslt/libxslt.gyp:libxslt", TODO(GYP)
367 #"//third_party/npapi", TODO(GYP) 414 "//third_party/npapi",
368 "//third_party/qcms", 415 "//third_party/qcms",
369 "//third_party/sqlite", 416 "//third_party/sqlite",
370 "//third_party/WebKit/Source/bindings", 417 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated",
371 # The GYP build does not have this dependency. But some of the bindings 418 # FIXME: don't depend on bindings/modules http://crbug.com/358074
372 # (like bindings/v8/custom/V8EventTargetCustom.cpp) include 419 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated",
373 # EventTargetModulesHeaders.h which is generated by make_modules_generated. 420 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated" ,
374 "//third_party/WebKit/Source/modules:make_modules_generated",
375 "//third_party/WebKit/Source/platform:make_platform_generated", 421 "//third_party/WebKit/Source/platform:make_platform_generated",
376 "//third_party/WebKit/Source/wtf", 422 "//third_party/WebKit/Source/wtf",
377 "//url", 423 "//url",
378 #"//v8", TODO(GYP) 424 "//v8",
379 ] 425 ]
380 426
381 configs += [ ":core_include_dirs" ] 427 configs += [ ":core_include_dirs" ]
382 include_dirs = [ 428 include_dirs = [
383 "$root_gen_dir/blink", 429 "$root_gen_dir/blink",
384 "$bindings_output_dir",
385 # FIXME: Remove these once the bindings script generates qualified 430 # FIXME: Remove these once the bindings script generates qualified
386 # includes for these correctly. (Sequences don"t work yet.) 431 # includes for these correctly. (Sequences don"t work yet.)
387 "$bindings_v8_dir/custom", 432 bindings_v8_custom_dir,
388 "html", 433 "html",
389 "html/shadow", 434 "html/shadow",
390 "inspector", 435 "inspector",
391 "svg", 436 "svg",
392 ] 437 ]
393 438
394 cflags = [] 439 cflags = []
395 defines = [] 440 defines = []
396 441
397 if (is_win && component_mode == "shared_library") { 442 if (is_win && component_mode == "shared_library") {
(...skipping 15 matching lines...) Expand all
413 # TODO(GYP) More IPP libraries, see above. 458 # TODO(GYP) More IPP libraries, see above.
414 #if ((is_linux || is_android) && use_webaudio_ipp) 459 #if ((is_linux || is_android) && use_webaudio_ipp)
415 # ["OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_define s", { 460 # ["OS in ("linux", "android") and "WTF_USE_WEBAUDIO_IPP=1" in feature_define s", {
416 # "cflags": [ 461 # "cflags": [
417 # "<!@(pkg-config --cflags-only-I ipp)", 462 # "<!@(pkg-config --cflags-only-I ipp)",
418 # ], 463 # ],
419 # }], 464 # }],
420 #], 465 #],
421 } 466 }
422 467
468 # core_bindings_generated ------------------------------------------------------
469
470 # GYP version: WebKit/Source/core/core_generated.gyp:core_event_interfaces
471 generate_event_interfaces("core_event_interfaces") {
472 sources = core_event_idl_files
473 output_file = "core/EventInterfaces.in"
474 }
475
423 # generated_testing_idls ------------------------------------------------------- 476 # generated_testing_idls -------------------------------------------------------
424 477
478 # GYP version: WebKit/Source/core/core_generated.gyp:generated_testing_idls
425 group("generated_testing_idls") { 479 group("generated_testing_idls") {
426 deps = [ 480 deps = [
427 ":generated_testing_idls_settings", 481 ":generated_testing_idls_settings",
428 ":generated_testing_idls_internal_runtime_flags", 482 ":generated_testing_idls_internal_runtime_flags",
429 ] 483 ]
430 } 484 }
431 485
432 # "Settings" action in generated_testing_idls from GYP. 486 # "Settings" action in generated_testing_idls from GYP.
433 action("generated_testing_idls_settings") { 487 action("generated_testing_idls_settings") {
434 script = "../build/scripts/make_settings.py" 488 script = "../build/scripts/make_settings.py"
435 489
436 source_prereqs = scripts_for_in_files + [ 490 source_prereqs = scripts_for_in_files + [
437 "../build/scripts/make_settings.py", 491 "../build/scripts/make_settings.py",
438 "../build/scripts/templates/InternalSettingsGenerated.idl.tmpl", 492 "../build/scripts/templates/InternalSettingsGenerated.idl.tmpl",
439 "../build/scripts/templates/InternalSettingsGenerated.cpp.tmpl", 493 "../build/scripts/templates/InternalSettingsGenerated.cpp.tmpl",
440 "../build/scripts/templates/InternalSettingsGenerated.h.tmpl", 494 "../build/scripts/templates/InternalSettingsGenerated.h.tmpl",
441 "../build/scripts/templates/SettingsMacros.h.tmpl", 495 "../build/scripts/templates/SettingsMacros.h.tmpl",
442 "frame/Settings.in", 496 "frame/Settings.in",
443 ] 497 ]
444 outputs = [ 498 outputs = [
445 "$blink_gen_dir/SettingsMacros.h", 499 "$blink_core_output_dir/SettingsMacros.h",
446 "$blink_gen_dir/InternalSettingsGenerated.idl", 500 "$blink_core_output_dir/InternalSettingsGenerated.idl",
447 "$blink_gen_dir/InternalSettingsGenerated.cpp", 501 "$blink_core_output_dir/InternalSettingsGenerated.cpp",
502 "$blink_core_output_dir/InternalSettingsGenerated.h",
448 ] 503 ]
449 504
450 args = [ 505 args = [
451 rebase_path("frame/Settings.in", root_build_dir), 506 rebase_path("frame/Settings.in", root_build_dir),
452 "--output_dir", rel_blink_gen_dir, 507 "--output_dir", rel_blink_core_gen_dir,
453 ] 508 ]
454 } 509 }
455 510
456 # "InternalRuntimeFlags" action in generated_testing_idls from GYP. 511 # "InternalRuntimeFlags" action in generated_testing_idls from GYP.
457 action("generated_testing_idls_internal_runtime_flags") { 512 action("generated_testing_idls_internal_runtime_flags") {
458 script = "../build/scripts/make_internal_runtime_flags.py" 513 script = "../build/scripts/make_internal_runtime_flags.py"
459 514
460 source_prereqs = scripts_for_in_files + [ 515 source_prereqs = scripts_for_in_files + [
461 "../build/scripts/make_internal_runtime_flags.py", 516 "../build/scripts/make_internal_runtime_flags.py",
462 "../platform/RuntimeEnabledFeatures.in", 517 "../platform/RuntimeEnabledFeatures.in",
463 "../build/scripts/templates/InternalRuntimeFlags.h.tmpl", 518 "../build/scripts/templates/InternalRuntimeFlags.h.tmpl",
464 "../build/scripts/templates/InternalRuntimeFlags.idl.tmpl", 519 "../build/scripts/templates/InternalRuntimeFlags.idl.tmpl",
465 ] 520 ]
466 outputs = [ 521 outputs = [
467 "$blink_gen_dir/InternalRuntimeFlags.idl", 522 "$blink_core_output_dir/InternalRuntimeFlags.idl",
468 "$blink_gen_dir/InternalRuntimeFlags.h", 523 "$blink_core_output_dir/InternalRuntimeFlags.h",
469 ] 524 ]
470 525
471 args = [ 526 args = [
472 rebase_path("../platform/RuntimeEnabledFeatures.in", root_build_dir), 527 rebase_path("../platform/RuntimeEnabledFeatures.in", root_build_dir),
473 "--output_dir", rel_blink_gen_dir, 528 "--output_dir", rel_blink_core_gen_dir,
474 ] 529 ]
475 } 530 }
476 531
477 # make_core_generated ---------------------------------------------------------- 532 # make_core_generated ----------------------------------------------------------
478 533
534 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated
479 group("make_core_generated") { 535 group("make_core_generated") {
480 deps = [ 536 deps = [
481 ":make_core_generated_xml_viewer_css", 537 ":make_core_generated_xml_viewer_css",
538 ":make_core_generated_xml_viewer_js",
539 ":make_core_generated_html_entity_table",
482 ":make_core_generated_css_property_names", 540 ":make_core_generated_css_property_names",
483 ":make_core_generated_media_feature_names", 541 ":make_core_generated_media_feature_names",
484 ":make_core_generated_media_features", 542 ":make_core_generated_media_features",
543 ":make_core_generated_media_type_names",
544 ":make_core_generated_media_query_tokenizer_codepoints",
485 ":make_core_generated_style_property_shorthand", 545 ":make_core_generated_style_property_shorthand",
486 ":make_core_generated_style_builder", 546 ":make_core_generated_style_builder",
487 ":make_core_generated_css_value_keywords", 547 ":make_core_generated_css_value_keywords",
488 ":make_core_generated_html_element_factory", 548 ":make_core_generated_html_element_factory",
489 ":make_core_generated_html_element_type_helpers", 549 ":make_core_generated_html_element_type_helpers",
490 ":make_core_generated_svg_names", 550 ":make_core_generated_svg_names",
491 ":make_core_generated_svg_element_type_helpers", 551 ":make_core_generated_svg_element_type_helpers",
492 ":make_core_generated_event_factory", 552 ":make_core_generated_event_factory",
553 ":make_core_generated_event_names",
493 ":make_core_generated_event_target_factory", 554 ":make_core_generated_event_target_factory",
494 ":make_core_generated_media_type_names",
495 ":make_core_generated_event_names",
496 ":make_core_generated_event_target_names", 555 ":make_core_generated_event_target_names",
556 ":make_core_generated_math_ml_names",
557 ":make_core_generated_user_agent_style_sheets",
497 ":make_core_generated_fetch_initiator_type_names", 558 ":make_core_generated_fetch_initiator_type_names",
498 ":make_core_generated_event_type_names", 559 ":make_core_generated_event_type_names",
499 ":make_core_generated_html_tokenizer_names", 560 ":make_core_generated_html_tokenizer_names",
500 ":make_core_generated_input_type_names", 561 ":make_core_generated_input_type_names",
501 ":make_core_generated_math_ml_names",
502 ":make_core_generated_xlink_names", 562 ":make_core_generated_xlink_names",
563 ":make_core_generated_xml_ns_names",
503 ":make_core_generated_xml_names", 564 ":make_core_generated_xml_names",
504 ":make_core_generated_make_token_matcher", 565 ":make_core_generated_make_token_matcher",
505 ":make_core_generated_make_parser", 566 ":make_core_generated_make_parser",
506 ":make_core_generated_make_token_matcher_for_viewport", 567 ":make_core_generated_make_token_matcher_for_viewport",
507 ":make_core_generated_xml_viewer_css",
508 ":make_core_generated_xml_viewer_js",
509 ":make_core_generated_html_entity_table",
510 ":make_core_generated_media_query_tokenizer_codepoints",
511 ":make_core_generated_user_agent_style_sheets",
512 ":make_core_generated_html_element_lookup_trie", 568 ":make_core_generated_html_element_lookup_trie",
513 ":make_core_generated_bison", 569 ":make_core_generated_bison",
514 ] 570 ]
515 } 571 }
516 572
517 # "CSSPropertyNames" in make_core_generated from GYP. 573 # "CSSPropertyNames" in make_core_generated from GYP.
518 process_in_files("make_core_generated_css_property_names") { 574 process_in_files("make_core_generated_css_property_names") {
519 script = "../build/scripts/make_css_property_names.py" 575 script = "../build/scripts/make_css_property_names.py"
520 in_files = [ 576 in_files = [
521 "css/CSSPropertyNames.in", 577 "css/CSSPropertyNames.in",
522 "css/SVGCSSPropertyNames.in", 578 "css/SVGCSSPropertyNames.in",
523 ] 579 ]
524 outputs = [ 580 outputs = [
525 "CSSPropertyNames.cpp", 581 "$blink_core_output_dir/CSSPropertyNames.cpp",
526 "CSSPropertyNames.h", 582 "$blink_core_output_dir/CSSPropertyNames.h",
527 ] 583 ]
528 other_args = [ "--defines", feature_defines_string ] 584 other_args = [ "--defines", feature_defines_string ]
529 } 585 }
530 586
531 # "MediaFeatures" in make_core_generated from GYP. 587 # "MediaFeatures" in make_core_generated from GYP.
532 process_in_files("make_core_generated_media_features") { 588 process_in_files("make_core_generated_media_features") {
533 script = "../build/scripts/make_media_features.py" 589 script = "../build/scripts/make_media_features.py"
534 in_files = [ 590 in_files = [
535 "css/MediaFeatureNames.in", 591 "css/MediaFeatureNames.in",
536 ] 592 ]
537 other_inputs = [ 593 other_inputs = [
538 "../build/scripts/make_media_features.py", 594 "../build/scripts/make_media_features.py",
539 "../build/scripts/templates/MediaFeatures.h.tmpl", 595 "../build/scripts/templates/MediaFeatures.h.tmpl",
540 ] 596 ]
541 outputs = [ 597 outputs = [
542 "MediaFeatures.h", 598 "$blink_core_output_dir/MediaFeatures.h",
543 ] 599 ]
544 other_args = [ "--defines", feature_defines_string ] 600 other_args = [ "--defines", feature_defines_string ]
545 } 601 }
546 602
547 # "StylePropertyShorthand" in make_core_generated from GYP. 603 # "StylePropertyShorthand" in make_core_generated from GYP.
548 process_in_files("make_core_generated_style_property_shorthand") { 604 process_in_files("make_core_generated_style_property_shorthand") {
549 script = "../build/scripts/make_style_shorthands.py" 605 script = "../build/scripts/make_style_shorthands.py"
550 in_files = [ 606 in_files = [
551 "css/CSSShorthands.in", 607 "css/CSSShorthands.in",
552 ] 608 ]
553 other_inputs = [ 609 other_inputs = [
554 "../build/scripts/templates/StylePropertyShorthand.cpp.tmpl", 610 "../build/scripts/templates/StylePropertyShorthand.cpp.tmpl",
555 "../build/scripts/templates/StylePropertyShorthand.h.tmpl", 611 "../build/scripts/templates/StylePropertyShorthand.h.tmpl",
556 ] 612 ]
557 outputs = [ 613 outputs = [
558 "StylePropertyShorthand.cpp", 614 "$blink_core_output_dir/StylePropertyShorthand.cpp",
559 "StylePropertyShorthand.h", 615 "$blink_core_output_dir/StylePropertyShorthand.h",
560 ] 616 ]
561 } 617 }
562 618
563 # "StyleBuilder" in make_core_generated from GYP. 619 # "StyleBuilder" in make_core_generated from GYP.
564 process_in_files("make_core_generated_style_builder") { 620 process_in_files("make_core_generated_style_builder") {
565 script = "../build/scripts/make_style_builder.py" 621 script = "../build/scripts/make_style_builder.py"
566 622
567 in_files = [ 623 in_files = [
568 "css/CSSProperties.in", 624 "css/CSSProperties.in",
569 ] 625 ]
570 other_inputs = [ 626 other_inputs = [
571 "../build/scripts/templates/StyleBuilder.cpp.tmpl", 627 "../build/scripts/templates/StyleBuilder.cpp.tmpl",
572 "../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl", 628 "../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl",
573 "../build/scripts/templates/StyleBuilderFunctions.h.tmpl", 629 "../build/scripts/templates/StyleBuilderFunctions.h.tmpl",
574 ] 630 ]
575 outputs = [ 631 outputs = [
576 "StyleBuilder.cpp", 632 "$blink_core_output_dir/StyleBuilder.cpp",
577 "StyleBuilderFunctions.h", 633 "$blink_core_output_dir/StyleBuilderFunctions.h",
578 "StyleBuilderFunctions.cpp", 634 "$blink_core_output_dir/StyleBuilderFunctions.cpp",
579 ] 635 ]
580 } 636 }
581 637
582 # "CSSValueKeywords" in make_core_generated from GYP. 638 # "CSSValueKeywords" in make_core_generated from GYP.
583 process_in_files("make_core_generated_css_value_keywords") { 639 process_in_files("make_core_generated_css_value_keywords") {
584 script = "../build/scripts/make_css_value_keywords.py" 640 script = "../build/scripts/make_css_value_keywords.py"
585 641
586 in_files = [ 642 in_files = [
587 "css/CSSValueKeywords.in", 643 "css/CSSValueKeywords.in",
588 "css/SVGCSSValueKeywords.in", 644 "css/SVGCSSValueKeywords.in",
589 ] 645 ]
590 outputs = [ 646 outputs = [
591 "CSSValueKeywords.cpp", 647 "$blink_core_output_dir/CSSValueKeywords.cpp",
592 "CSSValueKeywords.h", 648 "$blink_core_output_dir/CSSValueKeywords.h",
593 ] 649 ]
594 other_args = [ 650 other_args = [
595 "--gperf", gperf_exe, 651 "--gperf", gperf_exe,
596 "--defines", feature_defines_string 652 "--defines", feature_defines_string
597 ] 653 ]
598 } 654 }
599 655
600 # "HTMLElementFactory" in make_core_generated from GYP. 656 # "HTMLElementFactory" in make_core_generated from GYP.
601 process_in_files("make_core_generated_html_element_factory") { 657 process_in_files("make_core_generated_html_element_factory") {
602 script = "../build/scripts/make_element_factory.py" 658 script = "../build/scripts/make_element_factory.py"
603 659
604 in_files = [ 660 in_files = [
605 "html/HTMLTagNames.in", 661 "html/HTMLTagNames.in",
606 "html/HTMLAttributeNames.in", 662 "html/HTMLAttributeNames.in",
607 ] 663 ]
608 other_inputs = make_element_factory_files 664 other_inputs = make_element_factory_files
609 outputs = [ 665 outputs = [
610 "HTMLElementFactory.cpp", 666 "$blink_core_output_dir/HTMLElementFactory.cpp",
611 "HTMLElementFactory.h", 667 "$blink_core_output_dir/HTMLElementFactory.h",
612 "HTMLNames.cpp", 668 "$blink_core_output_dir/HTMLNames.cpp",
613 "HTMLNames.h", 669 "$blink_core_output_dir/HTMLNames.h",
614 "V8HTMLElementWrapperFactory.cpp", 670 "$blink_core_output_dir/V8HTMLElementWrapperFactory.cpp",
615 "V8HTMLElementWrapperFactory.h", 671 "$blink_core_output_dir/V8HTMLElementWrapperFactory.h",
616 ] 672 ]
617 } 673 }
618 674
619 # "HTMLElementTypeHelpers" in make_core_generated from GYP. 675 # "HTMLElementTypeHelpers" in make_core_generated from GYP.
620 process_in_files("make_core_generated_html_element_type_helpers") { 676 process_in_files("make_core_generated_html_element_type_helpers") {
621 script = "../build/scripts/make_element_type_helpers.py" 677 script = "../build/scripts/make_element_type_helpers.py"
622 678
623 in_files = [ 679 in_files = [
624 "html/HTMLTagNames.in", 680 "html/HTMLTagNames.in",
625 ] 681 ]
626 other_inputs = make_element_type_helpers_files 682 other_inputs = make_element_type_helpers_files
627 outputs = [ 683 outputs = [
628 "HTMLElementTypeHelpers.h", 684 "$blink_core_output_dir/HTMLElementTypeHelpers.h",
629 ] 685 ]
630 } 686 }
631 687
632 # "SVGNames" in make_core_generated from GYP. 688 # "SVGNames" in make_core_generated from GYP.
633 process_in_files("make_core_generated_svg_names") { 689 process_in_files("make_core_generated_svg_names") {
634 script = "../build/scripts/make_element_factory.py" 690 script = "../build/scripts/make_element_factory.py"
635 691
636 in_files = [ 692 in_files = [
637 "svg/SVGTagNames.in", 693 "svg/SVGTagNames.in",
638 "svg/SVGAttributeNames.in", 694 "svg/SVGAttributeNames.in",
639 ] 695 ]
640 other_inputs = make_element_factory_files 696 other_inputs = make_element_factory_files
641 outputs = [ 697 outputs = [
642 "SVGElementFactory.cpp", 698 "$blink_core_output_dir/SVGElementFactory.cpp",
643 "SVGElementFactory.h", 699 "$blink_core_output_dir/SVGElementFactory.h",
644 "SVGNames.cpp", 700 "$blink_core_output_dir/SVGNames.cpp",
645 "SVGNames.h", 701 "$blink_core_output_dir/SVGNames.h",
646 "V8SVGElementWrapperFactory.cpp", 702 "$blink_core_output_dir/V8SVGElementWrapperFactory.cpp",
647 "V8SVGElementWrapperFactory.h", 703 "$blink_core_output_dir/V8SVGElementWrapperFactory.h",
648 ] 704 ]
649 } 705 }
650 706
651 # "SVGElementTypeHelpers" in make_core_generated from GYP. 707 # "SVGElementTypeHelpers" in make_core_generated from GYP.
652 process_in_files("make_core_generated_svg_element_type_helpers") { 708 process_in_files("make_core_generated_svg_element_type_helpers") {
653 script = "../build/scripts/make_element_type_helpers.py" 709 script = "../build/scripts/make_element_type_helpers.py"
654 710
655 in_files = [ 711 in_files = [
656 "svg/SVGTagNames.in", 712 "svg/SVGTagNames.in",
657 ] 713 ]
658 other_inputs = make_element_type_helpers_files 714 other_inputs = make_element_type_helpers_files
659 outputs = [ 715 outputs = [
660 "SVGElementTypeHelpers.h", 716 "$blink_core_output_dir/SVGElementTypeHelpers.h",
661 ] 717 ]
662 } 718 }
663 719
664 # "EventFactory" in make_core_generated from GYP. 720 # "EventFactory" in make_core_generated from GYP.
665 process_in_files("make_core_generated_event_factory") { 721 process_in_files("make_core_generated_event_factory") {
666 script = "../build/scripts/make_event_factory.py" 722 script = "../build/scripts/make_event_factory.py"
667 723
668 in_files = [ 724 in_files = [
669 "$blink_gen_dir/EventInterfaces.in", 725 "$blink_core_output_dir/EventInterfaces.in",
670 "events/EventAliases.in", 726 "events/EventAliases.in",
671 ] 727 ]
672 other_inputs = make_event_factory_files 728 other_inputs = make_event_factory_files
673 outputs = [ 729 outputs = [
674 "Event.cpp", 730 "$blink_core_output_dir/Event.cpp",
675 "EventHeaders.h", 731 "$blink_core_output_dir/EventHeaders.h",
676 "EventInterfaces.h", 732 "$blink_core_output_dir/EventInterfaces.h",
677 ] 733 ]
678 } 734 }
679 735
680 # make_event_factory ----------------------------------------------------------- 736 # make_event_factory -----------------------------------------------------------
681 737
682 # "EventTargetFactory" in make_core_generated from GYP. 738 # "EventTargetFactory" in make_core_generated from GYP.
683 make_event_factory("make_core_generated_event_target_factory") { 739 make_event_factory("make_core_generated_event_target_factory") {
684 in_files = [ 740 in_files = [
685 "events/EventTargetFactory.in", 741 "events/EventTargetFactory.in",
686 ] 742 ]
687 outputs = [ 743 outputs = [
688 "EventTargetHeaders.h", 744 "$blink_core_output_dir/EventTargetHeaders.h",
689 "EventTargetInterfaces.h", 745 "$blink_core_output_dir/EventTargetInterfaces.h",
690 ] 746 ]
691 } 747 }
692 748
693 # "MediaFeatureNames" in make_core_generated from GYP. 749 # "MediaFeatureNames" in make_core_generated from GYP.
694 process_in_files("make_core_generated_media_feature_names") { 750 process_in_files("make_core_generated_media_feature_names") {
695 script = "../build/scripts/make_media_feature_names.py" 751 script = "../build/scripts/make_media_feature_names.py"
696 in_files = [ 752 in_files = [
697 "css/MediaFeatureNames.in", 753 "css/MediaFeatureNames.in",
698 ] 754 ]
699 other_inputs = make_names_files 755 other_inputs = make_names_files
700 outputs = [ 756 outputs = [
701 "MediaFeatureNames.cpp", 757 "$blink_core_output_dir/MediaFeatureNames.cpp",
702 "MediaFeatureNames.h", 758 "$blink_core_output_dir/MediaFeatureNames.h",
703 ] 759 ]
704 other_args = [ "--defines", feature_defines_string ] 760 other_args = [ "--defines", feature_defines_string ]
705 } 761 }
706 762
707 # make_names ------------------------------------------------------------------- 763 # make_names -------------------------------------------------------------------
708 764
709 # "MediaTypeNames" in make_core_generated from GYP. 765 # "MediaTypeNames" in make_core_generated from GYP.
710 make_names("make_core_generated_media_type_names") { 766 make_names("make_core_generated_media_type_names") {
711 in_files = [ 767 in_files = [
712 "css/MediaTypeNames.in", 768 "css/MediaTypeNames.in",
713 ] 769 ]
714 outputs = [ 770 outputs = [
715 "MediaTypeNames.cpp", 771 "$blink_core_output_dir/MediaTypeNames.cpp",
716 "MediaTypeNames.h", 772 "$blink_core_output_dir/MediaTypeNames.h",
717 ] 773 ]
718 } 774 }
719 775
720 # "EventNames" in make_core_generated from GYP. 776 # "EventNames" in make_core_generated from GYP.
721 make_names("make_core_generated_event_names") { 777 make_names("make_core_generated_event_names") {
722 in_files = [ 778 in_files = [
723 "$blink_gen_dir/EventInterfaces.in", 779 "$blink_core_output_dir/EventInterfaces.in",
724 ] 780 ]
725 outputs = [ 781 outputs = [
726 "EventNames.cpp", 782 "$blink_core_output_dir/EventNames.cpp",
727 "EventNames.h", 783 "$blink_core_output_dir/EventNames.h",
728 ] 784 ]
729 } 785 }
730 786
731 # "EventTargetNames" in make_core_generated from GYP. 787 # "EventTargetNames" in make_core_generated from GYP.
732 make_names("make_core_generated_event_target_names") { 788 make_names("make_core_generated_event_target_names") {
733 in_files = [ 789 in_files = [
734 "events/EventTargetFactory.in", 790 "events/EventTargetFactory.in",
735 ] 791 ]
736 outputs = [ 792 outputs = [
737 "EventTargetNames.cpp", 793 "$blink_core_output_dir/EventTargetNames.cpp",
738 "EventTargetNames.h", 794 "$blink_core_output_dir/EventTargetNames.h",
739 ] 795 ]
740 } 796 }
741 797
742 # "FetchInitiatorTypeNames" in make_core_generated from GYP. 798 # "FetchInitiatorTypeNames" in make_core_generated from GYP.
743 make_names("make_core_generated_fetch_initiator_type_names") { 799 make_names("make_core_generated_fetch_initiator_type_names") {
744 in_files = [ 800 in_files = [
745 "fetch/FetchInitiatorTypeNames.in", 801 "fetch/FetchInitiatorTypeNames.in",
746 ] 802 ]
747 outputs = [ 803 outputs = [
748 "FetchInitiatorTypeNames.cpp", 804 "$blink_core_output_dir/FetchInitiatorTypeNames.cpp",
749 "FetchInitiatorTypeNames.h", 805 "$blink_core_output_dir/FetchInitiatorTypeNames.h",
750 ] 806 ]
751 } 807 }
752 808
753 # "EventTypeNames" in make_core_generated from GYP. 809 # "EventTypeNames" in make_core_generated from GYP.
754 make_names("make_core_generated_event_type_names") { 810 make_names("make_core_generated_event_type_names") {
755 in_files = [ 811 in_files = [
756 "events/EventTypeNames.in", 812 "events/EventTypeNames.in",
757 ] 813 ]
758 outputs = [ 814 outputs = [
759 "EventTypeNames.cpp", 815 "$blink_core_output_dir/EventTypeNames.cpp",
760 "EventTypeNames.h", 816 "$blink_core_output_dir/EventTypeNames.h",
761 ] 817 ]
762 } 818 }
763 819
764 # "HTMLTokenizerNames" in make_core_generated from GYP. 820 # "HTMLTokenizerNames" in make_core_generated from GYP.
765 make_names("make_core_generated_html_tokenizer_names") { 821 make_names("make_core_generated_html_tokenizer_names") {
766 in_files = [ 822 in_files = [
767 "html/parser/HTMLTokenizerNames.in", 823 "html/parser/HTMLTokenizerNames.in",
768 ] 824 ]
769 outputs = [ 825 outputs = [
770 "HTMLTokenizerNames.cpp", 826 "$blink_core_output_dir/HTMLTokenizerNames.cpp",
771 "HTMLTokenizerNames.h", 827 "$blink_core_output_dir/HTMLTokenizerNames.h",
772 ] 828 ]
773 } 829 }
774 830
775 # "InputTypeNames" in make_core_generated from GYP. 831 # "InputTypeNames" in make_core_generated from GYP.
776 make_names("make_core_generated_input_type_names") { 832 make_names("make_core_generated_input_type_names") {
777 in_files = [ 833 in_files = [
778 "html/forms/InputTypeNames.in", 834 "html/forms/InputTypeNames.in",
779 ] 835 ]
780 outputs = [ 836 outputs = [
781 "InputTypeNames.cpp", 837 "$blink_core_output_dir/InputTypeNames.cpp",
782 "InputTypeNames.h", 838 "$blink_core_output_dir/InputTypeNames.h",
783 ] 839 ]
784 } 840 }
785 841
786 # make_qualified_names --------------------------------------------------------- 842 # make_qualified_names ---------------------------------------------------------
787 843
788 # "MathMLNames" in make_core_generated from GYP. 844 # "MathMLNames" in make_core_generated from GYP.
789 make_qualified_names("make_core_generated_math_ml_names") { 845 make_qualified_names("make_core_generated_math_ml_names") {
790 in_files = [ 846 in_files = [
791 "html/parser/MathMLTagNames.in", 847 "html/parser/MathMLTagNames.in",
792 "html/parser/MathMLAttributeNames.in", 848 "html/parser/MathMLAttributeNames.in",
793 ] 849 ]
794 outputs = [ 850 outputs = [
795 "MathMLNames.cpp", 851 "$blink_core_output_dir/MathMLNames.cpp",
796 "MathMLNames.h", 852 "$blink_core_output_dir/MathMLNames.h",
797 ] 853 ]
798 } 854 }
799 855
800 # "XLinkNames" in make_core_generated from GYP. 856 # "XLinkNames" in make_core_generated from GYP.
801 make_qualified_names("make_core_generated_xlink_names") { 857 make_qualified_names("make_core_generated_xlink_names") {
802 in_files = [ 858 in_files = [
803 "svg/xlinkattrs.in", 859 "svg/xlinkattrs.in",
804 ] 860 ]
805 outputs = [ 861 outputs = [
806 "XLinkNames.cpp", 862 "$blink_core_output_dir/XLinkNames.cpp",
807 "XLinkNames.h", 863 "$blink_core_output_dir/XLinkNames.h",
808 ] 864 ]
809 } 865 }
810 866
811 # "XMLNSNames" in make_core_generated from GYP. 867 # "XMLNSNames" in make_core_generated from GYP.
812 make_qualified_names("make_core_generated_xml_ns_names") { 868 make_qualified_names("make_core_generated_xml_ns_names") {
813 in_files = [ 869 in_files = [
814 "xml/xmlnsattrs.in", 870 "xml/xmlnsattrs.in",
815 ] 871 ]
816 outputs = [ 872 outputs = [
817 "XMLNSNames.cpp", 873 "$blink_core_output_dir/XMLNSNames.cpp",
818 "XMLNSNames.h", 874 "$blink_core_output_dir/XMLNSNames.h",
819 ] 875 ]
820 } 876 }
821 877
822 # "XMLNames" in make_core_generated from GYP. 878 # "XMLNames" in make_core_generated from GYP.
823 make_qualified_names("make_core_generated_xml_names") { 879 make_qualified_names("make_core_generated_xml_names") {
824 in_files = [ 880 in_files = [
825 "xml/xmlattrs.in", 881 "xml/xmlattrs.in",
826 ] 882 ]
827 outputs = [ 883 outputs = [
828 "XMLNames.cpp", 884 "$blink_core_output_dir/XMLNames.cpp",
829 "XMLNames.h", 885 "$blink_core_output_dir/XMLNames.h",
830 ] 886 ]
831 } 887 }
832 888
833 # make_token_matcher ----------------------------------------------------------- 889 # make_token_matcher -----------------------------------------------------------
834 890
835 # "MakeTokenMatcher" in make_core_generated from GYP. 891 # "MakeTokenMatcher" in make_core_generated from GYP.
836 make_token_matcher("make_core_generated_make_token_matcher") { 892 make_token_matcher("make_core_generated_make_token_matcher") {
837 input_file = "css/CSSTokenizer-in.cpp" 893 input_file = "css/CSSTokenizer-in.cpp"
838 output_file = "CSSTokenizer.cpp" 894 output_file = "$blink_core_output_dir/CSSTokenizer.cpp"
839 } 895 }
840 896
841 # "MakeParser" in make_core_generated from GYP. 897 # "MakeParser" in make_core_generated from GYP.
842 make_token_matcher("make_core_generated_make_parser") { 898 make_token_matcher("make_core_generated_make_parser") {
843 input_file = "css/parser/BisonCSSParser-in.cpp" 899 input_file = "css/parser/BisonCSSParser-in.cpp"
844 output_file = "BisonCSSParser.cpp" 900 output_file = "$blink_core_output_dir/BisonCSSParser.cpp"
845 } 901 }
846 902
847 # "MakeTokenMatcherForViewport" in make_core_generated from GYP. 903 # "MakeTokenMatcherForViewport" in make_core_generated from GYP.
848 make_token_matcher("make_core_generated_make_token_matcher_for_viewport") { 904 make_token_matcher("make_core_generated_make_token_matcher_for_viewport") {
849 input_file = "html/HTMLMetaElement-in.cpp" 905 input_file = "html/HTMLMetaElement-in.cpp"
850 output_file = "HTMLMetaElement.cpp" 906 output_file = "$blink_core_output_dir/HTMLMetaElement.cpp"
851 } 907 }
852 908
853 # One-off scripts -------------------------------------------------------------- 909 # One-off scripts --------------------------------------------------------------
854 910
855 # "generateXMLViewerCSS" in make_core_generated from GYP. 911 # "generateXMLViewerCSS" in make_core_generated from GYP.
856 action("make_core_generated_xml_viewer_css") { 912 action("make_core_generated_xml_viewer_css") {
857 visibility = ":make_core_generated" 913 visibility = ":make_core_generated"
858 script = "../build/scripts/xxd.py" 914 script = "../build/scripts/xxd.py"
859 915
860 source_prereqs = [ 916 source_prereqs = [
861 "xml/XMLViewer.css", 917 "xml/XMLViewer.css",
862 ] 918 ]
863 outputs = [ 919 outputs = [
864 "$blink_gen_dir/XMLViewerCSS.h", 920 "$blink_core_output_dir/XMLViewerCSS.h",
865 ] 921 ]
866 922
867 args = [ 923 args = [
868 "XMLViewer_css", 924 "XMLViewer_css",
869 rebase_path(source_prereqs[0], root_build_dir), 925 rebase_path(source_prereqs[0], root_build_dir),
870 rebase_path(outputs[0], root_build_dir), 926 rebase_path(outputs[0], root_build_dir),
871 ] 927 ]
872 928
873 deps = make_core_generated_deps 929 deps = make_core_generated_deps
874 } 930 }
875 931
876 # "generateXMLViewerJS" in make_core_generated from GYP. 932 # "generateXMLViewerJS" in make_core_generated from GYP.
877 action("make_core_generated_xml_viewer_js") { 933 action("make_core_generated_xml_viewer_js") {
878 visibility = ":make_core_generated" 934 visibility = ":make_core_generated"
879 script = "../build/scripts/xxd.py" 935 script = "../build/scripts/xxd.py"
880 936
881 source_prereqs = [ 937 source_prereqs = [
882 "xml/XMLViewer.js", 938 "xml/XMLViewer.js",
883 ] 939 ]
884 outputs = [ 940 outputs = [
885 "$blink_gen_dir/XMLViewerJS.h", 941 "$blink_core_output_dir/XMLViewerJS.h",
886 ] 942 ]
887 943
888 args = [ 944 args = [
889 "XMLViewer_js", 945 "XMLViewer_js",
890 rebase_path(source_prereqs[0], root_build_dir), 946 rebase_path(source_prereqs[0], root_build_dir),
891 rebase_path(outputs[0], root_build_dir), 947 rebase_path(outputs[0], root_build_dir),
892 ] 948 ]
893 949
894 deps = make_core_generated_deps 950 deps = make_core_generated_deps
895 } 951 }
896 952
897 # "HTMLEntityTable" in make_core_generated from GYP. 953 # "HTMLEntityTable" in make_core_generated from GYP.
898 action("make_core_generated_html_entity_table") { 954 action("make_core_generated_html_entity_table") {
899 visibility = ":make_core_generated" 955 visibility = ":make_core_generated"
900 script = "html/parser/create-html-entity-table" 956 script = "html/parser/create-html-entity-table"
901 957
902 source_prereqs = [ 958 source_prereqs = [
903 "html/parser/HTMLEntityNames.in", 959 "html/parser/HTMLEntityNames.in",
904 ] 960 ]
905 outputs = [ 961 outputs = [
906 "$blink_gen_dir/HTMLEntityTable.cpp", 962 "$blink_core_output_dir/HTMLEntityTable.cpp",
907 ] 963 ]
908 964
909 args = [ "-o" ] + rebase_path(outputs, root_build_dir) 965 args = [ "-o" ] + rebase_path(outputs, root_build_dir)
910 args += rebase_path(source_prereqs, root_build_dir) 966 args += rebase_path(source_prereqs, root_build_dir)
911 967
912 deps = make_core_generated_deps 968 deps = make_core_generated_deps
913 } 969 }
914 970
915 # "MediaQueryTokenizerCodepoints" in make_core_generated from GYP. 971 # "MediaQueryTokenizerCodepoints" in make_core_generated from GYP.
916 action("make_core_generated_media_query_tokenizer_codepoints") { 972 action("make_core_generated_media_query_tokenizer_codepoints") {
917 visibility = ":make_core_generated" 973 visibility = ":make_core_generated"
918 script = "../build/scripts/make_mediaquery_tokenizer_codepoints.py" 974 script = "../build/scripts/make_mediaquery_tokenizer_codepoints.py"
919 975
920 outputs = [ 976 outputs = [
921 "$blink_gen_dir/MediaQueryTokenizerCodepoints.cpp", 977 "$blink_core_output_dir/MediaQueryTokenizerCodepoints.cpp",
922 ] 978 ]
923 979
924 args = [ 980 args = [
925 "--output_dir", rel_blink_gen_dir, 981 "--output_dir", rel_blink_core_gen_dir,
926 "--defines", feature_defines_string 982 "--defines", feature_defines_string
927 ] 983 ]
928 984
929 deps = make_core_generated_deps 985 deps = make_core_generated_deps
930 } 986 }
931 987
932 # "UserAgentStyleSheets" in make_core_generated from GYP. 988 # "UserAgentStyleSheets" in make_core_generated from GYP.
933 action("make_core_generated_user_agent_style_sheets") { 989 action("make_core_generated_user_agent_style_sheets") {
934 visibility = ":make_core_generated" 990 visibility = ":make_core_generated"
935 script = "../build/scripts/action_useragentstylesheets.py" 991 script = "../build/scripts/action_useragentstylesheets.py"
(...skipping 18 matching lines...) Expand all
954 "css/mathml.css", 1010 "css/mathml.css",
955 "css/mediaControls.css", 1011 "css/mediaControls.css",
956 "css/mediaControlsAndroid.css", 1012 "css/mediaControlsAndroid.css",
957 "css/fullscreen.css", 1013 "css/fullscreen.css",
958 "css/xhtmlmp.css", 1014 "css/xhtmlmp.css",
959 "css/viewportAndroid.css", 1015 "css/viewportAndroid.css",
960 ] 1016 ]
961 1017
962 source_prereqs = scripts + stylesheets 1018 source_prereqs = scripts + stylesheets
963 outputs = [ 1019 outputs = [
964 "$blink_gen_dir/UserAgentStyleSheets.h", 1020 "$blink_core_output_dir/UserAgentStyleSheets.h",
965 "$blink_gen_dir/UserAgentStyleSheetsData.cpp", 1021 "$blink_core_output_dir/UserAgentStyleSheetsData.cpp",
966 ] 1022 ]
967 1023
968 args = 1024 args =
969 rebase_path(outputs, root_build_dir) + 1025 rebase_path(outputs, root_build_dir) +
970 rebase_path(stylesheets, root_build_dir) + 1026 rebase_path(stylesheets, root_build_dir) +
971 [ "--" ] + 1027 [ "--" ] +
972 rebase_path(scripts, root_build_dir) + 1028 rebase_path(scripts, root_build_dir) +
973 [ "--", "--defines", feature_defines_string ] + 1029 [ "--", "--defines", feature_defines_string ] +
974 [ preprocessor ] + 1030 [ preprocessor ] +
975 [ "--perl", perl_exe ] 1031 [ "--perl", perl_exe ]
976 1032
977 deps = make_core_generated_deps 1033 deps = make_core_generated_deps
978 } 1034 }
979 1035
980 # "HTMLElementLookupTrie" in make_core_generated from GYP. 1036 # "HTMLElementLookupTrie" in make_core_generated from GYP.
981 action("make_core_generated_html_element_lookup_trie") { 1037 action("make_core_generated_html_element_lookup_trie") {
982 visibility = ":make_core_generated" 1038 visibility = ":make_core_generated"
983 script = "../build/scripts/make_element_lookup_trie.py" 1039 script = "../build/scripts/make_element_lookup_trie.py"
984 1040
985 input_file = "html/HTMLTagNames.in" 1041 input_file = "html/HTMLTagNames.in"
986 source_prereqs = scripts_for_in_files + [ 1042 source_prereqs = scripts_for_in_files + [
987 input_file, 1043 input_file,
988 "../build/scripts/templates/ElementLookupTrie.cpp.tmpl", 1044 "../build/scripts/templates/ElementLookupTrie.cpp.tmpl",
989 "../build/scripts/templates/ElementLookupTrie.h.tmpl", 1045 "../build/scripts/templates/ElementLookupTrie.h.tmpl",
990 ] 1046 ]
991 outputs = [ 1047 outputs = [
992 "$blink_gen_dir/HTMLElementLookupTrie.cpp", 1048 "$blink_core_output_dir/HTMLElementLookupTrie.cpp",
993 "$blink_gen_dir/HTMLElementLookupTrie.h", 1049 "$blink_core_output_dir/HTMLElementLookupTrie.h",
994 ] 1050 ]
995 1051
996 args = [ 1052 args = [
997 rebase_path(input_file, root_build_dir), 1053 rebase_path(input_file, root_build_dir),
998 "--output_dir", rel_blink_gen_dir, 1054 "--output_dir", rel_blink_core_gen_dir,
999 ] 1055 ]
1000 1056
1001 deps = make_core_generated_deps 1057 deps = make_core_generated_deps
1002 } 1058 }
1003 1059
1004 # The bison rules from make_core_generated. 1060 # The bison rules from make_core_generated.
1005 action_foreach("make_core_generated_bison") { 1061 action_foreach("make_core_generated_bison") {
1006 script = "../build/scripts/rule_bison.py" 1062 script = "../build/scripts/rule_bison.py"
1007 sources = [ 1063 sources = [
1008 "css/CSSGrammar.y", 1064 "css/CSSGrammar.y",
1009 "xml/XPathGrammar.y", 1065 "xml/XPathGrammar.y",
1010 ] 1066 ]
1011 outputs = [ 1067 outputs = [
1012 "$blink_gen_dir/{{source_name_part}}.cpp", 1068 "$blink_core_output_dir/{{source_name_part}}.cpp",
1013 "$blink_gen_dir/{{source_name_part}}.h", 1069 "$blink_core_output_dir/{{source_name_part}}.h",
1014 ] 1070 ]
1015 args = [ 1071 args = [
1016 "{{source}}", 1072 "{{source}}",
1017 rel_blink_gen_dir, 1073 rel_blink_core_gen_dir,
1018 bison_exe, 1074 bison_exe,
1019 ] 1075 ]
1020 1076
1021 deps = make_core_generated_deps 1077 deps = make_core_generated_deps
1022 } 1078 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698