OLD | NEW |
| (Empty) |
1 # | |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | |
3 # | |
4 # Redistribution and use in source and binary forms, with or without | |
5 # modification, are permitted provided that the following conditions are | |
6 # met: | |
7 # | |
8 # * Redistributions of source code must retain the above copyright | |
9 # notice, this list of conditions and the following disclaimer. | |
10 # * Redistributions in binary form must reproduce the above | |
11 # copyright notice, this list of conditions and the following disclaimer | |
12 # in the documentation and/or other materials provided with the | |
13 # distribution. | |
14 # * Neither the name of Google Inc. nor the names of its | |
15 # contributors may be used to endorse or promote products derived from | |
16 # this software without specific prior written permission. | |
17 # | |
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
29 # | |
30 | |
31 { | |
32 'includes': [ | |
33 '../core.gypi', | |
34 '../../bindings/bindings.gypi', | |
35 '../features.gypi', | |
36 ], | |
37 | |
38 'targets': [ | |
39 { | |
40 'target_name': 'generate_test_support_idls', | |
41 'type': 'none', | |
42 'actions': [ | |
43 { | |
44 'action_name': 'Settings', | |
45 'inputs': [ | |
46 '../page/make_settings.pl', | |
47 '../page/Settings.in', | |
48 ], | |
49 'outputs': [ | |
50 '<(SHARED_INTERMEDIATE_DIR)/webkit/SettingsMacros.h', | |
51 '<(SHARED_INTERMEDIATE_DIR)/webkit/InternalSettingsGenerated.idl', | |
52 '<(SHARED_INTERMEDIATE_DIR)/webkit/InternalSettingsGenerated.cpp', | |
53 '<(SHARED_INTERMEDIATE_DIR)/webkit/InternalSettingsGenerated.h', | |
54 ], | |
55 'action': [ | |
56 'python', | |
57 'scripts/action_makenames.py', | |
58 '<@(_outputs)', | |
59 '--', | |
60 '<@(_inputs)', | |
61 ], | |
62 'msvs_cygwin_shell': 1, | |
63 }, | |
64 { | |
65 'action_name': 'InternalRuntimeFlags', | |
66 'inputs': [ | |
67 '<@(scripts_for_in_files)', | |
68 '../scripts/make_internal_runtime_flags.py', | |
69 '../page/RuntimeEnabledFeatures.in', | |
70 '../scripts/templates/InternalRuntimeFlags.h.tmpl', | |
71 '../scripts/templates/InternalRuntimeFlags.idl.tmpl', | |
72 ], | |
73 'outputs': [ | |
74 '<(SHARED_INTERMEDIATE_DIR)/webkit/InternalRuntimeFlags.idl', | |
75 '<(SHARED_INTERMEDIATE_DIR)/webkit/InternalRuntimeFlags.h', | |
76 ], | |
77 'action': [ | |
78 'python', | |
79 '../scripts/make_internal_runtime_flags.py', | |
80 '../page/RuntimeEnabledFeatures.in', | |
81 '--output_dir', | |
82 '<(SHARED_INTERMEDIATE_DIR)/webkit/', | |
83 ], | |
84 }, | |
85 ] | |
86 }, | |
87 { | |
88 'target_name': 'make_derived_sources', | |
89 'type': 'none', | |
90 'hard_dependency': 1, | |
91 'dependencies': [ | |
92 'generate_test_support_idls', | |
93 ], | |
94 'sources': [ | |
95 # bison rule | |
96 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSGrammar.y', | |
97 '../xml/XPathGrammar.y', | |
98 | |
99 # gperf rule | |
100 '../platform/ColorData.gperf', | |
101 ], | |
102 'actions': [ | |
103 { | |
104 'action_name': 'generateV8ArrayBufferViewCustomScript', | |
105 'inputs': [ | |
106 '<(bindings_dir)/v8/custom/V8ArrayBufferViewCustomScript.js', | |
107 ], | |
108 'outputs': [ | |
109 '<(SHARED_INTERMEDIATE_DIR)/webkit/V8ArrayBufferViewCustomScript.h', | |
110 ], | |
111 'msvs_cygwin_shell': 0, | |
112 'action': [ | |
113 '<(perl_exe)', | |
114 '../inspector/xxd.pl', | |
115 'V8ArrayBufferViewCustomScript_js', | |
116 '<@(_inputs)', | |
117 '<@(_outputs)' | |
118 ], | |
119 'message': 'Generating V8ArrayBufferViewCustomScript.h from V8ArrayBuf
ferViewCustomScript.js', | |
120 }, | |
121 { | |
122 'action_name': 'generateXMLViewerCSS', | |
123 'inputs': [ | |
124 '../xml/XMLViewer.css', | |
125 ], | |
126 'outputs': [ | |
127 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLViewerCSS.h', | |
128 ], | |
129 'msvs_cygwin_shell': 0, | |
130 'action': [ | |
131 '<(perl_exe)', | |
132 '../inspector/xxd.pl', | |
133 'XMLViewer_css', | |
134 '<@(_inputs)', | |
135 '<@(_outputs)' | |
136 ], | |
137 }, | |
138 { | |
139 'action_name': 'generateXMLViewerJS', | |
140 'inputs': [ | |
141 '../xml/XMLViewer.js', | |
142 ], | |
143 'outputs': [ | |
144 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLViewerJS.h', | |
145 ], | |
146 'msvs_cygwin_shell': 0, | |
147 'action': [ | |
148 '<(perl_exe)', | |
149 '../inspector/xxd.pl', | |
150 'XMLViewer_js', | |
151 '<@(_inputs)', | |
152 '<@(_outputs)' | |
153 ], | |
154 }, | |
155 { | |
156 'action_name': 'HTMLEntityTable', | |
157 'inputs': [ | |
158 '../html/parser/create-html-entity-table', | |
159 '../html/parser/HTMLEntityNames.in', | |
160 ], | |
161 'outputs': [ | |
162 '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLEntityTable.cpp' | |
163 ], | |
164 'action': [ | |
165 'python', | |
166 '../html/parser/create-html-entity-table', | |
167 '-o', | |
168 '<@(_outputs)', | |
169 '<@(_inputs)' | |
170 ], | |
171 }, | |
172 { | |
173 'action_name': 'RuntimeEnabledFeatures', | |
174 'inputs': [ | |
175 '<@(scripts_for_in_files)', | |
176 '../scripts/make_runtime_features.py', | |
177 '../page/RuntimeEnabledFeatures.in', | |
178 '../scripts/templates/RuntimeEnabledFeatures.cpp.tmpl', | |
179 '../scripts/templates/RuntimeEnabledFeatures.h.tmpl', | |
180 ], | |
181 'outputs': [ | |
182 '<(SHARED_INTERMEDIATE_DIR)/webkit/RuntimeEnabledFeatures.cpp', | |
183 '<(SHARED_INTERMEDIATE_DIR)/webkit/RuntimeEnabledFeatures.h', | |
184 ], | |
185 'action': [ | |
186 'python', | |
187 '../scripts/make_runtime_features.py', | |
188 '../page/RuntimeEnabledFeatures.in', | |
189 '--output_dir', | |
190 '<(SHARED_INTERMEDIATE_DIR)/webkit/', | |
191 ], | |
192 }, | |
193 { | |
194 'action_name': 'CSSPropertyNames', | |
195 'variables': { | |
196 'in_files': [ | |
197 '../css/CSSPropertyNames.in', | |
198 '../css/SVGCSSPropertyNames.in', | |
199 ], | |
200 }, | |
201 'inputs': [ | |
202 '<@(scripts_for_in_files)', | |
203 '../scripts/make_css_property_names.py', | |
204 '<@(in_files)' | |
205 ], | |
206 'outputs': [ | |
207 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSPropertyNames.cpp', | |
208 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSPropertyNames.h', | |
209 ], | |
210 'action': [ | |
211 'python', | |
212 '../scripts/make_css_property_names.py', | |
213 '<@(in_files)', | |
214 '--output_dir', | |
215 '<(SHARED_INTERMEDIATE_DIR)/webkit/', | |
216 '--defines', '<(feature_defines)', | |
217 ], | |
218 'msvs_cygwin_shell': 1, | |
219 }, | |
220 { | |
221 'action_name': 'StyleBuilder', | |
222 'inputs': [ | |
223 '<@(scripts_for_in_files)', | |
224 '../scripts/make_style_builder.py', | |
225 '../css/CSSProperties.in', | |
226 '../scripts/templates/StyleBuilder.cpp.tmpl', | |
227 '../scripts/templates/StyleBuilderFunctions.h.tmpl', | |
228 '../scripts/templates/StyleBuilderFunctions.cpp.tmpl', | |
229 ], | |
230 'outputs': [ | |
231 '<(SHARED_INTERMEDIATE_DIR)/webkit/StyleBuilder.cpp', | |
232 '<(SHARED_INTERMEDIATE_DIR)/webkit/StyleBuilderFunctions.h', | |
233 '<(SHARED_INTERMEDIATE_DIR)/webkit/StyleBuilderFunctions.cpp', | |
234 ], | |
235 'action': [ | |
236 'python', | |
237 '../scripts/make_style_builder.py', | |
238 '../css/CSSProperties.in', | |
239 '--output_dir', | |
240 '<(SHARED_INTERMEDIATE_DIR)/webkit/', | |
241 ], | |
242 }, | |
243 { | |
244 'action_name': 'CSSValueKeywords', | |
245 'variables': { | |
246 'in_files': [ | |
247 '../css/CSSValueKeywords.in', | |
248 '../css/SVGCSSValueKeywords.in', | |
249 ], | |
250 }, | |
251 'inputs': [ | |
252 '<@(scripts_for_in_files)', | |
253 '../scripts/make_css_value_keywords.py', | |
254 '<@(in_files)' | |
255 ], | |
256 'outputs': [ | |
257 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSValueKeywords.cpp', | |
258 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSValueKeywords.h', | |
259 ], | |
260 'action': [ | |
261 '../scripts/make_css_value_keywords.py', | |
262 '<@(in_files)', | |
263 '--output_dir', | |
264 '<(SHARED_INTERMEDIATE_DIR)/webkit/', | |
265 '--defines', '<(feature_defines)', | |
266 ], | |
267 'msvs_cygwin_shell': 1, | |
268 }, | |
269 { | |
270 'action_name': 'HTMLNames', | |
271 'inputs': [ | |
272 '../scripts/Hasher.pm', | |
273 '../scripts/StaticString.pm', | |
274 '../scripts/make_names.pl', | |
275 '../html/HTMLTagNames.in', | |
276 '../html/HTMLAttributeNames.in', | |
277 ], | |
278 'outputs': [ | |
279 '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLNames.cpp', | |
280 '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLNames.h', | |
281 '<(SHARED_INTERMEDIATE_DIR)/webkit/HTMLElementFactory.cpp', | |
282 '<(SHARED_INTERMEDIATE_DIR)/webkit/V8HTMLElementWrapperFactory.cpp', | |
283 '<(SHARED_INTERMEDIATE_DIR)/webkit/V8HTMLElementWrapperFactory.h', | |
284 ], | |
285 'action': [ | |
286 'python', | |
287 'scripts/action_makenames.py', | |
288 '<@(_outputs)', | |
289 '--', | |
290 '<@(_inputs)', | |
291 '--', | |
292 '--factory', | |
293 '--extraDefines', '<(feature_defines)' | |
294 ], | |
295 'msvs_cygwin_shell': 1, | |
296 }, | |
297 { | |
298 'action_name': 'FontFamilyNames', | |
299 'inputs': [ | |
300 '../scripts/Hasher.pm', | |
301 '../scripts/StaticString.pm', | |
302 '../scripts/make_names.pl', | |
303 '../css/FontFamilyNames.in', | |
304 ], | |
305 'outputs': [ | |
306 '<(SHARED_INTERMEDIATE_DIR)/webkit/FontFamilyNames.cpp', | |
307 '<(SHARED_INTERMEDIATE_DIR)/webkit/FontFamilyNames.h', | |
308 ], | |
309 'action': [ | |
310 'python', | |
311 'scripts/action_makenames.py', | |
312 '<@(_outputs)', | |
313 '--', | |
314 '<@(_inputs)', | |
315 '--', | |
316 '--fonts', | |
317 ], | |
318 'msvs_cygwin_shell': 1, | |
319 }, | |
320 { | |
321 'action_name': 'SVGNames', | |
322 'inputs': [ | |
323 '../scripts/Hasher.pm', | |
324 '../scripts/StaticString.pm', | |
325 '../scripts/make_names.pl', | |
326 '../svg/svgtags.in', | |
327 '../svg/svgattrs.in', | |
328 ], | |
329 'outputs': [ | |
330 '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGNames.cpp', | |
331 '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGNames.h', | |
332 '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGElementFactory.cpp', | |
333 '<(SHARED_INTERMEDIATE_DIR)/webkit/SVGElementFactory.h', | |
334 '<(SHARED_INTERMEDIATE_DIR)/webkit/V8SVGElementWrapperFactory.cpp', | |
335 '<(SHARED_INTERMEDIATE_DIR)/webkit/V8SVGElementWrapperFactory.h', | |
336 ], | |
337 'action': [ | |
338 'python', | |
339 'scripts/action_makenames.py', | |
340 '<@(_outputs)', | |
341 '--', | |
342 '<@(_inputs)', | |
343 '--', | |
344 '--factory', | |
345 '--extraDefines', '<(feature_defines)' | |
346 ], | |
347 'msvs_cygwin_shell': 1, | |
348 }, | |
349 { | |
350 'action_name': 'EventFactory', | |
351 'inputs': [ | |
352 '<@(scripts_for_in_files)', | |
353 '../scripts/make_event_factory.py', | |
354 '../dom/EventNames.in', | |
355 ], | |
356 'outputs': [ | |
357 '<(SHARED_INTERMEDIATE_DIR)/webkit/Event.cpp', | |
358 '<(SHARED_INTERMEDIATE_DIR)/webkit/EventHeaders.h', | |
359 '<(SHARED_INTERMEDIATE_DIR)/webkit/EventInterfaces.h', | |
360 ], | |
361 'action': [ | |
362 'python', | |
363 '../scripts/make_event_factory.py', | |
364 '../dom/EventNames.in', | |
365 '--output_dir', | |
366 '<(SHARED_INTERMEDIATE_DIR)/webkit/', | |
367 ], | |
368 }, | |
369 { | |
370 'action_name': 'EventTargetFactory', | |
371 'inputs': [ | |
372 '<@(scripts_for_in_files)', | |
373 '../scripts/make_event_factory.py', | |
374 '../dom/EventTargetFactory.in', | |
375 ], | |
376 'outputs': [ | |
377 '<(SHARED_INTERMEDIATE_DIR)/webkit/EventTargetHeaders.h', | |
378 '<(SHARED_INTERMEDIATE_DIR)/webkit/EventTargetInterfaces.h', | |
379 ], | |
380 'action': [ | |
381 'python', | |
382 '../scripts/make_event_factory.py', | |
383 '../dom/EventTargetFactory.in', | |
384 '--output_dir', | |
385 '<(SHARED_INTERMEDIATE_DIR)/webkit/', | |
386 ], | |
387 }, | |
388 { | |
389 'action_name': 'ExceptionCodeDescription', | |
390 'inputs': [ | |
391 '<@(scripts_for_in_files)', | |
392 '../scripts/make_dom_exceptions.py', | |
393 '../dom/DOMExceptions.in', | |
394 ], | |
395 'outputs': [ | |
396 '<(SHARED_INTERMEDIATE_DIR)/webkit/DOMException.cpp', | |
397 '<(SHARED_INTERMEDIATE_DIR)/webkit/DOMException.h', | |
398 '<(SHARED_INTERMEDIATE_DIR)/webkit/DOMExceptionHeaders.h', | |
399 '<(SHARED_INTERMEDIATE_DIR)/webkit/DOMExceptionInterfaces.h', | |
400 ], | |
401 'action': [ | |
402 'python', | |
403 '../scripts/make_dom_exceptions.py', | |
404 '../dom/DOMExceptions.in', | |
405 '--output_dir', | |
406 '<(SHARED_INTERMEDIATE_DIR)/webkit/', | |
407 ], | |
408 }, | |
409 { | |
410 'action_name': 'MathMLNames', | |
411 'inputs': [ | |
412 '../scripts/Hasher.pm', | |
413 '../scripts/StaticString.pm', | |
414 '../scripts/make_names.pl', | |
415 '../mathml/mathtags.in', | |
416 '../mathml/mathattrs.in', | |
417 ], | |
418 'outputs': [ | |
419 '<(SHARED_INTERMEDIATE_DIR)/webkit/MathMLNames.cpp', | |
420 '<(SHARED_INTERMEDIATE_DIR)/webkit/MathMLNames.h', | |
421 '<(SHARED_INTERMEDIATE_DIR)/webkit/MathMLElementFactory.cpp', | |
422 '<(SHARED_INTERMEDIATE_DIR)/webkit/MathMLElementFactory.h', | |
423 ], | |
424 'action': [ | |
425 'python', | |
426 'scripts/action_makenames.py', | |
427 '<@(_outputs)', | |
428 '--', | |
429 '<@(_inputs)', | |
430 '--', | |
431 '--factory', | |
432 '--extraDefines', '<(feature_defines)' | |
433 ], | |
434 'msvs_cygwin_shell': 1, | |
435 }, | |
436 { | |
437 'action_name': 'UserAgentStyleSheets', | |
438 'variables': { | |
439 'scripts': [ | |
440 '../css/make-css-file-arrays.pl', | |
441 '../scripts/preprocessor.pm', | |
442 ], | |
443 'stylesheets': [ | |
444 '../css/html.css', | |
445 '../css/quirks.css', | |
446 '../css/view-source.css', | |
447 '../css/themeChromium.css', | |
448 '../css/themeChromiumAndroid.css', | |
449 '../css/themeChromiumLinux.css', | |
450 '../css/themeChromiumSkia.css', | |
451 '../css/themeWin.css', | |
452 '../css/themeWinQuirks.css', | |
453 '../css/svg.css', | |
454 '../css/mathml.css', | |
455 '../css/mediaControls.css', | |
456 '../css/mediaControlsChromium.css', | |
457 '../css/mediaControlsChromiumAndroid.css', | |
458 '../css/fullscreen.css', | |
459 ], | |
460 }, | |
461 'inputs': [ | |
462 '<@(scripts)', | |
463 '<@(stylesheets)' | |
464 ], | |
465 'outputs': [ | |
466 '<(SHARED_INTERMEDIATE_DIR)/webkit/UserAgentStyleSheets.h', | |
467 '<(SHARED_INTERMEDIATE_DIR)/webkit/UserAgentStyleSheetsData.cpp', | |
468 ], | |
469 'action': [ | |
470 'python', | |
471 'scripts/action_useragentstylesheets.py', | |
472 '<@(_outputs)', | |
473 '<@(stylesheets)', | |
474 '--', | |
475 '<@(scripts)', | |
476 '--', | |
477 '--defines', '<(feature_defines)', | |
478 ], | |
479 'msvs_cygwin_shell': 1, | |
480 }, | |
481 { | |
482 'action_name': 'PickerCommon', | |
483 'inputs': [ | |
484 '../Resources/pagepopups/pickerCommon.css', | |
485 '../Resources/pagepopups/pickerCommon.js', | |
486 ], | |
487 'outputs': [ | |
488 '<(SHARED_INTERMEDIATE_DIR)/webkit/PickerCommon.h', | |
489 '<(SHARED_INTERMEDIATE_DIR)/webkit/PickerCommon.cpp', | |
490 ], | |
491 'action': [ | |
492 'python', | |
493 '../scripts/make-file-arrays.py', | |
494 '--out-h=<(SHARED_INTERMEDIATE_DIR)/webkit/PickerCommon.h', | |
495 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/webkit/PickerCommon.cpp', | |
496 '<@(_inputs)', | |
497 ], | |
498 }, | |
499 { | |
500 'action_name': 'CalendarPicker', | |
501 'inputs': [ | |
502 '../Resources/pagepopups/calendarPicker.css', | |
503 '../Resources/pagepopups/calendarPicker.js', | |
504 '../Resources/pagepopups/chromium/calendarPickerChromium.css', | |
505 '../Resources/pagepopups/chromium/pickerCommonChromium.css', | |
506 '../Resources/pagepopups/suggestionPicker.css', | |
507 '../Resources/pagepopups/suggestionPicker.js', | |
508 ], | |
509 'outputs': [ | |
510 '<(SHARED_INTERMEDIATE_DIR)/webkit/CalendarPicker.h', | |
511 '<(SHARED_INTERMEDIATE_DIR)/webkit/CalendarPicker.cpp', | |
512 ], | |
513 'action': [ | |
514 'python', | |
515 '../scripts/make-file-arrays.py', | |
516 '--condition=ENABLE(CALENDAR_PICKER)', | |
517 '--out-h=<(SHARED_INTERMEDIATE_DIR)/webkit/CalendarPicker.h', | |
518 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/webkit/CalendarPicker.cpp', | |
519 '<@(_inputs)', | |
520 ], | |
521 }, | |
522 { | |
523 'action_name': 'ColorSuggestionPicker', | |
524 'inputs': [ | |
525 '../Resources/pagepopups/colorSuggestionPicker.css', | |
526 '../Resources/pagepopups/colorSuggestionPicker.js', | |
527 ], | |
528 'outputs': [ | |
529 '<(SHARED_INTERMEDIATE_DIR)/webkit/ColorSuggestionPicker.h', | |
530 '<(SHARED_INTERMEDIATE_DIR)/webkit/ColorSuggestionPicker.cpp', | |
531 ], | |
532 'action': [ | |
533 'python', | |
534 '../scripts/make-file-arrays.py', | |
535 '--out-h=<(SHARED_INTERMEDIATE_DIR)/webkit/ColorSuggestionPicker.h', | |
536 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/webkit/ColorSuggestionPicker.c
pp', | |
537 '<@(_inputs)', | |
538 ], | |
539 }, | |
540 { | |
541 'action_name': 'XLinkNames', | |
542 'inputs': [ | |
543 '../scripts/Hasher.pm', | |
544 '../scripts/StaticString.pm', | |
545 '../scripts/make_names.pl', | |
546 '../svg/xlinkattrs.in', | |
547 ], | |
548 'outputs': [ | |
549 '<(SHARED_INTERMEDIATE_DIR)/webkit/XLinkNames.cpp', | |
550 '<(SHARED_INTERMEDIATE_DIR)/webkit/XLinkNames.h', | |
551 ], | |
552 'action': [ | |
553 'python', | |
554 'scripts/action_makenames.py', | |
555 '<@(_outputs)', | |
556 '--', | |
557 '<@(_inputs)', | |
558 '--', | |
559 '--extraDefines', '<(feature_defines)' | |
560 ], | |
561 'msvs_cygwin_shell': 1, | |
562 }, | |
563 { | |
564 'action_name': 'XMLNSNames', | |
565 'inputs': [ | |
566 '../scripts/Hasher.pm', | |
567 '../scripts/StaticString.pm', | |
568 '../scripts/make_names.pl', | |
569 '../xml/xmlnsattrs.in', | |
570 ], | |
571 'outputs': [ | |
572 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLNSNames.cpp', | |
573 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLNSNames.h', | |
574 ], | |
575 'action': [ | |
576 'python', | |
577 'scripts/action_makenames.py', | |
578 '<@(_outputs)', | |
579 '--', | |
580 '<@(_inputs)', | |
581 '--', | |
582 '--extraDefines', '<(feature_defines)' | |
583 ], | |
584 'msvs_cygwin_shell': 1, | |
585 }, | |
586 { | |
587 'action_name': 'XMLNames', | |
588 'inputs': [ | |
589 '../scripts/Hasher.pm', | |
590 '../scripts/StaticString.pm', | |
591 '../scripts/make_names.pl', | |
592 '../xml/xmlattrs.in', | |
593 ], | |
594 'outputs': [ | |
595 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLNames.cpp', | |
596 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLNames.h', | |
597 ], | |
598 'action': [ | |
599 'python', | |
600 'scripts/action_makenames.py', | |
601 '<@(_outputs)', | |
602 '--', | |
603 '<@(_inputs)', | |
604 '--', | |
605 '--extraDefines', '<(feature_defines)' | |
606 ], | |
607 'msvs_cygwin_shell': 1, | |
608 }, | |
609 { | |
610 'action_name': 'preprocess_grammar', | |
611 'inputs': [ | |
612 '../css/CSSGrammar.y.in', | |
613 '../css/CSSGrammar.y.includes', | |
614 ], | |
615 'outputs': [ | |
616 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSGrammar.y', | |
617 ], | |
618 'action': [ | |
619 '<(perl_exe)', | |
620 '-I../scripts', | |
621 '../css/makegrammar.pl', | |
622 '--outputDir', | |
623 '<(SHARED_INTERMEDIATE_DIR)/webkit/', | |
624 '--extraDefines', | |
625 '<(feature_defines)', | |
626 '--preprocessOnly', | |
627 '<@(preprocessor)', | |
628 '<@(_inputs)', | |
629 ], | |
630 }, | |
631 ], | |
632 'rules': [ | |
633 { | |
634 'rule_name': 'bison', | |
635 'extension': 'y', | |
636 'outputs': [ | |
637 '<(SHARED_INTERMEDIATE_DIR)/webkit/<(RULE_INPUT_ROOT).cpp', | |
638 '<(SHARED_INTERMEDIATE_DIR)/webkit/<(RULE_INPUT_ROOT).h' | |
639 ], | |
640 'action': [ | |
641 'python', | |
642 'scripts/rule_bison.py', | |
643 '<(RULE_INPUT_PATH)', | |
644 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
645 '<(bison_exe)', | |
646 ], | |
647 'msvs_cygwin_shell': 1, | |
648 }, | |
649 { | |
650 'rule_name': 'gperf', | |
651 'extension': 'gperf', | |
652 'outputs': [ | |
653 '<(SHARED_INTERMEDIATE_DIR)/webkit/<(RULE_INPUT_ROOT).cpp', | |
654 ], | |
655 'inputs': [ | |
656 '../scripts/make-hash-tools.pl', | |
657 ], | |
658 'msvs_cygwin_shell': 0, | |
659 'action': [ | |
660 '<(perl_exe)', | |
661 '../scripts/make-hash-tools.pl', | |
662 '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
663 '<(RULE_INPUT_PATH)', | |
664 '<(gperf_exe)', | |
665 ], | |
666 }, | |
667 ], | |
668 }, | |
669 ], | |
670 } | |
OLD | NEW |