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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//third_party/WebKit/Source/bindings/bindings.gni") | 7 import("//third_party/WebKit/Source/bindings/bindings.gni") |
8 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") | 8 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") |
9 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | 9 import("//third_party/WebKit/Source/bindings/modules/modules.gni") |
10 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") | 10 import("//third_party/WebKit/Source/bindings/modules/v8/generated.gni") |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 "//skia", | 55 "//skia", |
56 "//third_party/iccjpeg", | 56 "//third_party/iccjpeg", |
57 "//third_party/libpng", | 57 "//third_party/libpng", |
58 "//third_party/libwebp", | 58 "//third_party/libwebp", |
59 "//third_party/libxml", | 59 "//third_party/libxml", |
60 "//third_party/libxslt", | 60 "//third_party/libxslt", |
61 "//third_party/npapi", | 61 "//third_party/npapi", |
62 "//third_party/qcms", | 62 "//third_party/qcms", |
63 "//third_party/sqlite", | 63 "//third_party/sqlite", |
64 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", | 64 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", |
| 65 |
65 # FIXME: don't depend on bindings/modules http://crbug.com/358074 | 66 # FIXME: don't depend on bindings/modules http://crbug.com/358074 |
66 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", | 67 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", |
67 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, | 68 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, |
68 "//third_party/WebKit/Source/platform:make_platform_generated", | 69 "//third_party/WebKit/Source/platform:make_platform_generated", |
69 "//third_party/WebKit/Source/wtf", | 70 "//third_party/WebKit/Source/wtf", |
70 "//url", | 71 "//url", |
71 "//v8", | 72 "//v8", |
72 ] | 73 ] |
73 } | 74 } |
74 | 75 |
(...skipping 17 matching lines...) Expand all Loading... |
92 "//third_party/sqlite", | 93 "//third_party/sqlite", |
93 "//third_party/zlib", | 94 "//third_party/zlib", |
94 "//url", | 95 "//url", |
95 "//v8", | 96 "//v8", |
96 ] | 97 ] |
97 deps = [ | 98 deps = [ |
98 ":make_core_generated", | 99 ":make_core_generated", |
99 "inspector:protocol_sources", | 100 "inspector:protocol_sources", |
100 "inspector:instrumentation_sources", | 101 "inspector:instrumentation_sources", |
101 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", | 102 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", |
| 103 |
102 # FIXME: don't depend on bindings_modules http://crbug.com/358074 | 104 # FIXME: don't depend on bindings_modules http://crbug.com/358074 |
103 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, | 105 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, |
104 "//third_party/WebKit/Source/platform", | 106 "//third_party/WebKit/Source/platform", |
105 ] | 107 ] |
106 | 108 |
107 public_configs = [ | 109 public_configs = [ |
108 ":core_include_dirs", | 110 ":core_include_dirs", |
109 "//third_party/WebKit/Source:config", | 111 "//third_party/WebKit/Source:config", |
110 "//third_party/WebKit/Source:inside_blink", | 112 "//third_party/WebKit/Source:inside_blink", |
111 ] | 113 ] |
112 | 114 |
| 115 if (is_mac) { |
| 116 public_configs += [ "//third_party/WebKit/Source:mac_precompiled_headers" ] |
| 117 } |
| 118 |
113 if (use_openmax_dl_fft) { | 119 if (use_openmax_dl_fft) { |
114 deps += [ | 120 deps += [ "//third_party/openmax_dl/dl" ] |
115 "//third_party/openmax_dl/dl" | |
116 ] | |
117 } | 121 } |
118 } | 122 } |
119 | 123 |
120 # Note that this is a source set rather than a group, even though it has no | 124 # Note that this is a source set rather than a group, even though it has no |
121 # sources. A group would implicitly forward all direct dependent configs | 125 # sources. A group would implicitly forward all direct dependent configs |
122 # through it, but we want to keep our internal targets' public_configs private | 126 # through it, but we want to keep our internal targets' public_configs private |
123 # and only forward some of them. | 127 # and only forward some of them. |
124 # | 128 # |
125 # GYP version: WebKit/Source/core/core.gyp:webcore | 129 # GYP version: WebKit/Source/core/core.gyp:webcore |
126 source_set("core") { | 130 source_set("core") { |
(...skipping 14 matching lines...) Expand all Loading... |
141 "//v8", | 145 "//v8", |
142 ] | 146 ] |
143 deps = [ | 147 deps = [ |
144 ":dom", | 148 ":dom", |
145 ":html", | 149 ":html", |
146 ":remaining", | 150 ":remaining", |
147 ":rendering", | 151 ":rendering", |
148 ":svg", | 152 ":svg", |
149 ] | 153 ] |
150 | 154 |
151 public_configs = [ | 155 public_configs = [ ":core_include_dirs" ] |
152 ":core_include_dirs", | |
153 ] | |
154 | 156 |
155 # TODO(GYP) IPP libraries pkg-config. These seem to be experimental and used | 157 # TODO(GYP) IPP libraries pkg-config. These seem to be experimental and used |
156 # only on x86 Android. See also below. There should be one pkg-config call | 158 # only on x86 Android. See also below. There should be one pkg-config call |
157 # that creates a config used in both of these cases. | 159 # that creates a config used in both of these cases. |
158 } | 160 } |
159 | 161 |
160 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_dom | 162 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_dom |
161 source_set("dom") { | 163 source_set("dom") { |
162 sources = rebase_path(webcore_dom_files, ".", "//") | 164 sources = rebase_path(webcore_dom_files, ".", "//") |
163 | 165 |
164 configs -= core_config_remove | 166 configs -= core_config_remove |
165 configs += core_config_add + [ | 167 configs += core_config_add + [ |
166 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 168 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
167 "//build/config/compiler:no_size_t_to_int_warning", | 169 "//build/config/compiler:no_size_t_to_int_warning", |
168 ] | 170 ] |
169 | 171 |
170 deps = [ | 172 deps = [ |
171 ":prerequisites", | 173 ":prerequisites", |
172 ] | 174 ] |
173 } | 175 } |
174 | 176 |
175 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_html | 177 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_html |
176 source_set("html") { | 178 source_set("html") { |
177 sources = rebase_path(webcore_html_files, ".", "//") | 179 sources = rebase_path(webcore_html_files, ".", "//") |
178 | 180 |
(...skipping 17 matching lines...) Expand all Loading... |
196 sources = rebase_path(webcore_svg_files, ".", "//") | 198 sources = rebase_path(webcore_svg_files, ".", "//") |
197 | 199 |
198 configs -= core_config_remove | 200 configs -= core_config_remove |
199 configs += core_config_add | 201 configs += core_config_add |
200 | 202 |
201 deps = [ | 203 deps = [ |
202 ":prerequisites", | 204 ":prerequisites", |
203 ] | 205 ] |
204 | 206 |
205 # TODO(GYP) | 207 # TODO(GYP) |
206 # Shard this taret into parts to work around linker limitations. | 208 # Shard this target into parts to work around linker limitations. |
207 # on link time code generation builds. | 209 # on link time code generation builds. |
208 #['OS=="win" and buildtype=="Official"', { | 210 #['OS=="win" and buildtype=="Official"', { |
209 # 'msvs_shard': 5, | 211 # 'msvs_shard': 5, |
210 #}], | 212 #}], |
211 } | 213 } |
212 | 214 |
213 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_remaining | 215 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_remaining |
214 source_set("remaining") { | 216 source_set("remaining") { |
215 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" | 217 # This is currently a mashup of "webcore_rendering" and "webcore_remaining" |
216 # in GYP. The file list variable is the same and then GYP filters on wether | 218 # in GYP. The file list variable is the same and then GYP filters on wether |
217 # the path starts with "rendering/" or not. We should tweak the .gypis a bit | 219 # the path starts with "rendering/" or not. We should tweak the .gypis a bit |
218 # to separate out the rendering files. | 220 # to separate out the rendering files. |
219 sources = rebase_path(webcore_non_rendering_files, ".", "//") | 221 sources = rebase_path(webcore_non_rendering_files, ".", "//") |
220 sources += rebase_path(webcore_rendering_files, ".", "//") | 222 sources += rebase_path(webcore_rendering_files, ".", "//") |
221 | 223 |
222 configs -= core_config_remove | 224 configs -= core_config_remove |
223 configs += core_config_add + [ | 225 configs += core_config_add + [ |
224 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 226 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
225 "//build/config/compiler:no_size_t_to_int_warning", | 227 "//build/config/compiler:no_size_t_to_int_warning", |
226 ] | 228 ] |
227 | 229 |
228 cflags = [] | 230 cflags = [] |
229 libs = [] | 231 libs = [] |
230 | 232 |
231 deps = [ | 233 deps = [ |
232 ":prerequisites", | 234 ":prerequisites", |
233 ] | 235 ] |
234 | 236 |
235 if (is_win) { | 237 if (is_win) { |
236 cflags += [ | 238 cflags += [ "/wd4334" ] |
237 "/wd4334", | |
238 ] | |
239 } else { # !is_win | 239 } else { # !is_win |
240 sources -= [ | 240 sources -= [ |
241 "layout/LayoutThemeFontProviderWin.cpp", | 241 "layout/LayoutThemeFontProviderWin.cpp", |
242 "layout/LayoutThemeWin.cpp", | 242 "layout/LayoutThemeWin.cpp", |
243 "layout/LayoutThemeWin.h", | 243 "layout/LayoutThemeWin.h", |
244 ] | 244 ] |
245 } | 245 } |
246 if (!is_linux) { | 246 if (!is_linux) { |
247 sources -= [ | 247 sources -= [ |
248 "layout/LayoutThemeLinux.cpp", | 248 "layout/LayoutThemeLinux.cpp", |
249 "layout/LayoutThemeLinux.h", | 249 "layout/LayoutThemeLinux.h", |
250 ] | 250 ] |
251 if (!is_android) { | 251 if (!is_android) { |
252 sources -= [ | 252 sources -= [ "layout/LayoutThemeFontProviderLinux.cpp" ] |
253 "layout/LayoutThemeFontProviderLinux.cpp", | |
254 ] | |
255 } | 253 } |
256 } | 254 } |
257 | 255 |
258 if (is_android) { | 256 if (is_android) { |
259 # Due to a bug in gcc 4.6 in android NDK, we got warnings about | 257 # Due to a bug in gcc 4.6 in android NDK, we got warnings about |
260 # uninitialized variable. | 258 # uninitialized variable. |
261 # TODO: try removing now that we are on GCC 4.8. | 259 # TODO: try removing now that we are on GCC 4.8. |
262 cflags += [ "-Wno-uninitialized" ] | 260 cflags += [ "-Wno-uninitialized" ] |
263 } else { # !is_android | 261 } else { # !is_android |
264 sources -= [ | 262 sources -= [ |
265 "layout/LayoutThemeAndroid.cpp", | 263 "layout/LayoutThemeAndroid.cpp", |
266 "layout/LayoutThemeAndroid.h", | 264 "layout/LayoutThemeAndroid.h", |
267 ] | 265 ] |
268 } | 266 } |
269 | 267 |
270 if (is_mac) { | 268 if (is_mac) { |
271 sources -= [ | 269 sources -= [ |
272 "layout/LayoutThemeDefault.cpp", | 270 "layout/LayoutThemeDefault.cpp", |
273 "layout/LayoutThemeDefault.h", | 271 "layout/LayoutThemeDefault.h", |
274 "layout/LayoutThemeFontProvider.cpp", | 272 "layout/LayoutThemeFontProvider.cpp", |
275 "layout/LayoutThemeFontProvider.h", | 273 "layout/LayoutThemeFontProvider.h", |
276 "paint/ThemePainterDefault.cpp", | 274 "paint/ThemePainterDefault.cpp", |
277 "paint/ThemePainterDefault.h", | 275 "paint/ThemePainterDefault.h", |
278 ] | 276 ] |
279 libs += [ "Carbon.framework" ] | 277 libs += [ "Carbon.framework" ] |
280 # Some Mac-specific parts of WebKit won't compile without having this | |
281 # prefix header injected. | |
282 cflags = [ | |
283 "-include", | |
284 rebase_path("../build/mac/Prefix.h", root_build_dir), | |
285 ] | |
286 } else { # !is_mac | 278 } else { # !is_mac |
287 sources -= [ | 279 sources -= [ "editing/commands/SmartReplaceCF.cpp" ] |
288 "editing/commands/SmartReplaceCF.cpp", | |
289 ] | |
290 } | 280 } |
291 } | 281 } |
292 | 282 |
293 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering | 283 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_rendering |
294 source_set("rendering") { | 284 source_set("rendering") { |
295 # The files that go here are currently in "remaining". | 285 # The files that go here are currently in "remaining". |
296 } | 286 } |
297 | 287 |
298 # GYP version: WebKit/Source/core/core.gyp:webcore_testing | 288 # GYP version: WebKit/Source/core/core.gyp:webcore_testing |
299 source_set("testing") { | 289 source_set("testing") { |
300 configs += [ | 290 configs += [ |
301 "//third_party/WebKit/Source:inside_blink", | 291 "//third_party/WebKit/Source:inside_blink", |
302 "//third_party/WebKit/Source:config", | 292 "//third_party/WebKit/Source:config", |
303 ] | 293 ] |
304 | 294 |
305 deps = [ | 295 deps = [ |
306 ":core", | 296 ":core", |
307 ":core_generated", | 297 ":core_generated", |
308 ":generated_testing_idls", | 298 ":generated_testing_idls", |
309 "//third_party/WebKit/Source/wtf:test_support", | 299 "//third_party/WebKit/Source/wtf:test_support", |
310 ] | 300 ] |
311 | 301 |
312 sources = generated_core_testing_dictionary_files + webcore_testing_files | 302 sources = generated_core_testing_dictionary_files + webcore_testing_files |
313 sources += [ | 303 sources += [ |
314 "$bindings_core_v8_output_dir/V8DictionaryTest.cpp", | 304 "$bindings_core_v8_output_dir/V8DictionaryTest.cpp", |
315 "$bindings_core_v8_output_dir/V8DictionaryTest.h", | 305 "$bindings_core_v8_output_dir/V8DictionaryTest.h", |
| 306 "$bindings_core_v8_output_dir/V8GCObservation.cpp", |
| 307 "$bindings_core_v8_output_dir/V8GCObservation.h", |
316 "$bindings_core_v8_output_dir/V8GarbageCollectedScriptWrappable.cpp", | 308 "$bindings_core_v8_output_dir/V8GarbageCollectedScriptWrappable.cpp", |
317 "$bindings_core_v8_output_dir/V8GarbageCollectedScriptWrappable.h", | 309 "$bindings_core_v8_output_dir/V8GarbageCollectedScriptWrappable.h", |
318 "$bindings_core_v8_output_dir/V8GCObservation.cpp", | 310 "$bindings_core_v8_output_dir/V8InternalDictionary.cpp", |
319 "$bindings_core_v8_output_dir/V8GCObservation.h", | 311 "$bindings_core_v8_output_dir/V8InternalDictionary.h", |
| 312 "$bindings_core_v8_output_dir/V8InternalDictionaryDerived.cpp", |
| 313 "$bindings_core_v8_output_dir/V8InternalDictionaryDerived.h", |
| 314 "$bindings_core_v8_output_dir/V8InternalRuntimeFlags.cpp", |
| 315 "$bindings_core_v8_output_dir/V8InternalRuntimeFlags.h", |
| 316 "$bindings_core_v8_output_dir/V8InternalSettings.cpp", |
| 317 "$bindings_core_v8_output_dir/V8InternalSettings.h", |
| 318 "$bindings_core_v8_output_dir/V8InternalSettingsGenerated.cpp", |
| 319 "$bindings_core_v8_output_dir/V8InternalSettingsGenerated.h", |
| 320 "$bindings_core_v8_output_dir/V8Internals.cpp", |
| 321 "$bindings_core_v8_output_dir/V8Internals.h", |
| 322 "$bindings_core_v8_output_dir/V8LayerRect.cpp", |
| 323 "$bindings_core_v8_output_dir/V8LayerRect.h", |
| 324 "$bindings_core_v8_output_dir/V8LayerRectList.cpp", |
| 325 "$bindings_core_v8_output_dir/V8LayerRectList.h", |
320 "$bindings_core_v8_output_dir/V8PrivateScriptTest.cpp", | 326 "$bindings_core_v8_output_dir/V8PrivateScriptTest.cpp", |
321 "$bindings_core_v8_output_dir/V8PrivateScriptTest.h", | 327 "$bindings_core_v8_output_dir/V8PrivateScriptTest.h", |
| 328 "$bindings_core_v8_output_dir/V8RefCountedScriptWrappable.cpp", |
| 329 "$bindings_core_v8_output_dir/V8RefCountedScriptWrappable.h", |
322 "$bindings_core_v8_output_dir/V8TypeConversions.cpp", | 330 "$bindings_core_v8_output_dir/V8TypeConversions.cpp", |
323 "$bindings_core_v8_output_dir/V8TypeConversions.h", | 331 "$bindings_core_v8_output_dir/V8TypeConversions.h", |
324 "$bindings_core_v8_output_dir/V8UnionTypesTest.cpp", | 332 "$bindings_core_v8_output_dir/V8UnionTypesTest.cpp", |
325 "$bindings_core_v8_output_dir/V8UnionTypesTest.h", | 333 "$bindings_core_v8_output_dir/V8UnionTypesTest.h", |
326 "$bindings_core_v8_output_dir/V8Internals.cpp", | |
327 "$bindings_core_v8_output_dir/V8Internals.h", | |
328 "$bindings_core_v8_output_dir/V8InternalSettings.cpp", | |
329 "$bindings_core_v8_output_dir/V8InternalSettings.h", | |
330 "$bindings_core_v8_output_dir/V8InternalSettingsGenerated.cpp", | |
331 "$bindings_core_v8_output_dir/V8InternalSettingsGenerated.h", | |
332 "$bindings_core_v8_output_dir/V8InternalRuntimeFlags.cpp", | |
333 "$bindings_core_v8_output_dir/V8InternalRuntimeFlags.h", | |
334 "$bindings_core_v8_output_dir/V8LayerRect.cpp", | |
335 "$bindings_core_v8_output_dir/V8LayerRect.h", | |
336 "$bindings_core_v8_output_dir/V8LayerRectList.cpp", | |
337 "$bindings_core_v8_output_dir/V8LayerRectList.h", | |
338 "$bindings_core_v8_output_dir/V8RefCountedScriptWrappable.cpp", | |
339 "$bindings_core_v8_output_dir/V8RefCountedScriptWrappable.h", | |
340 "$bindings_core_v8_output_dir/V8InternalDictionary.cpp", | |
341 "$bindings_core_v8_output_dir/V8InternalDictionary.h", | |
342 "$bindings_core_v8_output_dir/V8InternalDictionaryDerived.cpp", | |
343 "$bindings_core_v8_output_dir/V8InternalDictionaryDerived.h", | |
344 ] | 334 ] |
345 } | 335 } |
346 | 336 |
347 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_generated | 337 # GYP version: //third_party/WebKit/Source/core/core.gyp:webcore_generated |
348 source_set("core_generated") { | 338 source_set("core_generated") { |
349 sources = bindings_core_v8_files | 339 sources = bindings_core_v8_files |
| 340 |
350 # These files include all the .cpp files generated from the .idl files | 341 # These files include all the .cpp files generated from the .idl files |
351 # in webcore_files. | 342 # in webcore_files. |
352 sources += bindings_core_generated_aggregate_files | 343 sources += bindings_core_generated_aggregate_files |
353 sources += bindings_core_generated_union_type_files | 344 sources += bindings_core_generated_union_type_files |
| 345 |
354 # IDL dictionary impl files generated by IDL compiler | 346 # IDL dictionary impl files generated by IDL compiler |
355 sources += generated_core_dictionary_files | 347 sources += generated_core_dictionary_files |
356 | 348 |
357 sources += [ | 349 sources += [ |
358 # Additional .cpp files for HashTools.h | 350 # Additional .cpp files for HashTools.h |
359 "$blink_core_output_dir/CSSPropertyNames.cpp", | 351 "$blink_core_output_dir/CSSPropertyNames.cpp", |
360 "$blink_core_output_dir/CSSValueKeywords.cpp", | 352 "$blink_core_output_dir/CSSValueKeywords.cpp", |
361 | 353 |
362 # Additional .cpp files from make_core_generated actions. | 354 # Additional .cpp files from make_core_generated actions. |
363 "$blink_core_output_dir/Event.cpp", | 355 "$blink_core_output_dir/Event.cpp", |
(...skipping 27 matching lines...) Expand all Loading... |
391 # Generated from MediaTypeNames.in | 383 # Generated from MediaTypeNames.in |
392 "$blink_core_output_dir/MediaTypeNames.cpp", | 384 "$blink_core_output_dir/MediaTypeNames.cpp", |
393 | 385 |
394 # Generated from HTMLMetaElement-in.cpp | 386 # Generated from HTMLMetaElement-in.cpp |
395 "$blink_core_output_dir/HTMLMetaElement.cpp", | 387 "$blink_core_output_dir/HTMLMetaElement.cpp", |
396 | 388 |
397 # Additional .cpp files from the make_core_generated rules. | 389 # Additional .cpp files from the make_core_generated rules. |
398 "$blink_core_output_dir/XPathGrammar.cpp", | 390 "$blink_core_output_dir/XPathGrammar.cpp", |
399 | 391 |
400 # Additional .cpp files from the inspector_protocol_sources list. | 392 # Additional .cpp files from the inspector_protocol_sources list. |
| 393 "$blink_core_output_dir/InspectorBackendDispatcher.cpp", |
401 "$blink_core_output_dir/InspectorFrontend.cpp", | 394 "$blink_core_output_dir/InspectorFrontend.cpp", |
402 "$blink_core_output_dir/InspectorBackendDispatcher.cpp", | |
403 "$blink_core_output_dir/InspectorTypeBuilder.cpp", | 395 "$blink_core_output_dir/InspectorTypeBuilder.cpp", |
404 | 396 |
405 # Additional .cpp files from the inspector_instrumentation_sources list. | 397 # Additional .cpp files from the inspector_instrumentation_sources list. |
406 "$blink_core_output_dir/InspectorConsoleInstrumentationInl.h", | 398 "$blink_core_output_dir/InspectorConsoleInstrumentationInl.h", |
| 399 "$blink_core_output_dir/InspectorInstrumentationImpl.cpp", |
407 "$blink_core_output_dir/InspectorInstrumentationInl.h", | 400 "$blink_core_output_dir/InspectorInstrumentationInl.h", |
408 "$blink_core_output_dir/InspectorOverridesInl.h", | 401 "$blink_core_output_dir/InspectorOverridesInl.h", |
409 "$blink_core_output_dir/InstrumentingAgentsInl.h", | 402 "$blink_core_output_dir/InstrumentingAgentsInl.h", |
410 "$blink_core_output_dir/InspectorInstrumentationImpl.cpp", | |
411 | 403 |
412 # Additional .cpp files for SVG. | 404 # Additional .cpp files for SVG. |
413 "$blink_core_output_dir/SVGElementFactory.cpp", | 405 "$blink_core_output_dir/SVGElementFactory.cpp", |
414 | 406 |
415 # Generated from make_style_shorthands.py | 407 # Generated from make_style_shorthands.py |
416 "$blink_core_output_dir/StylePropertyShorthand.cpp", | 408 "$blink_core_output_dir/StylePropertyShorthand.cpp", |
417 | 409 |
418 # Generated from make_style_builder.py | 410 # Generated from make_style_builder.py |
419 "$blink_core_output_dir/StyleBuilder.cpp", | 411 "$blink_core_output_dir/StyleBuilder.cpp", |
420 "$blink_core_output_dir/StyleBuilderFunctions.cpp", | 412 "$blink_core_output_dir/StyleBuilderFunctions.cpp", |
421 | 413 |
422 # Generated from make_css_property_metadata.py | 414 # Generated from make_css_property_metadata.py |
423 "$blink_core_output_dir/CSSPropertyMetadata.cpp", | 415 "$blink_core_output_dir/CSSPropertyMetadata.cpp", |
424 ] | 416 ] |
425 | 417 |
426 configs -= core_config_remove | 418 configs -= core_config_remove |
427 configs += core_config_add | 419 configs += core_config_add |
428 | 420 |
429 configs += [ | 421 configs += [ "..:inside_blink" ] |
430 "..:inside_blink", | |
431 ] | |
432 | 422 |
433 public_deps = [ | 423 public_deps = [ |
434 ":make_core_generated", | 424 ":make_core_generated", |
435 ":prerequisites", | 425 ":prerequisites", |
436 "inspector:protocol_sources", | 426 "inspector:protocol_sources", |
437 "inspector:instrumentation_sources", | 427 "inspector:instrumentation_sources", |
438 "//gin", | 428 "//gin", |
439 "//skia", | 429 "//skia", |
440 "//third_party/iccjpeg", | 430 "//third_party/iccjpeg", |
441 "//third_party/libpng", | 431 "//third_party/libpng", |
442 "//third_party/libwebp", | 432 "//third_party/libwebp", |
443 "//third_party/libxml", | 433 "//third_party/libxml", |
444 "//third_party/libxslt", | 434 "//third_party/libxslt", |
445 "//third_party/npapi", | 435 "//third_party/npapi", |
446 "//third_party/qcms", | 436 "//third_party/qcms", |
447 "//third_party/sqlite", | 437 "//third_party/sqlite", |
448 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", | 438 "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated", |
| 439 |
449 # FIXME: don't depend on bindings/modules http://crbug.com/358074 | 440 # FIXME: don't depend on bindings/modules http://crbug.com/358074 |
450 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", | 441 "//third_party/WebKit/Source/bindings/modules:bindings_modules_generated", |
451 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, | 442 "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated"
, |
452 "//third_party/WebKit/Source/platform:make_platform_generated", | 443 "//third_party/WebKit/Source/platform:make_platform_generated", |
453 "//third_party/WebKit/Source/wtf", | 444 "//third_party/WebKit/Source/wtf", |
454 "//url", | 445 "//url", |
455 "//v8", | 446 "//v8", |
456 ] | 447 ] |
457 | 448 |
458 configs += [ | 449 configs += [ |
459 ":core_include_dirs", | 450 ":core_include_dirs", |
| 451 |
460 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 452 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
461 "//build/config/compiler:no_size_t_to_int_warning", | 453 "//build/config/compiler:no_size_t_to_int_warning", |
462 ] | 454 ] |
463 include_dirs = [ | 455 include_dirs = [ "$root_gen_dir/blink" ] |
464 "$root_gen_dir/blink", | |
465 ] | |
466 | 456 |
467 cflags = [] | 457 cflags = [] |
468 defines = [] | 458 defines = [] |
469 | 459 |
470 if (is_win && is_component_build) { | 460 if (is_win && is_component_build) { |
471 defines += [ "USING_V8_SHARED" ] | 461 defines += [ "USING_V8_SHARED" ] |
472 } | 462 } |
473 | 463 |
474 if (is_win) { | 464 if (is_win) { |
475 cflags += [ | 465 cflags += [ |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 ":generated_testing_idls_settings", | 499 ":generated_testing_idls_settings", |
510 ":generated_testing_idls_internal_runtime_flags", | 500 ":generated_testing_idls_internal_runtime_flags", |
511 ] | 501 ] |
512 } | 502 } |
513 | 503 |
514 # "Settings" action in generated_testing_idls from GYP. | 504 # "Settings" action in generated_testing_idls from GYP. |
515 action("generated_settings_macros") { | 505 action("generated_settings_macros") { |
516 script = "../build/scripts/make_settings.py" | 506 script = "../build/scripts/make_settings.py" |
517 | 507 |
518 inputs = scripts_for_in_files + [ | 508 inputs = scripts_for_in_files + [ |
519 "../build/scripts/make_settings.py", | 509 "../build/scripts/make_settings.py", |
520 "../build/scripts/templates/SettingsMacros.h.tmpl", | 510 "../build/scripts/templates/SettingsMacros.h.tmpl", |
521 "frame/Settings.in", | 511 "frame/Settings.in", |
522 ] | 512 ] |
523 outputs = [ | 513 outputs = [ |
524 "$blink_core_output_dir/SettingsMacros.h", | 514 "$blink_core_output_dir/SettingsMacros.h", |
525 ] | 515 ] |
526 | 516 |
527 args = [ | 517 args = [ |
528 rebase_path("frame/Settings.in", root_build_dir), | 518 rebase_path("frame/Settings.in", root_build_dir), |
529 "--output_dir", rel_blink_core_gen_dir, | 519 "--output_dir", |
| 520 rel_blink_core_gen_dir, |
530 ] | 521 ] |
531 } | 522 } |
532 | 523 |
533 # "InternalSettings" action in generated_testing_idls from GYP. | 524 # "InternalSettings" action in generated_testing_idls from GYP. |
534 action("generated_testing_idls_settings") { | 525 action("generated_testing_idls_settings") { |
535 script = "../build/scripts/make_internal_settings.py" | 526 script = "../build/scripts/make_internal_settings.py" |
536 | 527 |
537 inputs = scripts_for_in_files + [ | 528 inputs = scripts_for_in_files + [ |
538 "../build/scripts/make_internal_settings.py", | 529 "../build/scripts/make_internal_settings.py", |
539 "../build/scripts/templates/InternalSettingsGenerated.idl.tmpl", | 530 "../build/scripts/templates/InternalSettingsGenerated.idl.tmpl", |
540 "../build/scripts/templates/InternalSettingsGenerated.cpp.tmpl", | 531 "../build/scripts/templates/InternalSettingsGenerated.cpp.tmpl", |
541 "../build/scripts/templates/InternalSettingsGenerated.h.tmpl", | 532 "../build/scripts/templates/InternalSettingsGenerated.h.tmpl", |
542 "frame/Settings.in", | 533 "frame/Settings.in", |
543 ] | 534 ] |
544 outputs = [ | 535 outputs = [ |
545 "$blink_core_output_dir/testing/InternalSettingsGenerated.idl", | 536 "$blink_core_output_dir/testing/InternalSettingsGenerated.idl", |
546 "$blink_core_output_dir/testing/InternalSettingsGenerated.cpp", | 537 "$blink_core_output_dir/testing/InternalSettingsGenerated.cpp", |
547 "$blink_core_output_dir/testing/InternalSettingsGenerated.h", | 538 "$blink_core_output_dir/testing/InternalSettingsGenerated.h", |
548 ] | 539 ] |
549 | 540 |
550 args = [ | 541 args = [ |
551 rebase_path("frame/Settings.in", root_build_dir), | 542 rebase_path("frame/Settings.in", root_build_dir), |
552 "--output_dir", "$rel_blink_core_gen_dir/testing", | 543 "--output_dir", |
| 544 "$rel_blink_core_gen_dir/testing", |
553 ] | 545 ] |
554 } | 546 } |
555 | 547 |
556 # "InternalRuntimeFlags" action in generated_testing_idls from GYP. | 548 # "InternalRuntimeFlags" action in generated_testing_idls from GYP. |
557 action("generated_testing_idls_internal_runtime_flags") { | 549 action("generated_testing_idls_internal_runtime_flags") { |
558 script = "../build/scripts/make_internal_runtime_flags.py" | 550 script = "../build/scripts/make_internal_runtime_flags.py" |
559 | 551 |
560 inputs = scripts_for_in_files + [ | 552 inputs = scripts_for_in_files + [ |
561 "../build/scripts/make_internal_runtime_flags.py", | 553 "../build/scripts/make_internal_runtime_flags.py", |
562 "../platform/RuntimeEnabledFeatures.in", | 554 "../platform/RuntimeEnabledFeatures.in", |
563 "../build/scripts/templates/InternalRuntimeFlags.h.tmpl", | 555 "../build/scripts/templates/InternalRuntimeFlags.h.tmpl", |
564 "../build/scripts/templates/InternalRuntimeFlags.idl.tmpl", | 556 "../build/scripts/templates/InternalRuntimeFlags.idl.tmpl", |
565 ] | 557 ] |
566 outputs = [ | 558 outputs = [ |
567 "$blink_core_output_dir/testing/InternalRuntimeFlags.idl", | 559 "$blink_core_output_dir/testing/InternalRuntimeFlags.idl", |
568 "$blink_core_output_dir/testing/InternalRuntimeFlags.h", | 560 "$blink_core_output_dir/testing/InternalRuntimeFlags.h", |
569 ] | 561 ] |
570 | 562 |
571 args = [ | 563 args = [ |
572 rebase_path("../platform/RuntimeEnabledFeatures.in", root_build_dir), | 564 rebase_path("../platform/RuntimeEnabledFeatures.in", root_build_dir), |
573 "--output_dir", "$rel_blink_core_gen_dir/testing", | 565 "--output_dir", |
| 566 "$rel_blink_core_gen_dir/testing", |
574 ] | 567 ] |
575 } | 568 } |
576 | 569 |
577 # make_core_generated ---------------------------------------------------------- | 570 # make_core_generated ---------------------------------------------------------- |
578 | 571 |
579 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated | 572 # GYP version: WebKit/Source/core/core_generated.gyp:make_core_generated |
580 group("make_core_generated") { | 573 group("make_core_generated") { |
581 public_deps = [ | 574 public_deps = [ |
582 ":make_core_generated_private_script", | 575 ":make_core_generated_private_script", |
583 ":make_core_generated_private_script_for_testing", | 576 ":make_core_generated_private_script_for_testing", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 script = "../build/scripts/make_css_property_names.py" | 610 script = "../build/scripts/make_css_property_names.py" |
618 outputs = [ | 611 outputs = [ |
619 "$blink_core_output_dir/CSSPropertyNames.cpp", | 612 "$blink_core_output_dir/CSSPropertyNames.cpp", |
620 "$blink_core_output_dir/CSSPropertyNames.h", | 613 "$blink_core_output_dir/CSSPropertyNames.h", |
621 ] | 614 ] |
622 } | 615 } |
623 | 616 |
624 # "MediaFeatures" in make_core_generated from GYP. | 617 # "MediaFeatures" in make_core_generated from GYP. |
625 process_in_files("make_core_generated_media_features") { | 618 process_in_files("make_core_generated_media_features") { |
626 script = "../build/scripts/make_media_features.py" | 619 script = "../build/scripts/make_media_features.py" |
627 in_files = [ | 620 in_files = [ "css/MediaFeatureNames.in" ] |
628 "css/MediaFeatureNames.in", | |
629 ] | |
630 other_inputs = [ | 621 other_inputs = [ |
631 "../build/scripts/make_media_features.py", | 622 "../build/scripts/make_media_features.py", |
632 "../build/scripts/templates/MediaFeatures.h.tmpl", | 623 "../build/scripts/templates/MediaFeatures.h.tmpl", |
633 ] | 624 ] |
634 outputs = [ | 625 outputs = [ |
635 "$blink_core_output_dir/MediaFeatures.h", | 626 "$blink_core_output_dir/MediaFeatures.h", |
636 ] | 627 ] |
637 } | 628 } |
638 | 629 |
639 # "StylePropertyShorthand" in make_core_generated from GYP. | 630 # "StylePropertyShorthand" in make_core_generated from GYP. |
(...skipping 20 matching lines...) Expand all Loading... |
660 outputs = [ | 651 outputs = [ |
661 "$blink_core_output_dir/StyleBuilder.cpp", | 652 "$blink_core_output_dir/StyleBuilder.cpp", |
662 "$blink_core_output_dir/StyleBuilderFunctions.h", | 653 "$blink_core_output_dir/StyleBuilderFunctions.h", |
663 "$blink_core_output_dir/StyleBuilderFunctions.cpp", | 654 "$blink_core_output_dir/StyleBuilderFunctions.cpp", |
664 ] | 655 ] |
665 } | 656 } |
666 | 657 |
667 # "CSSPropertyMetadata" in make_core_generated from GYP. | 658 # "CSSPropertyMetadata" in make_core_generated from GYP. |
668 css_properties("make_core_generated_css_property_metadata") { | 659 css_properties("make_core_generated_css_property_metadata") { |
669 script = "../build/scripts/make_css_property_metadata.py" | 660 script = "../build/scripts/make_css_property_metadata.py" |
670 other_inputs = [ | 661 other_inputs = [ "../build/scripts/templates/CSSPropertyMetadata.cpp.tmpl" ] |
671 "../build/scripts/templates/CSSPropertyMetadata.cpp.tmpl", | |
672 ] | |
673 outputs = [ | 662 outputs = [ |
674 "$blink_core_output_dir/CSSPropertyMetadata.cpp", | 663 "$blink_core_output_dir/CSSPropertyMetadata.cpp", |
675 ] | 664 ] |
676 } | 665 } |
677 | 666 |
678 # "CSSValueKeywords" in make_core_generated from GYP. | 667 # "CSSValueKeywords" in make_core_generated from GYP. |
679 process_in_files("make_core_generated_css_value_keywords") { | 668 process_in_files("make_core_generated_css_value_keywords") { |
680 script = "../build/scripts/make_css_value_keywords.py" | 669 script = "../build/scripts/make_css_value_keywords.py" |
681 | 670 |
682 in_files = [ | 671 in_files = [ |
683 "css/CSSValueKeywords.in", | 672 "css/CSSValueKeywords.in", |
684 "css/SVGCSSValueKeywords.in", | 673 "css/SVGCSSValueKeywords.in", |
685 ] | 674 ] |
686 outputs = [ | 675 outputs = [ |
687 "$blink_core_output_dir/CSSValueKeywords.cpp", | 676 "$blink_core_output_dir/CSSValueKeywords.cpp", |
688 "$blink_core_output_dir/CSSValueKeywords.h", | 677 "$blink_core_output_dir/CSSValueKeywords.h", |
689 ] | 678 ] |
690 other_args = [ | 679 other_args = [ |
691 "--gperf", gperf_exe, | 680 "--gperf", |
| 681 gperf_exe, |
692 ] | 682 ] |
693 } | 683 } |
694 | 684 |
695 # "HTMLElementFactory" in make_core_generated from GYP. | 685 # "HTMLElementFactory" in make_core_generated from GYP. |
696 process_in_files("make_core_generated_html_element_factory") { | 686 process_in_files("make_core_generated_html_element_factory") { |
697 script = "../build/scripts/make_element_factory.py" | 687 script = "../build/scripts/make_element_factory.py" |
698 | 688 |
699 in_files = [ | 689 in_files = [ |
700 "html/HTMLTagNames.in", | 690 "html/HTMLTagNames.in", |
701 "html/HTMLAttributeNames.in", | 691 "html/HTMLAttributeNames.in", |
702 ] | 692 ] |
703 other_inputs = make_element_factory_files | 693 other_inputs = make_element_factory_files |
704 outputs = [ | 694 outputs = [ |
705 "$blink_core_output_dir/HTMLElementFactory.cpp", | 695 "$blink_core_output_dir/HTMLElementFactory.cpp", |
706 "$blink_core_output_dir/HTMLElementFactory.h", | 696 "$blink_core_output_dir/HTMLElementFactory.h", |
707 "$blink_core_output_dir/HTMLNames.cpp", | 697 "$blink_core_output_dir/HTMLNames.cpp", |
708 "$blink_core_output_dir/HTMLNames.h", | 698 "$blink_core_output_dir/HTMLNames.h", |
709 ] | 699 ] |
710 } | 700 } |
711 | 701 |
712 # "HTMLElementTypeHelpers" in make_core_generated from GYP. | 702 # "HTMLElementTypeHelpers" in make_core_generated from GYP. |
713 process_in_files("make_core_generated_html_element_type_helpers") { | 703 process_in_files("make_core_generated_html_element_type_helpers") { |
714 script = "../build/scripts/make_element_type_helpers.py" | 704 script = "../build/scripts/make_element_type_helpers.py" |
715 | 705 |
716 in_files = [ | 706 in_files = [ "html/HTMLTagNames.in" ] |
717 "html/HTMLTagNames.in", | |
718 ] | |
719 other_inputs = make_element_type_helpers_files | 707 other_inputs = make_element_type_helpers_files |
720 outputs = [ | 708 outputs = [ |
721 "$blink_core_output_dir/HTMLElementTypeHelpers.h", | 709 "$blink_core_output_dir/HTMLElementTypeHelpers.h", |
722 ] | 710 ] |
723 } | 711 } |
724 | 712 |
725 # "SVGNames" in make_core_generated from GYP. | 713 # "SVGNames" in make_core_generated from GYP. |
726 process_in_files("make_core_generated_svg_names") { | 714 process_in_files("make_core_generated_svg_names") { |
727 script = "../build/scripts/make_element_factory.py" | 715 script = "../build/scripts/make_element_factory.py" |
728 | 716 |
729 in_files = [ | 717 in_files = [ |
730 "svg/SVGTagNames.in", | 718 "svg/SVGTagNames.in", |
731 "svg/SVGAttributeNames.in", | 719 "svg/SVGAttributeNames.in", |
732 ] | 720 ] |
733 other_inputs = make_element_factory_files | 721 other_inputs = make_element_factory_files |
734 outputs = [ | 722 outputs = [ |
735 "$blink_core_output_dir/SVGElementFactory.cpp", | 723 "$blink_core_output_dir/SVGElementFactory.cpp", |
736 "$blink_core_output_dir/SVGElementFactory.h", | 724 "$blink_core_output_dir/SVGElementFactory.h", |
737 "$blink_core_output_dir/SVGNames.cpp", | 725 "$blink_core_output_dir/SVGNames.cpp", |
738 "$blink_core_output_dir/SVGNames.h", | 726 "$blink_core_output_dir/SVGNames.h", |
739 ] | 727 ] |
740 } | 728 } |
741 | 729 |
742 # "SVGElementTypeHelpers" in make_core_generated from GYP. | 730 # "SVGElementTypeHelpers" in make_core_generated from GYP. |
743 process_in_files("make_core_generated_svg_element_type_helpers") { | 731 process_in_files("make_core_generated_svg_element_type_helpers") { |
744 script = "../build/scripts/make_element_type_helpers.py" | 732 script = "../build/scripts/make_element_type_helpers.py" |
745 | 733 |
746 in_files = [ | 734 in_files = [ "svg/SVGTagNames.in" ] |
747 "svg/SVGTagNames.in", | |
748 ] | |
749 other_inputs = make_element_type_helpers_files | 735 other_inputs = make_element_type_helpers_files |
750 outputs = [ | 736 outputs = [ |
751 "$blink_core_output_dir/SVGElementTypeHelpers.h", | 737 "$blink_core_output_dir/SVGElementTypeHelpers.h", |
752 ] | 738 ] |
753 } | 739 } |
754 | 740 |
755 # make_event_factory ----------------------------------------------------------- | 741 # make_event_factory ----------------------------------------------------------- |
756 | 742 |
757 # "EventFactory" in make_core_generated from GYP. | 743 # "EventFactory" in make_core_generated from GYP. |
758 process_in_files("make_core_generated_event_factory") { | 744 process_in_files("make_core_generated_event_factory") { |
759 script = "../build/scripts/make_event_factory.py" | 745 script = "../build/scripts/make_event_factory.py" |
760 | 746 |
761 in_files = [ | 747 in_files = [ |
762 "$blink_core_output_dir/EventInterfaces.in", | 748 "$blink_core_output_dir/EventInterfaces.in", |
763 "events/EventAliases.in", | 749 "events/EventAliases.in", |
764 ] | 750 ] |
765 other_inputs = make_event_factory_files | 751 other_inputs = make_event_factory_files |
766 outputs = [ | 752 outputs = [ |
767 "$blink_core_output_dir/Event.cpp", | 753 "$blink_core_output_dir/Event.cpp", |
768 "$blink_core_output_dir/EventHeaders.h", | 754 "$blink_core_output_dir/EventHeaders.h", |
769 ] | 755 ] |
770 } | 756 } |
771 | 757 |
772 # make_names ------------------------------------------------------------------- | 758 # make_names ------------------------------------------------------------------- |
773 | 759 |
774 # "MediaFeatureNames" in make_core_generated from GYP. | 760 # "MediaFeatureNames" in make_core_generated from GYP. |
775 process_in_files("make_core_generated_media_feature_names") { | 761 process_in_files("make_core_generated_media_feature_names") { |
776 script = "../build/scripts/make_media_feature_names.py" | 762 script = "../build/scripts/make_media_feature_names.py" |
777 in_files = [ | 763 in_files = [ "css/MediaFeatureNames.in" ] |
778 "css/MediaFeatureNames.in", | |
779 ] | |
780 other_inputs = make_names_files | 764 other_inputs = make_names_files |
781 outputs = [ | 765 outputs = [ |
782 "$blink_core_output_dir/MediaFeatureNames.cpp", | 766 "$blink_core_output_dir/MediaFeatureNames.cpp", |
783 "$blink_core_output_dir/MediaFeatureNames.h", | 767 "$blink_core_output_dir/MediaFeatureNames.h", |
784 ] | 768 ] |
785 } | 769 } |
786 | 770 |
787 # "MediaTypeNames" in make_core_generated from GYP. | 771 # "MediaTypeNames" in make_core_generated from GYP. |
788 make_names("make_core_generated_media_type_names") { | 772 make_names("make_core_generated_media_type_names") { |
789 in_files = [ | 773 in_files = [ "css/MediaTypeNames.in" ] |
790 "css/MediaTypeNames.in", | |
791 ] | |
792 outputs = [ | 774 outputs = [ |
793 "$blink_core_output_dir/MediaTypeNames.cpp", | 775 "$blink_core_output_dir/MediaTypeNames.cpp", |
794 "$blink_core_output_dir/MediaTypeNames.h", | 776 "$blink_core_output_dir/MediaTypeNames.h", |
795 ] | 777 ] |
796 } | 778 } |
797 | 779 |
798 # "EventNames" in make_core_generated from GYP. | 780 # "EventNames" in make_core_generated from GYP. |
799 make_names("make_core_generated_event_names") { | 781 make_names("make_core_generated_event_names") { |
800 in_files = [ | 782 in_files = [ "$blink_core_output_dir/EventInterfaces.in" ] |
801 "$blink_core_output_dir/EventInterfaces.in", | |
802 ] | |
803 outputs = [ | 783 outputs = [ |
804 "$blink_core_output_dir/EventNames.cpp", | 784 "$blink_core_output_dir/EventNames.cpp", |
805 "$blink_core_output_dir/EventNames.h", | 785 "$blink_core_output_dir/EventNames.h", |
806 ] | 786 ] |
807 } | 787 } |
808 | 788 |
809 # "EventTargetNames" in make_core_generated from GYP. | 789 # "EventTargetNames" in make_core_generated from GYP. |
810 make_names("make_core_generated_event_target_names") { | 790 make_names("make_core_generated_event_target_names") { |
811 in_files = [ | 791 in_files = [ "events/EventTargetFactory.in" ] |
812 "events/EventTargetFactory.in", | |
813 ] | |
814 outputs = [ | 792 outputs = [ |
815 "$blink_core_output_dir/EventTargetNames.cpp", | 793 "$blink_core_output_dir/EventTargetNames.cpp", |
816 "$blink_core_output_dir/EventTargetNames.h", | 794 "$blink_core_output_dir/EventTargetNames.h", |
817 ] | 795 ] |
818 } | 796 } |
819 | 797 |
820 # "FetchInitiatorTypeNames" in make_core_generated from GYP. | 798 # "FetchInitiatorTypeNames" in make_core_generated from GYP. |
821 make_names("make_core_generated_fetch_initiator_type_names") { | 799 make_names("make_core_generated_fetch_initiator_type_names") { |
822 in_files = [ | 800 in_files = [ "fetch/FetchInitiatorTypeNames.in" ] |
823 "fetch/FetchInitiatorTypeNames.in", | |
824 ] | |
825 outputs = [ | 801 outputs = [ |
826 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.cpp", | 802 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.cpp", |
827 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.h", | 803 "$blink_core_output_dir/fetch/FetchInitiatorTypeNames.h", |
828 ] | 804 ] |
829 } | 805 } |
830 | 806 |
831 # "EventTypeNames" in make_core_generated from GYP. | 807 # "EventTypeNames" in make_core_generated from GYP. |
832 make_names("make_core_generated_event_type_names") { | 808 make_names("make_core_generated_event_type_names") { |
833 in_files = [ | 809 in_files = [ "events/EventTypeNames.in" ] |
834 "events/EventTypeNames.in", | |
835 ] | |
836 outputs = [ | 810 outputs = [ |
837 "$blink_core_output_dir/EventTypeNames.cpp", | 811 "$blink_core_output_dir/EventTypeNames.cpp", |
838 "$blink_core_output_dir/EventTypeNames.h", | 812 "$blink_core_output_dir/EventTypeNames.h", |
839 ] | 813 ] |
840 } | 814 } |
841 | 815 |
842 # "HTMLTokenizerNames" in make_core_generated from GYP. | 816 # "HTMLTokenizerNames" in make_core_generated from GYP. |
843 make_names("make_core_generated_html_tokenizer_names") { | 817 make_names("make_core_generated_html_tokenizer_names") { |
844 in_files = [ | 818 in_files = [ "html/parser/HTMLTokenizerNames.in" ] |
845 "html/parser/HTMLTokenizerNames.in", | |
846 ] | |
847 outputs = [ | 819 outputs = [ |
848 "$blink_core_output_dir/HTMLTokenizerNames.cpp", | 820 "$blink_core_output_dir/HTMLTokenizerNames.cpp", |
849 "$blink_core_output_dir/HTMLTokenizerNames.h", | 821 "$blink_core_output_dir/HTMLTokenizerNames.h", |
850 ] | 822 ] |
851 } | 823 } |
852 | 824 |
853 # "InputTypeNames" in make_core_generated from GYP. | 825 # "InputTypeNames" in make_core_generated from GYP. |
854 make_names("make_core_generated_input_type_names") { | 826 make_names("make_core_generated_input_type_names") { |
855 in_files = [ | 827 in_files = [ "html/forms/InputTypeNames.in" ] |
856 "html/forms/InputTypeNames.in", | |
857 ] | |
858 outputs = [ | 828 outputs = [ |
859 "$blink_core_output_dir/InputTypeNames.cpp", | 829 "$blink_core_output_dir/InputTypeNames.cpp", |
860 "$blink_core_output_dir/InputTypeNames.h", | 830 "$blink_core_output_dir/InputTypeNames.h", |
861 ] | 831 ] |
862 } | 832 } |
863 | 833 |
864 # make_qualified_names --------------------------------------------------------- | 834 # make_qualified_names --------------------------------------------------------- |
865 | 835 |
866 # "MathMLNames" in make_core_generated from GYP. | 836 # "MathMLNames" in make_core_generated from GYP. |
867 make_qualified_names("make_core_generated_math_ml_names") { | 837 make_qualified_names("make_core_generated_math_ml_names") { |
868 in_files = [ | 838 in_files = [ |
869 "html/parser/MathMLTagNames.in", | 839 "html/parser/MathMLTagNames.in", |
870 "html/parser/MathMLAttributeNames.in", | 840 "html/parser/MathMLAttributeNames.in", |
871 ] | 841 ] |
872 outputs = [ | 842 outputs = [ |
873 "$blink_core_output_dir/MathMLNames.cpp", | 843 "$blink_core_output_dir/MathMLNames.cpp", |
874 "$blink_core_output_dir/MathMLNames.h", | 844 "$blink_core_output_dir/MathMLNames.h", |
875 ] | 845 ] |
876 } | 846 } |
877 | 847 |
878 # "XLinkNames" in make_core_generated from GYP. | 848 # "XLinkNames" in make_core_generated from GYP. |
879 make_qualified_names("make_core_generated_xlink_names") { | 849 make_qualified_names("make_core_generated_xlink_names") { |
880 in_files = [ | 850 in_files = [ "svg/xlinkattrs.in" ] |
881 "svg/xlinkattrs.in", | |
882 ] | |
883 outputs = [ | 851 outputs = [ |
884 "$blink_core_output_dir/XLinkNames.cpp", | 852 "$blink_core_output_dir/XLinkNames.cpp", |
885 "$blink_core_output_dir/XLinkNames.h", | 853 "$blink_core_output_dir/XLinkNames.h", |
886 ] | 854 ] |
887 } | 855 } |
888 | 856 |
889 # "XMLNSNames" in make_core_generated from GYP. | 857 # "XMLNSNames" in make_core_generated from GYP. |
890 make_qualified_names("make_core_generated_xml_ns_names") { | 858 make_qualified_names("make_core_generated_xml_ns_names") { |
891 in_files = [ | 859 in_files = [ "xml/xmlnsattrs.in" ] |
892 "xml/xmlnsattrs.in", | |
893 ] | |
894 outputs = [ | 860 outputs = [ |
895 "$blink_core_output_dir/XMLNSNames.cpp", | 861 "$blink_core_output_dir/XMLNSNames.cpp", |
896 "$blink_core_output_dir/XMLNSNames.h", | 862 "$blink_core_output_dir/XMLNSNames.h", |
897 ] | 863 ] |
898 } | 864 } |
899 | 865 |
900 # "XMLNames" in make_core_generated from GYP. | 866 # "XMLNames" in make_core_generated from GYP. |
901 make_qualified_names("make_core_generated_xml_names") { | 867 make_qualified_names("make_core_generated_xml_names") { |
902 in_files = [ | 868 in_files = [ "xml/xmlattrs.in" ] |
903 "xml/xmlattrs.in", | |
904 ] | |
905 outputs = [ | 869 outputs = [ |
906 "$blink_core_output_dir/XMLNames.cpp", | 870 "$blink_core_output_dir/XMLNames.cpp", |
907 "$blink_core_output_dir/XMLNames.h", | 871 "$blink_core_output_dir/XMLNames.h", |
908 ] | 872 ] |
909 } | 873 } |
910 | 874 |
911 # make_token_matcher ----------------------------------------------------------- | 875 # make_token_matcher ----------------------------------------------------------- |
912 | 876 |
913 # "MakeTokenMatcherForViewport" in make_core_generated from GYP. | 877 # "MakeTokenMatcherForViewport" in make_core_generated from GYP. |
914 make_token_matcher("make_core_generated_make_token_matcher_for_viewport") { | 878 make_token_matcher("make_core_generated_make_token_matcher_for_viewport") { |
(...skipping 26 matching lines...) Expand all Loading... |
941 | 905 |
942 deps = make_core_generated_deps | 906 deps = make_core_generated_deps |
943 } | 907 } |
944 | 908 |
945 action("make_core_generated_private_script_for_testing") { | 909 action("make_core_generated_private_script_for_testing") { |
946 visibility = [] # Allow re-assignment of list. | 910 visibility = [] # Allow re-assignment of list. |
947 visibility = [ ":make_core_generated" ] | 911 visibility = [ ":make_core_generated" ] |
948 script = "../build/scripts/make_private_script_source.py" | 912 script = "../build/scripts/make_private_script_source.py" |
949 | 913 |
950 inputs = [ | 914 inputs = [ |
951 "testing/PartialPrivateScriptTest.js", | 915 "testing/PartialPrivateScriptTest.js", |
952 "testing/PrivateScriptTest.js", | 916 "testing/PrivateScriptTest.js", |
953 ] | 917 ] |
954 outputs = [ | 918 outputs = [ |
955 "$blink_core_output_dir/PrivateScriptSourcesForTesting.h", | 919 "$blink_core_output_dir/PrivateScriptSourcesForTesting.h", |
956 ] | 920 ] |
957 | 921 |
958 args = [ "--for-testing" ] | 922 args = [ "--for-testing" ] |
959 args += rebase_path(outputs, root_build_dir) | 923 args += rebase_path(outputs, root_build_dir) |
960 args += rebase_path(inputs, root_build_dir) | 924 args += rebase_path(inputs, root_build_dir) |
961 | 925 |
962 deps = make_core_generated_deps | 926 deps = make_core_generated_deps |
(...skipping 22 matching lines...) Expand all Loading... |
985 action("make_core_generated_css_tokenizer_codepoints") { | 949 action("make_core_generated_css_tokenizer_codepoints") { |
986 visibility = [] # Allow re-assignment of list. | 950 visibility = [] # Allow re-assignment of list. |
987 visibility = [ ":make_core_generated" ] | 951 visibility = [ ":make_core_generated" ] |
988 script = "../build/scripts/make_css_tokenizer_codepoints.py" | 952 script = "../build/scripts/make_css_tokenizer_codepoints.py" |
989 | 953 |
990 outputs = [ | 954 outputs = [ |
991 "$blink_core_output_dir/CSSTokenizerCodepoints.cpp", | 955 "$blink_core_output_dir/CSSTokenizerCodepoints.cpp", |
992 ] | 956 ] |
993 | 957 |
994 args = [ | 958 args = [ |
995 "--output_dir", rel_blink_core_gen_dir, | 959 "--output_dir", |
| 960 rel_blink_core_gen_dir, |
996 ] | 961 ] |
997 | 962 |
998 deps = make_core_generated_deps | 963 deps = make_core_generated_deps |
999 } | 964 } |
1000 | 965 |
1001 # "HTMLElementLookupTrie" in make_core_generated from GYP. | 966 # "HTMLElementLookupTrie" in make_core_generated from GYP. |
1002 action("make_core_generated_html_element_lookup_trie") { | 967 action("make_core_generated_html_element_lookup_trie") { |
1003 visibility = [] # Allow re-assignment of list. | 968 visibility = [] # Allow re-assignment of list. |
1004 visibility = [ ":make_core_generated" ] | 969 visibility = [ ":make_core_generated" ] |
1005 script = "../build/scripts/make_element_lookup_trie.py" | 970 script = "../build/scripts/make_element_lookup_trie.py" |
1006 | 971 |
1007 input_file = "html/HTMLTagNames.in" | 972 input_file = "html/HTMLTagNames.in" |
1008 inputs = scripts_for_in_files + [ | 973 inputs = scripts_for_in_files + [ |
1009 input_file, | 974 input_file, |
1010 "../build/scripts/templates/ElementLookupTrie.cpp.tmpl", | 975 "../build/scripts/templates/ElementLookupTrie.cpp.tmpl", |
1011 "../build/scripts/templates/ElementLookupTrie.h.tmpl", | 976 "../build/scripts/templates/ElementLookupTrie.h.tmpl", |
1012 ] | 977 ] |
1013 outputs = [ | 978 outputs = [ |
1014 "$blink_core_output_dir/HTMLElementLookupTrie.cpp", | 979 "$blink_core_output_dir/HTMLElementLookupTrie.cpp", |
1015 "$blink_core_output_dir/HTMLElementLookupTrie.h", | 980 "$blink_core_output_dir/HTMLElementLookupTrie.h", |
1016 ] | 981 ] |
1017 | 982 |
1018 args = [ | 983 args = [ |
1019 rebase_path(input_file, root_build_dir), | 984 rebase_path(input_file, root_build_dir), |
1020 "--output_dir", rel_blink_core_gen_dir, | 985 "--output_dir", |
| 986 rel_blink_core_gen_dir, |
1021 ] | 987 ] |
1022 | 988 |
1023 deps = make_core_generated_deps | 989 deps = make_core_generated_deps |
1024 } | 990 } |
1025 | 991 |
1026 # The bison rules from make_core_generated. | 992 # The bison rules from make_core_generated. |
1027 action_foreach("make_core_generated_bison") { | 993 action_foreach("make_core_generated_bison") { |
1028 script = "../build/scripts/rule_bison.py" | 994 script = "../build/scripts/rule_bison.py" |
1029 sources = [ | 995 sources = [ |
1030 "xml/XPathGrammar.y", | 996 "xml/XPathGrammar.y", |
1031 ] | 997 ] |
1032 outputs = [ | 998 outputs = [ |
1033 "$blink_core_output_dir/{{source_name_part}}.cpp", | 999 "$blink_core_output_dir/{{source_name_part}}.cpp", |
1034 "$blink_core_output_dir/{{source_name_part}}.h", | 1000 "$blink_core_output_dir/{{source_name_part}}.h", |
1035 ] | 1001 ] |
1036 args = [ | 1002 args = [ |
1037 "{{source}}", | 1003 "{{source}}", |
1038 rel_blink_core_gen_dir, | 1004 rel_blink_core_gen_dir, |
1039 bison_exe, | 1005 bison_exe, |
1040 ] | 1006 ] |
1041 | 1007 |
1042 deps = make_core_generated_deps | 1008 deps = make_core_generated_deps |
1043 } | 1009 } |
OLD | NEW |