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