| OLD | NEW |
| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 if (!is_component_build) { | 48 if (!is_component_build) { |
| 49 if (is_win && is_official_build) { | 49 if (is_win && is_official_build) { |
| 50 # Shard this target into parts to work around linker limitations | 50 # Shard this target into parts to work around linker limitations |
| 51 # on link time code generation builds. | 51 # on link time code generation builds. |
| 52 split_count = 5 | 52 split_count = 5 |
| 53 } else { | 53 } else { |
| 54 split_count = 1 | 54 split_count = 1 |
| 55 } | 55 } |
| 56 } | 56 } |
| 57 | 57 |
| 58 # GYP version: WebKit/Source/core/core.gyp:webcore_generated | |
| 59 source_set("generated") { | 58 source_set("generated") { |
| 60 deps = [ | 59 deps = [ |
| 61 ":make_core_generated", | 60 ":core_generated", |
| 62 ":prerequisites", | 61 ":prerequisites", |
| 63 "inspector:instrumentation_sources", | |
| 64 "inspector:protocol_sources", | |
| 65 "//gin", | 62 "//gin", |
| 66 "//skia", | 63 "//skia", |
| 67 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", | 64 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", |
| 65 "//third_party/WebKit/Source/core/inspector", |
| 68 "//third_party/iccjpeg", | 66 "//third_party/iccjpeg", |
| 69 "//third_party/libpng", | 67 "//third_party/libpng", |
| 70 "//third_party/libwebp", | 68 "//third_party/libwebp", |
| 71 "//third_party/libxml", | 69 "//third_party/libxml", |
| 72 "//third_party/libxslt", | 70 "//third_party/libxslt", |
| 73 "//third_party/qcms", | 71 "//third_party/qcms", |
| 74 "//third_party/sqlite", | 72 "//third_party/sqlite", |
| 75 | 73 |
| 76 # FIXME: don't depend on bindings/modules http://crbug.com/358074 | 74 # FIXME: don't depend on bindings/modules http://crbug.com/358074 |
| 77 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", | 75 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", |
| 78 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, | 76 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, |
| 79 "//third_party/WebKit/Source/platform:make_platform_generated", | 77 "//third_party/WebKit/Source/platform:make_platform_generated", |
| 80 "//third_party/WebKit/Source/wtf", | 78 "//third_party/WebKit/Source/wtf", |
| 81 "//url", | 79 "//url", |
| 82 "//v8", | 80 "//v8", |
| 83 ] | 81 ] |
| 84 } | 82 } |
| 85 | 83 |
| 86 # GYP version: WebKit/Source/core/core.gyp:webcore_prerequisites | |
| 87 source_set("prerequisites") { | 84 source_set("prerequisites") { |
| 88 public_deps = [ | 85 public_deps = [ |
| 89 "//gpu/command_buffer/client:gles2_c_lib", | 86 "//gpu/command_buffer/client:gles2_c_lib", |
| 90 "//skia", | 87 "//skia", |
| 88 "//third_party/WebKit/Source/core/inspector", |
| 91 "//third_party/WebKit/Source/wtf", | 89 "//third_party/WebKit/Source/wtf", |
| 92 "//third_party/angle:translator", | 90 "//third_party/angle:translator", |
| 93 "//third_party/iccjpeg", | 91 "//third_party/iccjpeg", |
| 94 "//third_party/icu", | 92 "//third_party/icu", |
| 95 "//third_party/libpng", | 93 "//third_party/libpng", |
| 96 "//third_party/libwebp", | 94 "//third_party/libwebp", |
| 97 "//third_party/libxml", | 95 "//third_party/libxml", |
| 98 "//third_party/libxslt", | 96 "//third_party/libxslt", |
| 99 "//third_party/ots", | 97 "//third_party/ots", |
| 100 "//third_party/qcms", | 98 "//third_party/qcms", |
| 101 "//third_party/snappy", | 99 "//third_party/snappy", |
| 102 "//third_party/sqlite", | 100 "//third_party/sqlite", |
| 103 "//third_party/zlib", | 101 "//third_party/zlib", |
| 104 "//ui/gfx/geometry", | 102 "//ui/gfx/geometry", |
| 105 "//url", | 103 "//url", |
| 106 "//v8", | 104 "//v8", |
| 107 ] | 105 ] |
| 108 deps = [ | 106 deps = [ |
| 109 ":make_core_generated", | |
| 110 "inspector:instrumentation_sources", | |
| 111 "inspector:protocol_sources", | |
| 112 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", | 107 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", |
| 113 | 108 |
| 114 # FIXME: don't depend on bindings_modules http://crbug.com/358074 | 109 # FIXME: don't depend on bindings_modules http://crbug.com/358074 |
| 115 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, | 110 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, |
| 116 "//third_party/WebKit/Source/platform", | 111 "//third_party/WebKit/Source/platform", |
| 117 ] | 112 ] |
| 118 | 113 |
| 119 public_configs = [ | 114 public_configs = [ |
| 120 ":core_include_dirs", | 115 ":core_include_dirs", |
| 121 "//third_party/WebKit/Source:config", | 116 "//third_party/WebKit/Source:config", |
| 122 "//third_party/WebKit/Source:inside_blink", | 117 "//third_party/WebKit/Source:inside_blink", |
| 123 ] | 118 ] |
| 124 | 119 |
| 125 if (is_mac) { | 120 if (is_mac) { |
| 126 public_configs += [ "//third_party/WebKit/Source:mac_precompiled_headers" ] | 121 public_configs += [ "//third_party/WebKit/Source:mac_precompiled_headers" ] |
| 127 } | 122 } |
| 128 | 123 |
| 129 if (use_openmax_dl_fft) { | 124 if (use_openmax_dl_fft) { |
| 130 deps += [ "//third_party/openmax_dl/dl" ] | 125 deps += [ "//third_party/openmax_dl/dl" ] |
| 131 } | 126 } |
| 132 } | 127 } |
| 133 | 128 |
| 134 # Note that this is a source set rather than a group, even though it has no | 129 # Note that this is a source set rather than a group, even though it has no |
| 135 # sources. A group would implicitly forward all direct dependent configs | 130 # sources. A group would implicitly forward all direct dependent configs |
| 136 # through it, but we want to keep our internal targets' public_configs private | 131 # through it, but we want to keep our internal targets' public_configs private |
| 137 # and only forward some of them. | 132 # and only forward some of them. |
| 138 # | |
| 139 # GYP version: WebKit/Source/core/core.gyp:webcore | |
| 140 component("core") { | 133 component("core") { |
| 141 output_name = "blink_core" | 134 output_name = "blink_core" |
| 142 | 135 |
| 143 visibility = [] # Allow re-assignment of list. | 136 visibility = [] # Allow re-assignment of list. |
| 144 visibility = [ "//third_party/WebKit/*" ] | 137 visibility = [ "//third_party/WebKit/*" ] |
| 145 | 138 |
| 146 configs -= core_config_remove | 139 configs -= core_config_remove |
| 147 configs += core_config_add | 140 configs += core_config_add |
| 148 | 141 |
| 149 public_deps = [ | 142 public_deps = [ |
| (...skipping 19 matching lines...) Expand all Loading... |
| 169 if (is_win && is_debug && is_component_build) { | 162 if (is_win && is_debug && is_component_build) { |
| 170 # Incremental linking doesn't work on this target in debug mode, even | 163 # Incremental linking doesn't work on this target in debug mode, even |
| 171 # with symbol_level=1. | 164 # with symbol_level=1. |
| 172 configs -= [ "//build/config/win:default_incremental_linking" ] | 165 configs -= [ "//build/config/win:default_incremental_linking" ] |
| 173 configs += [ "//build/config/win:no_incremental_linking" ] | 166 configs += [ "//build/config/win:no_incremental_linking" ] |
| 174 } | 167 } |
| 175 | 168 |
| 176 public_configs = [ ":core_include_dirs" ] | 169 public_configs = [ ":core_include_dirs" ] |
| 177 } | 170 } |
| 178 | 171 |
| 179 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_html | |
| 180 target(core_link_large_target_type, "html") { | 172 target(core_link_large_target_type, "html") { |
| 181 sources = rebase_path(webcore_html_files, ".", "//") | 173 sources = rebase_path(webcore_html_files, ".", "//") |
| 182 | 174 |
| 183 configs -= core_config_remove | 175 configs -= core_config_remove |
| 184 configs += core_config_add | 176 configs += core_config_add |
| 185 | 177 |
| 186 deps = [ | 178 deps = [ |
| 179 ":core_generated", |
| 187 ":prerequisites", | 180 ":prerequisites", |
| 188 ] | 181 ] |
| 189 } | 182 } |
| 190 | 183 |
| 191 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_svg | |
| 192 target(core_link_large_target_type, "svg") { | 184 target(core_link_large_target_type, "svg") { |
| 193 sources = rebase_path(webcore_svg_files, ".", "//") | 185 sources = rebase_path(webcore_svg_files, ".", "//") |
| 194 | 186 |
| 195 configs -= core_config_remove | 187 configs -= core_config_remove |
| 196 configs += core_config_add | 188 configs += core_config_add |
| 197 | 189 |
| 198 deps = [ | 190 deps = [ |
| 191 ":core_generated", |
| 199 ":prerequisites", | 192 ":prerequisites", |
| 200 ] | 193 ] |
| 201 } | 194 } |
| 202 | 195 |
| 203 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_remaining | |
| 204 target(core_link_large_target_type, "remaining") { | 196 target(core_link_large_target_type, "remaining") { |
| 205 if (is_win && is_official_build && | 197 if (is_win && is_official_build && |
| 206 core_link_large_target_type == "split_static_library") { | 198 core_link_large_target_type == "split_static_library") { |
| 207 # Shard this target into parts to work around linker limitations | 199 # Shard this target into parts to work around linker limitations |
| 208 # on link time code generation builds. | 200 # on link time code generation builds. |
| 209 split_count = 19 | 201 split_count = 19 |
| 210 } | 202 } |
| 211 | 203 |
| 212 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" | 204 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" |
| 213 # in GYP. The file list variable is the same and then GYP filters on wether | 205 # in GYP. The file list variable is the same and then GYP filters on wether |
| 214 # the path starts with "rendering/" or not. We should tweak the .gypis a bit | 206 # the path starts with "rendering/" or not. We should tweak the .gypis a bit |
| 215 # to separate out the rendering files. | 207 # to separate out the rendering files. |
| 216 sources = rebase_path(webcore_non_rendering_files, ".", "//") | 208 sources = rebase_path(webcore_non_rendering_files, ".", "//") |
| 217 sources += rebase_path(webcore_rendering_files, ".", "//") | 209 sources += rebase_path(webcore_rendering_files, ".", "//") |
| 218 | 210 |
| 219 configs -= core_config_remove | 211 configs -= core_config_remove |
| 220 configs += core_config_add + [ | 212 configs += core_config_add + [ |
| 221 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 213 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 222 "//build/config/compiler:no_size_t_to_int_warning", | 214 "//build/config/compiler:no_size_t_to_int_warning", |
| 223 ] | 215 ] |
| 224 | 216 |
| 225 cflags = [] | 217 cflags = [] |
| 226 libs = [] | 218 libs = [] |
| 227 | 219 |
| 228 deps = [ | 220 deps = [ |
| 221 ":core_generated", |
| 229 ":prerequisites", | 222 ":prerequisites", |
| 230 ] | 223 ] |
| 231 | 224 |
| 232 if (is_win) { | 225 if (is_win) { |
| 233 cflags += [ "/wd4334" ] | 226 cflags += [ "/wd4334" ] |
| 234 sources -= [ "layout/LayoutThemeFontProviderDefault.cpp" ] | 227 sources -= [ "layout/LayoutThemeFontProviderDefault.cpp" ] |
| 235 } else { # !is_win | 228 } else { # !is_win |
| 236 sources -= [ | 229 sources -= [ |
| 237 "layout/LayoutThemeFontProviderWin.cpp", | 230 "layout/LayoutThemeFontProviderWin.cpp", |
| 238 "layout/LayoutThemeWin.cpp", | 231 "layout/LayoutThemeWin.cpp", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 257 if (is_mac) { | 250 if (is_mac) { |
| 258 libs += [ | 251 libs += [ |
| 259 "AppKit.framework", | 252 "AppKit.framework", |
| 260 "Carbon.framework", | 253 "Carbon.framework", |
| 261 ] | 254 ] |
| 262 } else { # !is_mac | 255 } else { # !is_mac |
| 263 sources -= [ "editing/commands/SmartReplaceCF.cpp" ] | 256 sources -= [ "editing/commands/SmartReplaceCF.cpp" ] |
| 264 } | 257 } |
| 265 } | 258 } |
| 266 | 259 |
| 267 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering | |
| 268 source_set("rendering") { | 260 source_set("rendering") { |
| 269 # The files that go here are currently in "remaining". | 261 # The files that go here are currently in "remaining". |
| 270 } | 262 } |
| 271 | 263 |
| 272 # GYP version: WebKit/Source/core/core.gyp:webcore_testing | |
| 273 source_set("testing") { | 264 source_set("testing") { |
| 274 configs += [ | 265 configs += [ |
| 275 "//third_party/WebKit/Source:inside_blink", | 266 "//third_party/WebKit/Source:inside_blink", |
| 276 "//third_party/WebKit/Source:config", | 267 "//third_party/WebKit/Source:config", |
| 277 ] | 268 ] |
| 278 | 269 |
| 279 deps = [ | 270 deps = [ |
| 280 ":core", | 271 ":core", |
| 281 ":generated_testing_idls", | 272 ":generated_testing_idls", |
| 282 ] | 273 ] |
| (...skipping 28 matching lines...) Expand all Loading... |
| 311 "$bindings_core_v8_output_dir/V8PrivateScriptTest.h", | 302 "$bindings_core_v8_output_dir/V8PrivateScriptTest.h", |
| 312 "$bindings_core_v8_output_dir/V8TypeConversions.cpp", | 303 "$bindings_core_v8_output_dir/V8TypeConversions.cpp", |
| 313 "$bindings_core_v8_output_dir/V8TypeConversions.h", | 304 "$bindings_core_v8_output_dir/V8TypeConversions.h", |
| 314 "$bindings_core_v8_output_dir/V8UnionTypesTest.cpp", | 305 "$bindings_core_v8_output_dir/V8UnionTypesTest.cpp", |
| 315 "$bindings_core_v8_output_dir/V8UnionTypesTest.h", | 306 "$bindings_core_v8_output_dir/V8UnionTypesTest.h", |
| 316 "$bindings_core_v8_output_dir/V8WorkerInternals.cpp", | 307 "$bindings_core_v8_output_dir/V8WorkerInternals.cpp", |
| 317 "$bindings_core_v8_output_dir/V8WorkerInternals.h", | 308 "$bindings_core_v8_output_dir/V8WorkerInternals.h", |
| 318 ] | 309 ] |
| 319 } | 310 } |
| 320 | 311 |
| 321 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_generated | |
| 322 target(core_link_large_target_type, "core_generated") { | |
| 323 sources = bindings_core_v8_files | |
| 324 | |
| 325 # These files include all the .cpp files generated from the .idl files | |
| 326 # in webcore_files. | |
| 327 sources += bindings_core_generated_aggregate_files | |
| 328 sources += bindings_core_generated_union_type_files | |
| 329 | |
| 330 # IDL dictionary impl files generated by IDL compiler | |
| 331 sources += generated_core_dictionary_files | |
| 332 | |
| 333 sources += [ | |
| 334 # Additional .cpp files for HashTools.h | |
| 335 "$blink_core_output_dir/CSSPropertyNames.cpp", | |
| 336 "$blink_core_output_dir/CSSValueKeywords.cpp", | |
| 337 | |
| 338 # Additional .cpp files from make_core_generated actions. | |
| 339 "$blink_core_output_dir/CSSPrimitiveValueUnitTrie.cpp", | |
| 340 "$blink_core_output_dir/Event.cpp", | |
| 341 "$blink_core_output_dir/EventHeaders.h", | |
| 342 "$blink_core_output_dir/EventNames.cpp", | |
| 343 "$blink_core_output_dir/EventNames.h", | |
| 344 "$blink_core_output_dir/EventTargetNames.cpp", | |
| 345 "$blink_core_output_dir/EventTargetNames.h", | |
| 346 "$blink_core_output_dir/EventTypeNames.cpp", | |
| 347 "$blink_core_output_dir/EventTypeNames.h", | |
| 348 "$blink_core_output_dir/HTMLElementFactory.cpp", | |
| 349 "$blink_core_output_dir/HTMLElementFactory.h", | |
| 350 "$blink_core_output_dir/HTMLElementLookupTrie.cpp", | |
| 351 "$blink_core_output_dir/HTMLElementLookupTrie.h", | |
| 352 "$blink_core_output_dir/HTMLNames.cpp", | |
| 353 "$blink_core_output_dir/HTMLTokenizerNames.cpp", | |
| 354 "$blink_core_output_dir/InputTypeNames.cpp", | |
| 355 "$blink_core_output_dir/MathMLNames.cpp", | |
| 356 "$blink_core_output_dir/SVGNames.cpp", | |
| 357 "$blink_core_output_dir/XLinkNames.cpp", | |
| 358 "$blink_core_output_dir/XMLNSNames.cpp", | |
| 359 "$blink_core_output_dir/XMLNames.cpp", | |
| 360 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.cpp", | |
| 361 "$blink_core_output_dir/origin_trials/OriginTrials.cpp", | |
| 362 "$blink_core_output_dir/origin_trials/OriginTrials.h", | |
| 363 | |
| 364 # Generated from HTMLEntityNames.in | |
| 365 "$blink_core_output_dir/HTMLEntityTable.cpp", | |
| 366 | |
| 367 # Generated from MediaFeatureNames.in | |
| 368 "$blink_core_output_dir/MediaFeatureNames.cpp", | |
| 369 | |
| 370 # Generated from MediaTypeNames.in | |
| 371 "$blink_core_output_dir/MediaTypeNames.cpp", | |
| 372 | |
| 373 # Generated from HTMLMetaElement-in.cpp | |
| 374 "$blink_core_output_dir/HTMLMetaElement.cpp", | |
| 375 | |
| 376 # Additional .cpp files from the make_core_generated rules. | |
| 377 "$blink_core_output_dir/XPathGrammar.cpp", | |
| 378 | |
| 379 # Additional .cpp files from the inspector:instrumentation_sources list. | |
| 380 "$blink_core_output_dir/InspectorInstrumentationImpl.cpp", | |
| 381 "$blink_core_output_dir/InspectorInstrumentationInl.h", | |
| 382 "$blink_core_output_dir/InspectorOverridesInl.h", | |
| 383 "$blink_core_output_dir/InstrumentingAgents.h", | |
| 384 | |
| 385 # Additional .cpp files for SVG. | |
| 386 "$blink_core_output_dir/SVGElementFactory.cpp", | |
| 387 | |
| 388 # Generated from make_style_shorthands.py | |
| 389 "$blink_core_output_dir/StylePropertyShorthand.cpp", | |
| 390 | |
| 391 # Generated from make_style_builder.py | |
| 392 "$blink_core_output_dir/StyleBuilder.cpp", | |
| 393 "$blink_core_output_dir/StyleBuilderFunctions.cpp", | |
| 394 | |
| 395 # Generated from make_css_property_metadata.py | |
| 396 "$blink_core_output_dir/CSSPropertyMetadata.cpp", | |
| 397 | |
| 398 # Generated from make_cssom_types.py | |
| 399 "$blink_core_output_dir/CSSOMTypes.cpp", | |
| 400 | |
| 401 # Generated from make_cssom_keywords.py | |
| 402 "$blink_core_output_dir/CSSOMKeywords.cpp", | |
| 403 ] | |
| 404 | |
| 405 configs -= core_config_remove | |
| 406 configs += core_config_add | |
| 407 | |
| 408 configs += [ "..:inside_blink" ] | |
| 409 | |
| 410 public_deps = [ | |
| 411 ":make_core_generated", | |
| 412 ":prerequisites", | |
| 413 "inspector:instrumentation_sources", | |
| 414 "inspector:protocol", | |
| 415 "//gin", | |
| 416 "//skia", | |
| 417 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", | |
| 418 "//third_party/iccjpeg", | |
| 419 "//third_party/libpng", | |
| 420 "//third_party/libwebp", | |
| 421 "//third_party/libxml", | |
| 422 "//third_party/libxslt", | |
| 423 "//third_party/qcms", | |
| 424 "//third_party/sqlite", | |
| 425 | |
| 426 # FIXME: don't depend on bindings/modules http://crbug.com/358074 | |
| 427 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", | |
| 428 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, | |
| 429 "//third_party/WebKit/Source/platform:make_platform_generated", | |
| 430 "//third_party/WebKit/Source/wtf", | |
| 431 "//url", | |
| 432 "//v8", | |
| 433 ] | |
| 434 | |
| 435 configs += [ | |
| 436 ":core_include_dirs", | |
| 437 | |
| 438 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 439 "//build/config/compiler:no_size_t_to_int_warning", | |
| 440 ] | |
| 441 include_dirs = [ "$root_gen_dir/blink" ] | |
| 442 | |
| 443 cflags = [] | |
| 444 defines = [] | |
| 445 | |
| 446 if (is_win && is_component_build) { | |
| 447 defines += [ "USING_V8_SHARED" ] | |
| 448 } | |
| 449 | |
| 450 if (is_win) { | |
| 451 cflags += [ | |
| 452 # In generated bindings code: "switch contains default but no case". | |
| 453 # 4701 and 4702 are disabled because of issues in Bison-generated | |
| 454 # XPathGrammar.cpp. | |
| 455 "/wd4065", | |
| 456 "/wd4701", | |
| 457 "/wd4702", | |
| 458 ] | |
| 459 } | |
| 460 } | |
| 461 | |
| 462 # core_bindings_generated ------------------------------------------------------ | 312 # core_bindings_generated ------------------------------------------------------ |
| 463 | 313 |
| 464 # GYP version: WebKit/Source/core/core_generated.gyp:core_event_interfaces | |
| 465 generate_event_interfaces("core_event_interfaces") { | 314 generate_event_interfaces("core_event_interfaces") { |
| 466 sources = core_event_idl_files | 315 sources = core_event_idl_files |
| 467 output_file = "core/EventInterfaces.in" | 316 output_file = "core/EventInterfaces.in" |
| 468 } | 317 } |
| 469 | 318 |
| 470 # generated_testing_idls ------------------------------------------------------- | 319 # generated_testing_idls ------------------------------------------------------- |
| 471 | 320 |
| 472 # GYP version: WebKit/Source/core/core_generated.gyp:generated_testing_idls | |
| 473 group("generated_testing_idls") { | 321 group("generated_testing_idls") { |
| 474 public_deps = [ | 322 public_deps = [ |
| 475 ":generated_settings_macros", | 323 ":generated_settings_macros", |
| 476 ":generated_testing_idls_internal_runtime_flags", | 324 ":generated_testing_idls_internal_runtime_flags", |
| 477 ":generated_testing_idls_settings", | 325 ":generated_testing_idls_settings", |
| 478 ] | 326 ] |
| 479 } | 327 } |
| 480 | 328 |
| 481 # "Settings" action in generated_testing_idls from GYP. | |
| 482 action("generated_settings_macros") { | 329 action("generated_settings_macros") { |
| 483 script = "../build/scripts/make_settings.py" | 330 script = "../build/scripts/make_settings.py" |
| 484 | 331 |
| 485 inputs = scripts_for_in_files + [ | 332 inputs = scripts_for_in_files + [ |
| 486 "../build/scripts/make_settings.py", | 333 "../build/scripts/make_settings.py", |
| 487 "../build/scripts/templates/SettingsMacros.h.tmpl", | 334 "../build/scripts/templates/SettingsMacros.h.tmpl", |
| 488 "frame/Settings.in", | 335 "frame/Settings.in", |
| 489 ] | 336 ] |
| 490 outputs = [ | 337 outputs = [ |
| 491 "$blink_core_output_dir/SettingsMacros.h", | 338 "$blink_core_output_dir/SettingsMacros.h", |
| 492 ] | 339 ] |
| 493 | 340 |
| 494 args = [ | 341 args = [ |
| 495 rebase_path("frame/Settings.in", root_build_dir), | 342 rebase_path("frame/Settings.in", root_build_dir), |
| 496 "--output_dir", | 343 "--output_dir", |
| 497 rel_blink_core_gen_dir, | 344 rel_blink_core_gen_dir, |
| 498 ] | 345 ] |
| 499 } | 346 } |
| 500 | 347 |
| 501 # "InternalSettings" action in generated_testing_idls from GYP. | |
| 502 action("generated_testing_idls_settings") { | 348 action("generated_testing_idls_settings") { |
| 503 script = "../build/scripts/make_internal_settings.py" | 349 script = "../build/scripts/make_internal_settings.py" |
| 504 | 350 |
| 505 inputs = scripts_for_in_files + [ | 351 inputs = scripts_for_in_files + [ |
| 506 "../build/scripts/make_internal_settings.py", | 352 "../build/scripts/make_internal_settings.py", |
| 507 "../build/scripts/templates/InternalSettingsGenerated.idl.tmpl", | 353 "../build/scripts/templates/InternalSettingsGenerated.idl.tmpl", |
| 508 "../build/scripts/templates/InternalSettingsGenerated.cpp.tmpl", | 354 "../build/scripts/templates/InternalSettingsGenerated.cpp.tmpl", |
| 509 "../build/scripts/templates/InternalSettingsGenerated.h.tmpl", | 355 "../build/scripts/templates/InternalSettingsGenerated.h.tmpl", |
| 510 "frame/Settings.in", | 356 "frame/Settings.in", |
| 511 ] | 357 ] |
| 512 outputs = [ | 358 outputs = [ |
| 513 "$blink_core_output_dir/testing/InternalSettingsGenerated.idl", | 359 "$blink_core_output_dir/testing/InternalSettingsGenerated.idl", |
| 514 "$blink_core_output_dir/testing/InternalSettingsGenerated.cpp", | 360 "$blink_core_output_dir/testing/InternalSettingsGenerated.cpp", |
| 515 "$blink_core_output_dir/testing/InternalSettingsGenerated.h", | 361 "$blink_core_output_dir/testing/InternalSettingsGenerated.h", |
| 516 ] | 362 ] |
| 517 | 363 |
| 518 args = [ | 364 args = [ |
| 519 rebase_path("frame/Settings.in", root_build_dir), | 365 rebase_path("frame/Settings.in", root_build_dir), |
| 520 "--output_dir", | 366 "--output_dir", |
| 521 "$rel_blink_core_gen_dir/testing", | 367 "$rel_blink_core_gen_dir/testing", |
| 522 ] | 368 ] |
| 523 } | 369 } |
| 524 | 370 |
| 525 # "InternalRuntimeFlags" action in generated_testing_idls from GYP. | |
| 526 action("generated_testing_idls_internal_runtime_flags") { | 371 action("generated_testing_idls_internal_runtime_flags") { |
| 527 script = "../build/scripts/make_internal_runtime_flags.py" | 372 script = "../build/scripts/make_internal_runtime_flags.py" |
| 528 | 373 |
| 529 inputs = scripts_for_in_files + [ | 374 inputs = scripts_for_in_files + [ |
| 530 "../build/scripts/make_internal_runtime_flags.py", | 375 "../build/scripts/make_internal_runtime_flags.py", |
| 531 "../platform/RuntimeEnabledFeatures.in", | 376 "../platform/RuntimeEnabledFeatures.in", |
| 532 "../build/scripts/templates/InternalRuntimeFlags.h.tmpl", | 377 "../build/scripts/templates/InternalRuntimeFlags.h.tmpl", |
| 533 "../build/scripts/templates/InternalRuntimeFlags.idl.tmpl", | 378 "../build/scripts/templates/InternalRuntimeFlags.idl.tmpl", |
| 534 ] | 379 ] |
| 535 outputs = [ | 380 outputs = [ |
| 536 "$blink_core_output_dir/testing/InternalRuntimeFlags.idl", | 381 "$blink_core_output_dir/testing/InternalRuntimeFlags.idl", |
| 537 "$blink_core_output_dir/testing/InternalRuntimeFlags.h", | 382 "$blink_core_output_dir/testing/InternalRuntimeFlags.h", |
| 538 ] | 383 ] |
| 539 | 384 |
| 540 args = [ | 385 args = [ |
| 541 rebase_path("../platform/RuntimeEnabledFeatures.in", root_build_dir), | 386 rebase_path("../platform/RuntimeEnabledFeatures.in", root_build_dir), |
| 542 "--output_dir", | 387 "--output_dir", |
| 543 "$rel_blink_core_gen_dir/testing", | 388 "$rel_blink_core_gen_dir/testing", |
| 544 ] | 389 ] |
| 545 } | 390 } |
| 546 | 391 |
| 547 # make_core_generated ---------------------------------------------------------- | |
| 548 | |
| 549 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated | |
| 550 group("make_core_generated") { | |
| 551 public_deps = [ | |
| 552 ":make_core_generated_bison", | |
| 553 ":make_core_generated_css_primitive_value_unit_trie", | |
| 554 ":make_core_generated_css_property_metadata", | |
| 555 ":make_core_generated_css_property_names", | |
| 556 ":make_core_generated_css_tokenizer_codepoints", | |
| 557 ":make_core_generated_css_value_keywords", | |
| 558 ":make_core_generated_cssom_types", | |
| 559 ":make_core_generated_event_factory", | |
| 560 ":make_core_generated_event_names", | |
| 561 ":make_core_generated_event_target_names", | |
| 562 ":make_core_generated_event_type_names", | |
| 563 ":make_core_generated_fetch_initiator_type_names", | |
| 564 ":make_core_generated_html_element_factory", | |
| 565 ":make_core_generated_html_element_lookup_trie", | |
| 566 ":make_core_generated_html_element_type_helpers", | |
| 567 ":make_core_generated_html_entity_table", | |
| 568 ":make_core_generated_html_tokenizer_names", | |
| 569 ":make_core_generated_input_type_names", | |
| 570 ":make_core_generated_make_token_matcher_for_viewport", | |
| 571 ":make_core_generated_math_ml_names", | |
| 572 ":make_core_generated_media_feature_names", | |
| 573 ":make_core_generated_media_features", | |
| 574 ":make_core_generated_media_type_names", | |
| 575 ":make_core_generated_origin_trials", | |
| 576 ":make_core_generated_private_script", | |
| 577 ":make_core_generated_private_script_for_testing", | |
| 578 ":make_core_generated_style_builder", | |
| 579 ":make_core_generated_style_property_shorthand", | |
| 580 ":make_core_generated_svg_element_type_helpers", | |
| 581 ":make_core_generated_svg_names", | |
| 582 ":make_core_generated_xlink_names", | |
| 583 ":make_core_generated_xml_names", | |
| 584 ":make_core_generated_xml_ns_names", | |
| 585 ] | |
| 586 } | |
| 587 | |
| 588 # "CSSPropertyNames" in make_core_generated from GYP. | |
| 589 css_properties("make_core_generated_css_property_names") { | 392 css_properties("make_core_generated_css_property_names") { |
| 590 script = "../build/scripts/make_css_property_names.py" | 393 script = "../build/scripts/make_css_property_names.py" |
| 591 outputs = [ | 394 outputs = [ |
| 592 "$blink_core_output_dir/CSSPropertyNames.cpp", | 395 "$blink_core_output_dir/CSSPropertyNames.cpp", |
| 593 "$blink_core_output_dir/CSSPropertyNames.h", | 396 "$blink_core_output_dir/CSSPropertyNames.h", |
| 594 ] | 397 ] |
| 595 } | 398 } |
| 596 | 399 |
| 597 # "MediaFeatures" in make_core_generated from GYP. | |
| 598 process_in_files("make_core_generated_media_features") { | 400 process_in_files("make_core_generated_media_features") { |
| 599 script = "../build/scripts/make_media_features.py" | 401 script = "../build/scripts/make_media_features.py" |
| 600 in_files = [ "css/MediaFeatureNames.in" ] | 402 in_files = [ "css/MediaFeatureNames.in" ] |
| 601 other_inputs = [ | 403 other_inputs = [ |
| 602 "../build/scripts/make_media_features.py", | 404 "../build/scripts/make_media_features.py", |
| 603 "../build/scripts/templates/MediaFeatures.h.tmpl", | 405 "../build/scripts/templates/MediaFeatures.h.tmpl", |
| 604 ] | 406 ] |
| 605 outputs = [ | 407 outputs = [ |
| 606 "$blink_core_output_dir/MediaFeatures.h", | 408 "$blink_core_output_dir/MediaFeatures.h", |
| 607 ] | 409 ] |
| 608 } | 410 } |
| 609 | 411 |
| 610 # "StylePropertyShorthand" in make_core_generated from GYP. | |
| 611 css_properties("make_core_generated_style_property_shorthand") { | 412 css_properties("make_core_generated_style_property_shorthand") { |
| 612 script = "../build/scripts/make_style_shorthands.py" | 413 script = "../build/scripts/make_style_shorthands.py" |
| 613 other_inputs = [ | 414 other_inputs = [ |
| 614 "../build/scripts/templates/StylePropertyShorthand.cpp.tmpl", | 415 "../build/scripts/templates/StylePropertyShorthand.cpp.tmpl", |
| 615 "../build/scripts/templates/StylePropertyShorthand.h.tmpl", | 416 "../build/scripts/templates/StylePropertyShorthand.h.tmpl", |
| 616 ] | 417 ] |
| 617 outputs = [ | 418 outputs = [ |
| 618 "$blink_core_output_dir/StylePropertyShorthand.cpp", | 419 "$blink_core_output_dir/StylePropertyShorthand.cpp", |
| 619 "$blink_core_output_dir/StylePropertyShorthand.h", | 420 "$blink_core_output_dir/StylePropertyShorthand.h", |
| 620 ] | 421 ] |
| 621 } | 422 } |
| 622 | 423 |
| 623 # "StyleBuilder" in make_core_generated from GYP. | |
| 624 css_properties("make_core_generated_style_builder") { | 424 css_properties("make_core_generated_style_builder") { |
| 625 script = "../build/scripts/make_style_builder.py" | 425 script = "../build/scripts/make_style_builder.py" |
| 626 other_inputs = [ | 426 other_inputs = [ |
| 627 "../build/scripts/templates/StyleBuilder.cpp.tmpl", | 427 "../build/scripts/templates/StyleBuilder.cpp.tmpl", |
| 628 "../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl", | 428 "../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl", |
| 629 "../build/scripts/templates/StyleBuilderFunctions.h.tmpl", | 429 "../build/scripts/templates/StyleBuilderFunctions.h.tmpl", |
| 630 ] | 430 ] |
| 631 outputs = [ | 431 outputs = [ |
| 632 "$blink_core_output_dir/StyleBuilder.cpp", | 432 "$blink_core_output_dir/StyleBuilder.cpp", |
| 633 "$blink_core_output_dir/StyleBuilderFunctions.h", | 433 "$blink_core_output_dir/StyleBuilderFunctions.h", |
| 634 "$blink_core_output_dir/StyleBuilderFunctions.cpp", | 434 "$blink_core_output_dir/StyleBuilderFunctions.cpp", |
| 635 ] | 435 ] |
| 636 } | 436 } |
| 637 | 437 |
| 638 # "CSSOMTypes" in make_core_generated from GYP. | |
| 639 css_properties("make_core_generated_cssom_types") { | 438 css_properties("make_core_generated_cssom_types") { |
| 640 script = "../build/scripts/make_cssom_types.py" | 439 script = "../build/scripts/make_cssom_types.py" |
| 641 other_inputs = [ | 440 other_inputs = [ |
| 642 "../build/scripts/templates/CSSOMKeywords.cpp.tmpl", | 441 "../build/scripts/templates/CSSOMKeywords.cpp.tmpl", |
| 643 "../build/scripts/templates/CSSOMTypes.cpp.tmpl", | 442 "../build/scripts/templates/CSSOMTypes.cpp.tmpl", |
| 644 ] | 443 ] |
| 645 outputs = [ | 444 outputs = [ |
| 646 "$blink_core_output_dir/CSSOMKeywords.cpp", | 445 "$blink_core_output_dir/CSSOMKeywords.cpp", |
| 647 "$blink_core_output_dir/CSSOMTypes.cpp", | 446 "$blink_core_output_dir/CSSOMTypes.cpp", |
| 648 ] | 447 ] |
| 649 } | 448 } |
| 650 | 449 |
| 651 # "CSSPropertyMetadata" in make_core_generated from GYP. | |
| 652 css_properties("make_core_generated_css_property_metadata") { | 450 css_properties("make_core_generated_css_property_metadata") { |
| 653 script = "../build/scripts/make_css_property_metadata.py" | 451 script = "../build/scripts/make_css_property_metadata.py" |
| 654 other_inputs = [ "../build/scripts/templates/CSSPropertyMetadata.cpp.tmpl" ] | 452 other_inputs = [ "../build/scripts/templates/CSSPropertyMetadata.cpp.tmpl" ] |
| 655 outputs = [ | 453 outputs = [ |
| 656 "$blink_core_output_dir/CSSPropertyMetadata.cpp", | 454 "$blink_core_output_dir/CSSPropertyMetadata.cpp", |
| 657 ] | 455 ] |
| 658 } | 456 } |
| 659 | 457 |
| 660 # "CSSValueKeywords" in make_core_generated from GYP. | |
| 661 process_in_files("make_core_generated_css_value_keywords") { | 458 process_in_files("make_core_generated_css_value_keywords") { |
| 662 script = "../build/scripts/make_css_value_keywords.py" | 459 script = "../build/scripts/make_css_value_keywords.py" |
| 663 | 460 |
| 664 in_files = [ | 461 in_files = [ |
| 665 "css/CSSValueKeywords.in", | 462 "css/CSSValueKeywords.in", |
| 666 "css/SVGCSSValueKeywords.in", | 463 "css/SVGCSSValueKeywords.in", |
| 667 ] | 464 ] |
| 668 outputs = [ | 465 outputs = [ |
| 669 "$blink_core_output_dir/CSSValueKeywords.cpp", | 466 "$blink_core_output_dir/CSSValueKeywords.cpp", |
| 670 "$blink_core_output_dir/CSSValueKeywords.h", | 467 "$blink_core_output_dir/CSSValueKeywords.h", |
| 671 ] | 468 ] |
| 672 other_args = [ | 469 other_args = [ |
| 673 "--gperf", | 470 "--gperf", |
| 674 gperf_exe, | 471 gperf_exe, |
| 675 ] | 472 ] |
| 676 } | 473 } |
| 677 | 474 |
| 678 # "HTMLElementFactory" in make_core_generated from GYP. | |
| 679 process_in_files("make_core_generated_html_element_factory") { | 475 process_in_files("make_core_generated_html_element_factory") { |
| 680 script = "../build/scripts/make_element_factory.py" | 476 script = "../build/scripts/make_element_factory.py" |
| 681 | 477 |
| 682 in_files = [ | 478 in_files = [ |
| 683 "html/HTMLTagNames.in", | 479 "html/HTMLTagNames.in", |
| 684 "html/HTMLAttributeNames.in", | 480 "html/HTMLAttributeNames.in", |
| 685 ] | 481 ] |
| 686 other_inputs = make_element_factory_files | 482 other_inputs = make_element_factory_files |
| 687 outputs = [ | 483 outputs = [ |
| 688 "$blink_core_output_dir/HTMLElementFactory.cpp", | 484 "$blink_core_output_dir/HTMLElementFactory.cpp", |
| 689 "$blink_core_output_dir/HTMLElementFactory.h", | 485 "$blink_core_output_dir/HTMLElementFactory.h", |
| 690 "$blink_core_output_dir/HTMLNames.cpp", | 486 "$blink_core_output_dir/HTMLNames.cpp", |
| 691 "$blink_core_output_dir/HTMLNames.h", | 487 "$blink_core_output_dir/HTMLNames.h", |
| 692 ] | 488 ] |
| 693 } | 489 } |
| 694 | 490 |
| 695 # "HTMLElementTypeHelpers" in make_core_generated from GYP. | |
| 696 process_in_files("make_core_generated_html_element_type_helpers") { | 491 process_in_files("make_core_generated_html_element_type_helpers") { |
| 697 script = "../build/scripts/make_element_type_helpers.py" | 492 script = "../build/scripts/make_element_type_helpers.py" |
| 698 | 493 |
| 699 in_files = [ "html/HTMLTagNames.in" ] | 494 in_files = [ "html/HTMLTagNames.in" ] |
| 700 other_inputs = make_element_type_helpers_files | 495 other_inputs = make_element_type_helpers_files |
| 701 outputs = [ | 496 outputs = [ |
| 702 "$blink_core_output_dir/HTMLElementTypeHelpers.h", | 497 "$blink_core_output_dir/HTMLElementTypeHelpers.h", |
| 703 ] | 498 ] |
| 704 } | 499 } |
| 705 | 500 |
| 706 # "SVGNames" in make_core_generated from GYP. | |
| 707 process_in_files("make_core_generated_svg_names") { | 501 process_in_files("make_core_generated_svg_names") { |
| 708 script = "../build/scripts/make_element_factory.py" | 502 script = "../build/scripts/make_element_factory.py" |
| 709 | 503 |
| 710 in_files = [ | 504 in_files = [ |
| 711 "svg/SVGTagNames.in", | 505 "svg/SVGTagNames.in", |
| 712 "svg/SVGAttributeNames.in", | 506 "svg/SVGAttributeNames.in", |
| 713 ] | 507 ] |
| 714 other_inputs = make_element_factory_files | 508 other_inputs = make_element_factory_files |
| 715 outputs = [ | 509 outputs = [ |
| 716 "$blink_core_output_dir/SVGElementFactory.cpp", | 510 "$blink_core_output_dir/SVGElementFactory.cpp", |
| 717 "$blink_core_output_dir/SVGElementFactory.h", | 511 "$blink_core_output_dir/SVGElementFactory.h", |
| 718 "$blink_core_output_dir/SVGNames.cpp", | 512 "$blink_core_output_dir/SVGNames.cpp", |
| 719 "$blink_core_output_dir/SVGNames.h", | 513 "$blink_core_output_dir/SVGNames.h", |
| 720 ] | 514 ] |
| 721 } | 515 } |
| 722 | 516 |
| 723 # "SVGElementTypeHelpers" in make_core_generated from GYP. | |
| 724 process_in_files("make_core_generated_svg_element_type_helpers") { | 517 process_in_files("make_core_generated_svg_element_type_helpers") { |
| 725 script = "../build/scripts/make_element_type_helpers.py" | 518 script = "../build/scripts/make_element_type_helpers.py" |
| 726 | 519 |
| 727 in_files = [ "svg/SVGTagNames.in" ] | 520 in_files = [ "svg/SVGTagNames.in" ] |
| 728 other_inputs = make_element_type_helpers_files | 521 other_inputs = make_element_type_helpers_files |
| 729 outputs = [ | 522 outputs = [ |
| 730 "$blink_core_output_dir/SVGElementTypeHelpers.h", | 523 "$blink_core_output_dir/SVGElementTypeHelpers.h", |
| 731 ] | 524 ] |
| 732 } | 525 } |
| 733 | 526 |
| 734 # make_event_factory ----------------------------------------------------------- | 527 # make_event_factory ----------------------------------------------------------- |
| 735 | 528 |
| 736 # "EventFactory" in make_core_generated from GYP. | |
| 737 process_in_files("make_core_generated_event_factory") { | 529 process_in_files("make_core_generated_event_factory") { |
| 738 script = "../build/scripts/make_event_factory.py" | 530 script = "../build/scripts/make_event_factory.py" |
| 739 | 531 |
| 740 in_files = [ | 532 in_files = [ |
| 741 "$blink_core_output_dir/EventInterfaces.in", | 533 "$blink_core_output_dir/EventInterfaces.in", |
| 742 "events/EventAliases.in", | 534 "events/EventAliases.in", |
| 743 ] | 535 ] |
| 744 other_inputs = make_event_factory_files | 536 other_inputs = make_event_factory_files |
| 745 outputs = [ | 537 outputs = [ |
| 746 "$blink_core_output_dir/Event.cpp", | 538 "$blink_core_output_dir/Event.cpp", |
| 747 "$blink_core_output_dir/EventHeaders.h", | 539 "$blink_core_output_dir/EventHeaders.h", |
| 748 ] | 540 ] |
| 749 } | 541 } |
| 750 | 542 |
| 751 # make_names ------------------------------------------------------------------- | 543 # make_names ------------------------------------------------------------------- |
| 752 | 544 |
| 753 # "MediaFeatureNames" in make_core_generated from GYP. | |
| 754 process_in_files("make_core_generated_media_feature_names") { | 545 process_in_files("make_core_generated_media_feature_names") { |
| 755 script = "../build/scripts/make_media_feature_names.py" | 546 script = "../build/scripts/make_media_feature_names.py" |
| 756 in_files = [ "css/MediaFeatureNames.in" ] | 547 in_files = [ "css/MediaFeatureNames.in" ] |
| 757 other_inputs = make_names_files | 548 other_inputs = make_names_files |
| 758 outputs = [ | 549 outputs = [ |
| 759 "$blink_core_output_dir/MediaFeatureNames.cpp", | 550 "$blink_core_output_dir/MediaFeatureNames.cpp", |
| 760 "$blink_core_output_dir/MediaFeatureNames.h", | 551 "$blink_core_output_dir/MediaFeatureNames.h", |
| 761 ] | 552 ] |
| 762 } | 553 } |
| 763 | 554 |
| 764 # "MediaTypeNames" in make_core_generated from GYP. | |
| 765 make_names("make_core_generated_media_type_names") { | 555 make_names("make_core_generated_media_type_names") { |
| 766 in_files = [ "css/MediaTypeNames.in" ] | 556 in_files = [ "css/MediaTypeNames.in" ] |
| 767 outputs = [ | 557 outputs = [ |
| 768 "$blink_core_output_dir/MediaTypeNames.cpp", | 558 "$blink_core_output_dir/MediaTypeNames.cpp", |
| 769 "$blink_core_output_dir/MediaTypeNames.h", | 559 "$blink_core_output_dir/MediaTypeNames.h", |
| 770 ] | 560 ] |
| 771 } | 561 } |
| 772 | 562 |
| 773 # "EventNames" in make_core_generated from GYP. | |
| 774 make_names("make_core_generated_event_names") { | 563 make_names("make_core_generated_event_names") { |
| 775 in_files = [ "$blink_core_output_dir/EventInterfaces.in" ] | 564 in_files = [ "$blink_core_output_dir/EventInterfaces.in" ] |
| 776 outputs = [ | 565 outputs = [ |
| 777 "$blink_core_output_dir/EventNames.cpp", | 566 "$blink_core_output_dir/EventNames.cpp", |
| 778 "$blink_core_output_dir/EventNames.h", | 567 "$blink_core_output_dir/EventNames.h", |
| 779 ] | 568 ] |
| 780 } | 569 } |
| 781 | 570 |
| 782 # "EventTargetNames" in make_core_generated from GYP. | |
| 783 make_names("make_core_generated_event_target_names") { | 571 make_names("make_core_generated_event_target_names") { |
| 784 in_files = [ "events/EventTargetFactory.in" ] | 572 in_files = [ "events/EventTargetFactory.in" ] |
| 785 outputs = [ | 573 outputs = [ |
| 786 "$blink_core_output_dir/EventTargetNames.cpp", | 574 "$blink_core_output_dir/EventTargetNames.cpp", |
| 787 "$blink_core_output_dir/EventTargetNames.h", | 575 "$blink_core_output_dir/EventTargetNames.h", |
| 788 ] | 576 ] |
| 789 } | 577 } |
| 790 | 578 |
| 791 # "FetchInitiatorTypeNames" in make_core_generated from GYP. | |
| 792 make_names("make_core_generated_fetch_initiator_type_names") { | 579 make_names("make_core_generated_fetch_initiator_type_names") { |
| 793 in_files = [ "fetch/FetchInitiatorTypeNames.in" ] | 580 in_files = [ "fetch/FetchInitiatorTypeNames.in" ] |
| 794 outputs = [ | 581 outputs = [ |
| 795 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.cpp", | 582 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.cpp", |
| 796 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.h", | 583 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.h", |
| 797 ] | 584 ] |
| 798 } | 585 } |
| 799 | 586 |
| 800 # "EventTypeNames" in make_core_generated from GYP. | |
| 801 make_names("make_core_generated_event_type_names") { | 587 make_names("make_core_generated_event_type_names") { |
| 802 in_files = [ "events/EventTypeNames.in" ] | 588 in_files = [ "events/EventTypeNames.in" ] |
| 803 outputs = [ | 589 outputs = [ |
| 804 "$blink_core_output_dir/EventTypeNames.cpp", | 590 "$blink_core_output_dir/EventTypeNames.cpp", |
| 805 "$blink_core_output_dir/EventTypeNames.h", | 591 "$blink_core_output_dir/EventTypeNames.h", |
| 806 ] | 592 ] |
| 807 } | 593 } |
| 808 | 594 |
| 809 # "HTMLTokenizerNames" in make_core_generated from GYP. | |
| 810 make_names("make_core_generated_html_tokenizer_names") { | 595 make_names("make_core_generated_html_tokenizer_names") { |
| 811 in_files = [ "html/parser/HTMLTokenizerNames.in" ] | 596 in_files = [ "html/parser/HTMLTokenizerNames.in" ] |
| 812 outputs = [ | 597 outputs = [ |
| 813 "$blink_core_output_dir/HTMLTokenizerNames.cpp", | 598 "$blink_core_output_dir/HTMLTokenizerNames.cpp", |
| 814 "$blink_core_output_dir/HTMLTokenizerNames.h", | 599 "$blink_core_output_dir/HTMLTokenizerNames.h", |
| 815 ] | 600 ] |
| 816 } | 601 } |
| 817 | 602 |
| 818 # "InputTypeNames" in make_core_generated from GYP. | |
| 819 make_names("make_core_generated_input_type_names") { | 603 make_names("make_core_generated_input_type_names") { |
| 820 in_files = [ "html/forms/InputTypeNames.in" ] | 604 in_files = [ "html/forms/InputTypeNames.in" ] |
| 821 outputs = [ | 605 outputs = [ |
| 822 "$blink_core_output_dir/InputTypeNames.cpp", | 606 "$blink_core_output_dir/InputTypeNames.cpp", |
| 823 "$blink_core_output_dir/InputTypeNames.h", | 607 "$blink_core_output_dir/InputTypeNames.h", |
| 824 ] | 608 ] |
| 825 } | 609 } |
| 826 | 610 |
| 827 # make_qualified_names --------------------------------------------------------- | 611 # make_qualified_names --------------------------------------------------------- |
| 828 | 612 |
| 829 # "MathMLNames" in make_core_generated from GYP. | |
| 830 make_qualified_names("make_core_generated_math_ml_names") { | 613 make_qualified_names("make_core_generated_math_ml_names") { |
| 831 in_files = [ | 614 in_files = [ |
| 832 "html/parser/MathMLTagNames.in", | 615 "html/parser/MathMLTagNames.in", |
| 833 "html/parser/MathMLAttributeNames.in", | 616 "html/parser/MathMLAttributeNames.in", |
| 834 ] | 617 ] |
| 835 outputs = [ | 618 outputs = [ |
| 836 "$blink_core_output_dir/MathMLNames.cpp", | 619 "$blink_core_output_dir/MathMLNames.cpp", |
| 837 "$blink_core_output_dir/MathMLNames.h", | 620 "$blink_core_output_dir/MathMLNames.h", |
| 838 ] | 621 ] |
| 839 } | 622 } |
| 840 | 623 |
| 841 # "XLinkNames" in make_core_generated from GYP. | |
| 842 make_qualified_names("make_core_generated_xlink_names") { | 624 make_qualified_names("make_core_generated_xlink_names") { |
| 843 in_files = [ "svg/xlinkattrs.in" ] | 625 in_files = [ "svg/xlinkattrs.in" ] |
| 844 outputs = [ | 626 outputs = [ |
| 845 "$blink_core_output_dir/XLinkNames.cpp", | 627 "$blink_core_output_dir/XLinkNames.cpp", |
| 846 "$blink_core_output_dir/XLinkNames.h", | 628 "$blink_core_output_dir/XLinkNames.h", |
| 847 ] | 629 ] |
| 848 } | 630 } |
| 849 | 631 |
| 850 # "XMLNSNames" in make_core_generated from GYP. | |
| 851 make_qualified_names("make_core_generated_xml_ns_names") { | 632 make_qualified_names("make_core_generated_xml_ns_names") { |
| 852 in_files = [ "xml/xmlnsattrs.in" ] | 633 in_files = [ "xml/xmlnsattrs.in" ] |
| 853 outputs = [ | 634 outputs = [ |
| 854 "$blink_core_output_dir/XMLNSNames.cpp", | 635 "$blink_core_output_dir/XMLNSNames.cpp", |
| 855 "$blink_core_output_dir/XMLNSNames.h", | 636 "$blink_core_output_dir/XMLNSNames.h", |
| 856 ] | 637 ] |
| 857 } | 638 } |
| 858 | 639 |
| 859 # "XMLNames" in make_core_generated from GYP. | |
| 860 make_qualified_names("make_core_generated_xml_names") { | 640 make_qualified_names("make_core_generated_xml_names") { |
| 861 in_files = [ "xml/xmlattrs.in" ] | 641 in_files = [ "xml/xmlattrs.in" ] |
| 862 outputs = [ | 642 outputs = [ |
| 863 "$blink_core_output_dir/XMLNames.cpp", | 643 "$blink_core_output_dir/XMLNames.cpp", |
| 864 "$blink_core_output_dir/XMLNames.h", | 644 "$blink_core_output_dir/XMLNames.h", |
| 865 ] | 645 ] |
| 866 } | 646 } |
| 867 | 647 |
| 868 # make_token_matcher ----------------------------------------------------------- | 648 # make_token_matcher ----------------------------------------------------------- |
| 869 | 649 |
| 870 # "MakeTokenMatcherForViewport" in make_core_generated from GYP. | |
| 871 make_token_matcher("make_core_generated_make_token_matcher_for_viewport") { | 650 make_token_matcher("make_core_generated_make_token_matcher_for_viewport") { |
| 872 input_file = "html/HTMLMetaElement-in.cpp" | 651 input_file = "html/HTMLMetaElement-in.cpp" |
| 873 output_file = "$blink_core_output_dir/HTMLMetaElement.cpp" | 652 output_file = "$blink_core_output_dir/HTMLMetaElement.cpp" |
| 874 } | 653 } |
| 875 | 654 |
| 876 # One-off scripts -------------------------------------------------------------- | 655 # One-off scripts -------------------------------------------------------------- |
| 877 | 656 |
| 878 # "generatePrivateScript" in make_core_generated from GYP. | |
| 879 # FIXME: The implementation of Blink-in-JS is not yet mature. | 657 # FIXME: The implementation of Blink-in-JS is not yet mature. |
| 880 # You can use Blink-in-JS in your local experiment, but don't ship it. | 658 # You can use Blink-in-JS in your local experiment, but don't ship it. |
| 881 # crbug.com/341031 | 659 # crbug.com/341031 |
| 882 action("make_core_generated_private_script") { | 660 action("make_core_generated_private_script") { |
| 883 visibility = [] # Allow re-assignment of list. | 661 visibility = [] # Allow re-assignment of list. |
| 884 visibility = [ ":make_core_generated" ] | 662 visibility = [ ":*" ] |
| 885 script = "../build/scripts/make_private_script_source.py" | 663 script = "../build/scripts/make_private_script_source.py" |
| 886 | 664 |
| 887 inputs = [ | 665 inputs = [ |
| 888 "../bindings/core/v8/PrivateScriptRunner.js", | 666 "../bindings/core/v8/PrivateScriptRunner.js", |
| 889 "html/HTMLMarqueeElement.js", | 667 "html/HTMLMarqueeElement.js", |
| 890 "xml/DocumentXMLTreeViewer.js", | 668 "xml/DocumentXMLTreeViewer.js", |
| 891 ] | 669 ] |
| 892 outputs = [ | 670 outputs = [ |
| 893 "$blink_core_output_dir/PrivateScriptSources.h", | 671 "$blink_core_output_dir/PrivateScriptSources.h", |
| 894 ] | 672 ] |
| 895 | 673 |
| 896 args = rebase_path(outputs, root_build_dir) | 674 args = rebase_path(outputs, root_build_dir) |
| 897 args += rebase_path(inputs, root_build_dir) | 675 args += rebase_path(inputs, root_build_dir) |
| 898 | 676 |
| 899 deps = make_core_generated_deps | 677 deps = make_core_generated_deps |
| 900 } | 678 } |
| 901 | 679 |
| 902 action("make_core_generated_private_script_for_testing") { | 680 action("make_core_generated_private_script_for_testing") { |
| 903 visibility = [] # Allow re-assignment of list. | 681 visibility = [] # Allow re-assignment of list. |
| 904 visibility = [ ":make_core_generated" ] | 682 visibility = [ ":*" ] |
| 905 script = "../build/scripts/make_private_script_source.py" | 683 script = "../build/scripts/make_private_script_source.py" |
| 906 | 684 |
| 907 inputs = [ | 685 inputs = [ |
| 908 "testing/PartialPrivateScriptTest.js", | 686 "testing/PartialPrivateScriptTest.js", |
| 909 "testing/PrivateScriptTest.js", | 687 "testing/PrivateScriptTest.js", |
| 910 ] | 688 ] |
| 911 outputs = [ | 689 outputs = [ |
| 912 "$blink_core_output_dir/PrivateScriptSourcesForTesting.h", | 690 "$blink_core_output_dir/PrivateScriptSourcesForTesting.h", |
| 913 ] | 691 ] |
| 914 | 692 |
| 915 args = [ "--for-testing" ] | 693 args = [ "--for-testing" ] |
| 916 args += rebase_path(outputs, root_build_dir) | 694 args += rebase_path(outputs, root_build_dir) |
| 917 args += rebase_path(inputs, root_build_dir) | 695 args += rebase_path(inputs, root_build_dir) |
| 918 | 696 |
| 919 deps = make_core_generated_deps | 697 deps = make_core_generated_deps |
| 920 } | 698 } |
| 921 | 699 |
| 922 # "HTMLEntityTable" in make_core_generated from GYP. | |
| 923 action("make_core_generated_html_entity_table") { | 700 action("make_core_generated_html_entity_table") { |
| 924 visibility = [] # Allow re-assignment of list. | 701 visibility = [] # Allow re-assignment of list. |
| 925 visibility = [ ":make_core_generated" ] | 702 visibility = [ ":*" ] |
| 926 script = "html/parser/create-html-entity-table" | 703 script = "html/parser/create-html-entity-table" |
| 927 | 704 |
| 928 inputs = [ | 705 inputs = [ |
| 929 "html/parser/HTMLEntityNames.in", | 706 "html/parser/HTMLEntityNames.in", |
| 930 ] | 707 ] |
| 931 outputs = [ | 708 outputs = [ |
| 932 "$blink_core_output_dir/HTMLEntityTable.cpp", | 709 "$blink_core_output_dir/HTMLEntityTable.cpp", |
| 933 ] | 710 ] |
| 934 | 711 |
| 935 args = [ "-o" ] + rebase_path(outputs, root_build_dir) | 712 args = [ "-o" ] + rebase_path(outputs, root_build_dir) |
| 936 args += rebase_path(inputs, root_build_dir) | 713 args += rebase_path(inputs, root_build_dir) |
| 937 | 714 |
| 938 deps = make_core_generated_deps | 715 deps = make_core_generated_deps |
| 939 } | 716 } |
| 940 | 717 |
| 941 # "CSSTokenizerCodepoints" in make_core_generated from GYP. | |
| 942 action("make_core_generated_css_tokenizer_codepoints") { | 718 action("make_core_generated_css_tokenizer_codepoints") { |
| 943 visibility = [] # Allow re-assignment of list. | 719 visibility = [] # Allow re-assignment of list. |
| 944 visibility = [ ":make_core_generated" ] | 720 visibility = [ ":*" ] |
| 945 script = "../build/scripts/make_css_tokenizer_codepoints.py" | 721 script = "../build/scripts/make_css_tokenizer_codepoints.py" |
| 946 | 722 |
| 947 outputs = [ | 723 outputs = [ |
| 948 "$blink_core_output_dir/CSSTokenizerCodepoints.cpp", | 724 "$blink_core_output_dir/CSSTokenizerCodepoints.cpp", |
| 949 ] | 725 ] |
| 950 | 726 |
| 951 args = [ | 727 args = [ |
| 952 "--output_dir", | 728 "--output_dir", |
| 953 rel_blink_core_gen_dir, | 729 rel_blink_core_gen_dir, |
| 954 ] | 730 ] |
| 955 | 731 |
| 956 deps = make_core_generated_deps | 732 deps = make_core_generated_deps |
| 957 } | 733 } |
| 958 | 734 |
| 959 # "CSSPrimitiveValueUnitTrie" in make_core_generated from GYP. | |
| 960 action("make_core_generated_css_primitive_value_unit_trie") { | 735 action("make_core_generated_css_primitive_value_unit_trie") { |
| 961 visibility = [] # Allow re-assignment of list. | 736 visibility = [] # Allow re-assignment of list. |
| 962 visibility = [ ":make_core_generated" ] | 737 visibility = [ ":*" ] |
| 963 script = "../build/scripts/make_css_primitive_value_unit_trie.py" | 738 script = "../build/scripts/make_css_primitive_value_unit_trie.py" |
| 964 | 739 |
| 965 input_file = "css/CSSPrimitiveValueUnits.in" | 740 input_file = "css/CSSPrimitiveValueUnits.in" |
| 966 inputs = make_trie_helpers_files + [ | 741 inputs = make_trie_helpers_files + [ |
| 967 input_file, | 742 input_file, |
| 968 "../build/scripts/templates/CSSPrimitiveValueUnitTrie.cpp.tmpl", | 743 "../build/scripts/templates/CSSPrimitiveValueUnitTrie.cpp.tmpl", |
| 969 ] | 744 ] |
| 970 outputs = [ | 745 outputs = [ |
| 971 "$blink_core_output_dir/CSSPrimitiveValueUnitTrie.cpp", | 746 "$blink_core_output_dir/CSSPrimitiveValueUnitTrie.cpp", |
| 972 ] | 747 ] |
| 973 | 748 |
| 974 args = [ | 749 args = [ |
| 975 rebase_path(input_file, root_build_dir), | 750 rebase_path(input_file, root_build_dir), |
| 976 "--output_dir", | 751 "--output_dir", |
| 977 rel_blink_core_gen_dir, | 752 rel_blink_core_gen_dir, |
| 978 ] | 753 ] |
| 979 | 754 |
| 980 deps = make_core_generated_deps | 755 deps = make_core_generated_deps |
| 981 } | 756 } |
| 982 | 757 |
| 983 # "HTMLElementLookupTrie" in make_core_generated from GYP. | |
| 984 action("make_core_generated_html_element_lookup_trie") { | 758 action("make_core_generated_html_element_lookup_trie") { |
| 985 visibility = [] # Allow re-assignment of list. | 759 visibility = [] # Allow re-assignment of list. |
| 986 visibility = [ ":make_core_generated" ] | 760 visibility = [ ":*" ] |
| 987 script = "../build/scripts/make_element_lookup_trie.py" | 761 script = "../build/scripts/make_element_lookup_trie.py" |
| 988 | 762 |
| 989 input_file = "html/HTMLTagNames.in" | 763 input_file = "html/HTMLTagNames.in" |
| 990 inputs = make_trie_helpers_files + [ | 764 inputs = make_trie_helpers_files + [ |
| 991 input_file, | 765 input_file, |
| 992 "../build/scripts/templates/ElementLookupTrie.cpp.tmpl", | 766 "../build/scripts/templates/ElementLookupTrie.cpp.tmpl", |
| 993 "../build/scripts/templates/ElementLookupTrie.h.tmpl", | 767 "../build/scripts/templates/ElementLookupTrie.h.tmpl", |
| 994 ] | 768 ] |
| 995 outputs = [ | 769 outputs = [ |
| 996 "$blink_core_output_dir/HTMLElementLookupTrie.cpp", | 770 "$blink_core_output_dir/HTMLElementLookupTrie.cpp", |
| 997 "$blink_core_output_dir/HTMLElementLookupTrie.h", | 771 "$blink_core_output_dir/HTMLElementLookupTrie.h", |
| 998 ] | 772 ] |
| 999 | 773 |
| 1000 args = [ | 774 args = [ |
| 1001 rebase_path(input_file, root_build_dir), | 775 rebase_path(input_file, root_build_dir), |
| 1002 "--output_dir", | 776 "--output_dir", |
| 1003 rel_blink_core_gen_dir, | 777 rel_blink_core_gen_dir, |
| 1004 ] | 778 ] |
| 1005 | 779 |
| 1006 deps = make_core_generated_deps | 780 deps = make_core_generated_deps |
| 1007 } | 781 } |
| 1008 | 782 |
| 1009 # "OriginTrials" action in make_core_generated from GYP. | |
| 1010 action("make_core_generated_origin_trials") { | 783 action("make_core_generated_origin_trials") { |
| 1011 script = "../build/scripts/make_origin_trials.py" | 784 script = "../build/scripts/make_origin_trials.py" |
| 1012 | 785 |
| 1013 inputs = scripts_for_in_files + [ | 786 inputs = scripts_for_in_files + [ |
| 1014 "../build/scripts/make_origin_trials.py", | 787 "../build/scripts/make_origin_trials.py", |
| 1015 "../platform/RuntimeEnabledFeatures.in", | 788 "../platform/RuntimeEnabledFeatures.in", |
| 1016 "../build/scripts/templates/OriginTrials.cpp.tmpl", | 789 "../build/scripts/templates/OriginTrials.cpp.tmpl", |
| 1017 "../build/scripts/templates/OriginTrials.h.tmpl", | 790 "../build/scripts/templates/OriginTrials.h.tmpl", |
| 1018 ] | 791 ] |
| 1019 outputs = [ | 792 outputs = [ |
| 1020 "$blink_core_output_dir/origin_trials/OriginTrials.cpp", | 793 "$blink_core_output_dir/origin_trials/OriginTrials.cpp", |
| 1021 "$blink_core_output_dir/origin_trials/OriginTrials.h", | 794 "$blink_core_output_dir/origin_trials/OriginTrials.h", |
| 1022 ] | 795 ] |
| 1023 | 796 |
| 1024 args = [ | 797 args = [ |
| 1025 rebase_path("../platform/RuntimeEnabledFeatures.in", root_build_dir), | 798 rebase_path("../platform/RuntimeEnabledFeatures.in", root_build_dir), |
| 1026 "--output_dir", | 799 "--output_dir", |
| 1027 "$rel_blink_core_gen_dir/origin_trials", | 800 "$rel_blink_core_gen_dir/origin_trials", |
| 1028 ] | 801 ] |
| 1029 } | 802 } |
| 1030 | 803 |
| 1031 # The bison rules from make_core_generated. | |
| 1032 action_foreach("make_core_generated_bison") { | 804 action_foreach("make_core_generated_bison") { |
| 1033 script = "../build/scripts/rule_bison.py" | 805 script = "../build/scripts/rule_bison.py" |
| 1034 sources = [ | 806 sources = [ |
| 1035 "xml/XPathGrammar.y", | 807 "xml/XPathGrammar.y", |
| 1036 ] | 808 ] |
| 1037 outputs = [ | 809 outputs = [ |
| 1038 "$blink_core_output_dir/{{source_name_part}}.cpp", | 810 "$blink_core_output_dir/{{source_name_part}}.cpp", |
| 1039 "$blink_core_output_dir/{{source_name_part}}.h", | 811 "$blink_core_output_dir/{{source_name_part}}.h", |
| 1040 ] | 812 ] |
| 1041 args = [ | 813 args = [ |
| 1042 "{{source}}", | 814 "{{source}}", |
| 1043 rel_blink_core_gen_dir, | 815 rel_blink_core_gen_dir, |
| 1044 bison_exe, | 816 bison_exe, |
| 1045 ] | 817 ] |
| 1046 | 818 |
| 1047 deps = make_core_generated_deps | 819 deps = make_core_generated_deps |
| 1048 } | 820 } |
| 1049 | 821 |
| 822 # Compiles the code generated by the targets above. |
| 823 target(core_link_small_target_type, "core_generated") { |
| 824 sources = bindings_core_v8_files |
| 825 |
| 826 # These files include all the .cpp files generated from the .idl files |
| 827 # in webcore_files. |
| 828 sources += bindings_core_generated_aggregate_files |
| 829 sources += bindings_core_generated_union_type_files |
| 830 |
| 831 # IDL dictionary impl files generated by IDL compiler |
| 832 sources += generated_core_dictionary_files |
| 833 |
| 834 # Targets from above that generate outputs that need to be compiled. |
| 835 # All sources declared as outputs from these targets will be compiled into thi
s |
| 836 # target. |
| 837 targets_generating_sources = [ |
| 838 ":make_core_generated_bison", |
| 839 ":make_core_generated_css_primitive_value_unit_trie", |
| 840 ":make_core_generated_css_property_metadata", |
| 841 ":make_core_generated_css_property_names", |
| 842 ":make_core_generated_cssom_types", |
| 843 ":make_core_generated_event_factory", |
| 844 ":make_core_generated_event_names", |
| 845 ":make_core_generated_event_target_names", |
| 846 ":make_core_generated_event_type_names", |
| 847 ":make_core_generated_fetch_initiator_type_names", |
| 848 ":make_core_generated_html_element_factory", |
| 849 ":make_core_generated_html_element_lookup_trie", |
| 850 ":make_core_generated_html_entity_table", |
| 851 ":make_core_generated_html_tokenizer_names", |
| 852 ":make_core_generated_input_type_names", |
| 853 ":make_core_generated_make_token_matcher_for_viewport", |
| 854 ":make_core_generated_math_ml_names", |
| 855 ":make_core_generated_media_feature_names", |
| 856 ":make_core_generated_media_type_names", |
| 857 ":make_core_generated_origin_trials", |
| 858 ":make_core_generated_style_builder", |
| 859 ":make_core_generated_style_property_shorthand", |
| 860 ":make_core_generated_svg_names", |
| 861 ":make_core_generated_xlink_names", |
| 862 ":make_core_generated_xml_names", |
| 863 ":make_core_generated_xml_ns_names", |
| 864 ":make_core_generated_private_script", |
| 865 ":make_core_generated_html_element_type_helpers", |
| 866 ":make_core_generated_css_value_keywords", |
| 867 ":make_core_generated_media_features", |
| 868 ":make_core_generated_svg_element_type_helpers", |
| 869 ":make_core_generated_private_script_for_testing", |
| 870 ] |
| 871 |
| 872 # Add all sources generated by the targets above. |
| 873 foreach(current, targets_generating_sources) { |
| 874 sources += get_target_outputs(current) |
| 875 } |
| 876 public_deps = targets_generating_sources |
| 877 public_deps += [ |
| 878 # This target's generated source is #included into another source file. |
| 879 # So we don't want to list it in the "generating sources" list above, |
| 880 # but it does need to be listed as a dependency here. |
| 881 ":make_core_generated_css_tokenizer_codepoints", |
| 882 ] |
| 883 |
| 884 configs -= core_config_remove |
| 885 configs += core_config_add + [ "..:inside_blink" ] |
| 886 |
| 887 # Dependencies required to compile the sources. |
| 888 public_deps += [ |
| 889 ":prerequisites", |
| 890 "//gin", |
| 891 "//skia", |
| 892 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", |
| 893 "//third_party/iccjpeg", |
| 894 "//third_party/libpng", |
| 895 "//third_party/libwebp", |
| 896 "//third_party/libxml", |
| 897 "//third_party/libxslt", |
| 898 "//third_party/qcms", |
| 899 "//third_party/sqlite", |
| 900 |
| 901 # FIXME: don't depend on bindings/modules http://crbug.com/358074 |
| 902 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", |
| 903 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, |
| 904 "//third_party/WebKit/Source/platform:make_platform_generated", |
| 905 "//third_party/WebKit/Source/wtf", |
| 906 "//url", |
| 907 "//v8", |
| 908 ] |
| 909 |
| 910 configs += [ |
| 911 ":core_include_dirs", |
| 912 |
| 913 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 914 "//build/config/compiler:no_size_t_to_int_warning", |
| 915 ] |
| 916 include_dirs = [ "$root_gen_dir/blink" ] |
| 917 |
| 918 cflags = [] |
| 919 defines = [] |
| 920 |
| 921 if (is_win && is_component_build) { |
| 922 defines += [ "USING_V8_SHARED" ] |
| 923 } |
| 924 |
| 925 if (is_win) { |
| 926 cflags += [ |
| 927 # In generated bindings code: "switch contains default but no case". |
| 928 # 4701 and 4702 are disabled because of issues in Bison-generated |
| 929 # XPathGrammar.cpp. |
| 930 "/wd4065", |
| 931 "/wd4701", |
| 932 "/wd4702", |
| 933 ] |
| 934 } |
| 935 } |
| 936 |
| 1050 # Fuzzer for blink::TextResourceDecoder. | 937 # Fuzzer for blink::TextResourceDecoder. |
| 1051 fuzzer_test("text_resource_decoder_fuzzer") { | 938 fuzzer_test("text_resource_decoder_fuzzer") { |
| 1052 sources = [ | 939 sources = [ |
| 1053 "html/parser/TextResourceDecoderFuzzer.cpp", | 940 "html/parser/TextResourceDecoderFuzzer.cpp", |
| 1054 ] | 941 ] |
| 1055 deps = [ | 942 deps = [ |
| 1056 ":core", | 943 ":core", |
| 1057 "../platform:test_support", | 944 "../platform:test_support", |
| 1058 ] | 945 ] |
| 1059 } | 946 } |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1360 sources = [ | 1247 sources = [ |
| 1361 "css/StyleSheetContentsFuzzer.cpp", | 1248 "css/StyleSheetContentsFuzzer.cpp", |
| 1362 ] | 1249 ] |
| 1363 deps = [ | 1250 deps = [ |
| 1364 ":core", | 1251 ":core", |
| 1365 "../platform:blink_fuzzer_test_support", | 1252 "../platform:blink_fuzzer_test_support", |
| 1366 ] | 1253 ] |
| 1367 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" | 1254 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources" |
| 1368 libfuzzer_options = [ "max_len=2048" ] | 1255 libfuzzer_options = [ "max_len=2048" ] |
| 1369 } | 1256 } |
| OLD | NEW |