4140de0ce7b3ca71bf26e09983312a767f0039f5
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / core_generated.gyp
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/scripts/scripts.gypi',
35     '../build/features.gypi',
36     '../build/scripts/scripts.gypi',
37   ],
38
39   'targets': [
40     {
41       # GN version: //third_party/WebKit/Source/core:core_event_interfaces
42       'target_name': 'core_event_interfaces',
43       'type': 'none',
44       'actions': [
45         {
46           'action_name': 'make_core_event_interfaces',
47           'variables': {
48             'event_idl_files': [
49               '<@(core_event_idl_files)',
50             ],
51             'event_idl_files_list':
52                 '<|(event_idl_files_list.tmp <@(event_idl_files))',
53           },
54           'inputs': [
55             # FIXME: should be in build/scripts, not bindings/scripts
56             '../bindings/scripts/generate_event_interfaces.py',
57             '../bindings/scripts/utilities.py',
58             '<(event_idl_files_list)',
59             '<@(event_idl_files)',
60           ],
61           'outputs': [
62             '<(blink_core_output_dir)/EventInterfaces.in',
63           ],
64           'action': [
65             'python',
66             '../bindings/scripts/generate_event_interfaces.py',
67             '--event-idl-files-list',
68             '<(event_idl_files_list)',
69             '--event-interfaces-file',
70             '<(blink_core_output_dir)/EventInterfaces.in',
71             '--write-file-only-if-changed',
72             '<(write_file_only_if_changed)',
73           ],
74         },
75       ],
76     },
77     {
78       # GN version: //third_party/WebKit/Sources/core:generated_testing_idls
79       'target_name': 'generated_testing_idls',
80       'type': 'none',
81       'actions': [
82         {
83           'action_name': 'Settings',
84           'inputs': [
85             '<@(scripts_for_in_files)',
86             '../build/scripts/make_settings.py',
87             '../build/scripts/templates/InternalSettingsGenerated.idl.tmpl',
88             '../build/scripts/templates/InternalSettingsGenerated.cpp.tmpl',
89             '../build/scripts/templates/InternalSettingsGenerated.h.tmpl',
90             '../build/scripts/templates/SettingsMacros.h.tmpl',
91             'frame/Settings.in',
92           ],
93           'outputs': [
94             '<(blink_core_output_dir)/SettingsMacros.h',
95             '<(blink_core_output_dir)/InternalSettingsGenerated.idl',
96             '<(blink_core_output_dir)/InternalSettingsGenerated.cpp',
97             '<(blink_core_output_dir)/InternalSettingsGenerated.h',
98           ],
99           'action': [
100             'python',
101             '../build/scripts/make_settings.py',
102             'frame/Settings.in',
103             '--output_dir',
104             '<(blink_core_output_dir)',
105           ],
106         },
107         {
108           'action_name': 'InternalRuntimeFlags',
109           'inputs': [
110             '<@(scripts_for_in_files)',
111             '../build/scripts/make_internal_runtime_flags.py',
112             '../platform/RuntimeEnabledFeatures.in',
113             '../build/scripts/templates/InternalRuntimeFlags.h.tmpl',
114             '../build/scripts/templates/InternalRuntimeFlags.idl.tmpl',
115           ],
116           'outputs': [
117             '<(blink_core_output_dir)/InternalRuntimeFlags.idl',
118             '<(blink_core_output_dir)/InternalRuntimeFlags.h',
119           ],
120           'action': [
121             'python',
122             '../build/scripts/make_internal_runtime_flags.py',
123             '../platform/RuntimeEnabledFeatures.in',
124             '--output_dir',
125             '<(blink_core_output_dir)',
126           ],
127         },
128       ]
129     },
130     {
131       # GN version: //third_party/WebKit/Source/core:make_core_generated
132       'target_name': 'make_core_generated',
133       'type': 'none',
134       'hard_dependency': 1,
135       'dependencies': [
136         'generated_testing_idls',
137         'core_event_interfaces',
138         '../config.gyp:config',
139       ],
140       'sources': [
141         # bison rule
142         'css/CSSGrammar.y',
143         'xml/XPathGrammar.y',
144       ],
145       'actions': [
146         {
147           'action_name': 'generateXMLViewerCSS',
148           'inputs': [
149             'xml/XMLViewer.css',
150           ],
151           'outputs': [
152             '<(blink_core_output_dir)/XMLViewerCSS.h',
153           ],
154           'action': [
155             'python',
156             '../build/scripts/xxd.py',
157             'XMLViewer_css',
158             '<@(_inputs)',
159             '<@(_outputs)'
160           ],
161         },
162         {
163           'action_name': 'generateXMLViewerJS',
164           'inputs': [
165             'xml/XMLViewer.js',
166           ],
167           'outputs': [
168             '<(blink_core_output_dir)/XMLViewerJS.h',
169           ],
170           'action': [
171             'python',
172             '../build/scripts/xxd.py',
173             'XMLViewer_js',
174             '<@(_inputs)',
175             '<@(_outputs)'
176           ],
177         },
178         {
179           'action_name': 'HTMLEntityTable',
180           'inputs': [
181             'html/parser/create-html-entity-table',
182             'html/parser/HTMLEntityNames.in',
183           ],
184           'outputs': [
185             '<(blink_core_output_dir)/HTMLEntityTable.cpp'
186           ],
187           'action': [
188             'python',
189             'html/parser/create-html-entity-table',
190             '-o',
191             '<@(_outputs)',
192             '<@(_inputs)'
193           ],
194         },
195         {
196           'action_name': 'CSSPropertyNames',
197           'variables': {
198             'in_files': [
199               'css/CSSPropertyNames.in',
200               'css/SVGCSSPropertyNames.in',
201             ],
202           },
203           'inputs': [
204             '<@(scripts_for_in_files)',
205             '../build/scripts/make_css_property_names.py',
206             '<@(in_files)'
207           ],
208           'outputs': [
209             '<(blink_core_output_dir)/CSSPropertyNames.cpp',
210             '<(blink_core_output_dir)/CSSPropertyNames.h',
211           ],
212           'action': [
213             'python',
214             '../build/scripts/make_css_property_names.py',
215             '<@(in_files)',
216             '--output_dir',
217             '<(blink_core_output_dir)',
218             '--gperf', '<(gperf_exe)',
219             '--defines', '<(feature_defines)',
220           ],
221         },
222         {
223           'action_name': 'MediaFeatureNames',
224           'variables': {
225             'in_files': [
226               'css/MediaFeatureNames.in',
227             ],
228           },
229           'inputs': [
230             '<@(make_names_files)',
231             '../build/scripts/make_media_feature_names.py',
232             '<@(in_files)'
233           ],
234           'outputs': [
235             '<(blink_core_output_dir)/MediaFeatureNames.cpp',
236             '<(blink_core_output_dir)/MediaFeatureNames.h',
237           ],
238           'action': [
239             'python',
240             '../build/scripts/make_media_feature_names.py',
241             '<@(in_files)',
242             '--output_dir',
243             '<(blink_core_output_dir)',
244             '--defines', '<(feature_defines)',
245           ],
246         },
247         {
248           'action_name': 'MediaFeatures',
249           'variables': {
250             'in_files': [
251               'css/MediaFeatureNames.in',
252             ],
253           },
254           'inputs': [
255             '<@(scripts_for_in_files)',
256             '../build/scripts/make_media_features.py',
257             '../build/scripts/templates/MediaFeatures.h.tmpl',
258             '<@(in_files)'
259           ],
260           'outputs': [
261             '<(blink_core_output_dir)/MediaFeatures.h',
262           ],
263           'action': [
264             'python',
265             '../build/scripts/make_media_features.py',
266             '<@(in_files)',
267             '--output_dir',
268             '<(blink_core_output_dir)',
269             '--defines', '<(feature_defines)',
270           ],
271         },
272         {
273           'action_name': 'MediaTypeNames',
274           'variables': {
275             'in_files': [
276               'css/MediaTypeNames.in',
277             ],
278           },
279           'inputs': [
280             '<@(make_names_files)',
281             '<@(in_files)'
282           ],
283           'outputs': [
284             '<(blink_core_output_dir)/MediaTypeNames.cpp',
285             '<(blink_core_output_dir)/MediaTypeNames.h',
286           ],
287           'action': [
288             'python',
289             '../build/scripts/make_names.py',
290             '<@(in_files)',
291             '--output_dir',
292             '<(blink_core_output_dir)',
293             '--defines', '<(feature_defines)',
294           ],
295         },
296         {
297           'action_name': 'MediaQueryTokenizerCodepoints',
298           'inputs': [
299             '../build/scripts/make_mediaquery_tokenizer_codepoints.py',
300           ],
301           'outputs': [
302             '<(blink_core_output_dir)/MediaQueryTokenizerCodepoints.cpp',
303           ],
304           'action': [
305             'python',
306             '../build/scripts/make_mediaquery_tokenizer_codepoints.py',
307             '--output_dir',
308             '<(blink_core_output_dir)',
309             '--defines', '<(feature_defines)',
310           ],
311         },
312         {
313           'action_name': 'StylePropertyShorthand',
314           'inputs': [
315             '<@(scripts_for_in_files)',
316             '../build/scripts/make_style_shorthands.py',
317             '../build/scripts/templates/StylePropertyShorthand.cpp.tmpl',
318             '../build/scripts/templates/StylePropertyShorthand.h.tmpl',
319             'css/CSSShorthands.in',
320           ],
321           'outputs': [
322             '<(blink_core_output_dir)/StylePropertyShorthand.cpp',
323             '<(blink_core_output_dir)/StylePropertyShorthand.h',
324           ],
325           'action': [
326             'python',
327             '../build/scripts/make_style_shorthands.py',
328             'css/CSSShorthands.in',
329             '--output_dir',
330             '<(blink_core_output_dir)',
331           ],
332         },
333         {
334           'action_name': 'StyleBuilder',
335           'inputs': [
336             '<@(scripts_for_in_files)',
337             '../build/scripts/make_style_builder.py',
338             '../build/scripts/templates/StyleBuilder.cpp.tmpl',
339             '../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl',
340             '../build/scripts/templates/StyleBuilderFunctions.h.tmpl',
341             'css/CSSProperties.in',
342           ],
343           'outputs': [
344             '<(blink_core_output_dir)/StyleBuilder.cpp',
345             '<(blink_core_output_dir)/StyleBuilderFunctions.h',
346             '<(blink_core_output_dir)/StyleBuilderFunctions.cpp',
347           ],
348           'action': [
349             'python',
350             '../build/scripts/make_style_builder.py',
351             'css/CSSProperties.in',
352             '--output_dir',
353             '<(blink_core_output_dir)',
354           ],
355         },
356         {
357           'action_name': 'CSSValueKeywords',
358           'variables': {
359             'in_files': [
360               'css/CSSValueKeywords.in',
361               'css/SVGCSSValueKeywords.in',
362             ],
363           },
364           'inputs': [
365             '<@(scripts_for_in_files)',
366             '../build/scripts/make_css_value_keywords.py',
367             '<@(in_files)'
368           ],
369           'outputs': [
370             '<(blink_core_output_dir)/CSSValueKeywords.cpp',
371             '<(blink_core_output_dir)/CSSValueKeywords.h',
372           ],
373           'action': [
374              'python',
375              '../build/scripts/make_css_value_keywords.py',
376              '<@(in_files)',
377              '--output_dir',
378              '<(blink_core_output_dir)',
379             '--gperf', '<(gperf_exe)',
380             '--defines', '<(feature_defines)',
381           ],
382         },
383         {
384           'action_name': 'HTMLElementFactory',
385           'inputs': [
386             '<@(make_element_factory_files)',
387             'html/HTMLTagNames.in',
388             'html/HTMLAttributeNames.in',
389           ],
390           'outputs': [
391             '<(blink_core_output_dir)/HTMLElementFactory.cpp',
392             '<(blink_core_output_dir)/HTMLElementFactory.h',
393             '<(blink_core_output_dir)/HTMLNames.cpp',
394             '<(blink_core_output_dir)/HTMLNames.h',
395             '<(blink_core_output_dir)/V8HTMLElementWrapperFactory.cpp',
396             '<(blink_core_output_dir)/V8HTMLElementWrapperFactory.h',
397           ],
398           'action': [
399             'python',
400             '../build/scripts/make_element_factory.py',
401             'html/HTMLTagNames.in',
402             'html/HTMLAttributeNames.in',
403             '--output_dir',
404             '<(blink_core_output_dir)',
405           ],
406         },
407         {
408           'action_name': 'HTMLElementTypeHelpers',
409           'inputs': [
410             '<@(make_element_type_helpers_files)',
411             'html/HTMLTagNames.in',
412           ],
413           'outputs': [
414             '<(blink_core_output_dir)/HTMLElementTypeHelpers.h',
415           ],
416           'action': [
417             'python',
418             '../build/scripts/make_element_type_helpers.py',
419             'html/HTMLTagNames.in',
420             '--output_dir',
421             '<(blink_core_output_dir)',
422           ],
423         },
424         {
425           'action_name': 'SVGNames',
426           'inputs': [
427             '<@(make_element_factory_files)',
428             'svg/SVGTagNames.in',
429             'svg/SVGAttributeNames.in',
430           ],
431           'outputs': [
432             '<(blink_core_output_dir)/SVGElementFactory.cpp',
433             '<(blink_core_output_dir)/SVGElementFactory.h',
434             '<(blink_core_output_dir)/SVGNames.cpp',
435             '<(blink_core_output_dir)/SVGNames.h',
436             '<(blink_core_output_dir)/V8SVGElementWrapperFactory.cpp',
437             '<(blink_core_output_dir)/V8SVGElementWrapperFactory.h',
438           ],
439           'action': [
440             'python',
441             '../build/scripts/make_element_factory.py',
442             'svg/SVGTagNames.in',
443             'svg/SVGAttributeNames.in',
444             '--output_dir',
445             '<(blink_core_output_dir)',
446           ],
447         },
448         {
449           'action_name': 'SVGElementTypeHelpers',
450           'inputs': [
451             '<@(make_element_type_helpers_files)',
452             'svg/SVGTagNames.in',
453           ],
454           'outputs': [
455             '<(blink_core_output_dir)/SVGElementTypeHelpers.h',
456           ],
457           'action': [
458             'python',
459             '../build/scripts/make_element_type_helpers.py',
460             'svg/SVGTagNames.in',
461             '--output_dir',
462             '<(blink_core_output_dir)',
463           ],
464         },
465         {
466           'action_name': 'EventFactory',
467           'inputs': [
468             '<@(make_event_factory_files)',
469             '<(blink_core_output_dir)/EventInterfaces.in',
470             'events/EventAliases.in',
471           ],
472           'outputs': [
473             '<(blink_core_output_dir)/Event.cpp',
474             '<(blink_core_output_dir)/EventHeaders.h',
475             '<(blink_core_output_dir)/EventInterfaces.h',
476           ],
477           'action': [
478             'python',
479             '../build/scripts/make_event_factory.py',
480             '<(blink_core_output_dir)/EventInterfaces.in',
481             'events/EventAliases.in',
482             '--output_dir',
483             '<(blink_core_output_dir)',
484           ],
485         },
486         {
487           'action_name': 'EventNames',
488           'inputs': [
489             '<@(make_names_files)',
490             '<(blink_core_output_dir)/EventInterfaces.in',
491           ],
492           'outputs': [
493             '<(blink_core_output_dir)/EventNames.cpp',
494             '<(blink_core_output_dir)/EventNames.h',
495           ],
496           'action': [
497             'python',
498             '../build/scripts/make_names.py',
499             '<(blink_core_output_dir)/EventInterfaces.in',
500             '--output_dir',
501             '<(blink_core_output_dir)',
502           ],
503         },
504         {
505           'action_name': 'EventTargetFactory',
506           'inputs': [
507             '<@(make_event_factory_files)',
508             'events/EventTargetFactory.in',
509           ],
510           'outputs': [
511             '<(blink_core_output_dir)/EventTargetHeaders.h',
512             '<(blink_core_output_dir)/EventTargetInterfaces.h',
513           ],
514           'action': [
515             'python',
516             '../build/scripts/make_event_factory.py',
517             'events/EventTargetFactory.in',
518             '--output_dir',
519             '<(blink_core_output_dir)',
520           ],
521         },
522         {
523           'action_name': 'EventTargetNames',
524           'inputs': [
525             '<@(make_names_files)',
526             'events/EventTargetFactory.in',
527           ],
528           'outputs': [
529             '<(blink_core_output_dir)/EventTargetNames.cpp',
530             '<(blink_core_output_dir)/EventTargetNames.h',
531           ],
532           'action': [
533             'python',
534             '../build/scripts/make_names.py',
535             'events/EventTargetFactory.in',
536             '--output_dir',
537             '<(blink_core_output_dir)',
538           ],
539         },
540         {
541           'action_name': 'MathMLNames',
542           'inputs': [
543             '<@(make_qualified_names_files)',
544             'html/parser/MathMLTagNames.in',
545             'html/parser/MathMLAttributeNames.in',
546           ],
547           'outputs': [
548             '<(blink_core_output_dir)/MathMLNames.cpp',
549             '<(blink_core_output_dir)/MathMLNames.h',
550           ],
551           'action': [
552             'python',
553             '../build/scripts/make_qualified_names.py',
554             'html/parser/MathMLTagNames.in',
555             'html/parser/MathMLAttributeNames.in',
556             '--output_dir',
557             '<(blink_core_output_dir)',
558             '--defines', '<(feature_defines)'
559           ],
560         },
561         {
562           'action_name': 'UserAgentStyleSheets',
563           'variables': {
564             'scripts': [
565               'css/make-css-file-arrays.pl',
566               '../build/scripts/preprocessor.pm',
567             ],
568             'stylesheets': [
569               'css/html.css',
570               'css/quirks.css',
571               'css/view-source.css',
572               'css/themeChromium.css',
573               'css/themeChromiumAndroid.css',
574               'css/themeChromiumLinux.css',
575               'css/themeChromiumSkia.css',
576               'css/themeMac.css',
577               'css/themeWin.css',
578               'css/themeWinQuirks.css',
579               'css/svg.css',
580               'css/navigationTransitions.css',
581               'css/mathml.css',
582               'css/mediaControls.css',
583               'css/mediaControlsAndroid.css',
584               'css/fullscreen.css',
585               'css/xhtmlmp.css',
586               'css/viewportAndroid.css',
587             ],
588           },
589           'inputs': [
590             '<@(scripts)',
591             '<@(stylesheets)'
592           ],
593           'outputs': [
594             '<(blink_core_output_dir)/UserAgentStyleSheets.h',
595             '<(blink_core_output_dir)/UserAgentStyleSheetsData.cpp',
596           ],
597           'action': [
598             'python',
599             '../build/scripts/action_useragentstylesheets.py',
600             '<@(_outputs)',
601             '<@(stylesheets)',
602             '--',
603             '<@(scripts)',
604             '--',
605             '--defines', '<(feature_defines)',
606             '<@(preprocessor)',
607             '--perl', '<(perl_exe)',
608           ],
609         },
610         {
611           'action_name': 'FetchInitiatorTypeNames',
612           'inputs': [
613             '<@(make_names_files)',
614             'fetch/FetchInitiatorTypeNames.in',
615           ],
616           'outputs': [
617             '<(blink_core_output_dir)/FetchInitiatorTypeNames.cpp',
618             '<(blink_core_output_dir)/FetchInitiatorTypeNames.h',
619           ],
620           'action': [
621             'python',
622             '../build/scripts/make_names.py',
623             'fetch/FetchInitiatorTypeNames.in',
624             '--output_dir',
625             '<(blink_core_output_dir)',
626           ],
627         },
628         {
629           'action_name': 'EventTypeNames',
630           'inputs': [
631             '<@(make_names_files)',
632             'events/EventTypeNames.in',
633           ],
634           'outputs': [
635             '<(blink_core_output_dir)/EventTypeNames.cpp',
636             '<(blink_core_output_dir)/EventTypeNames.h',
637           ],
638           'action': [
639             'python',
640             '../build/scripts/make_names.py',
641             'events/EventTypeNames.in',
642             '--output_dir',
643             '<(blink_core_output_dir)',
644           ],
645         },
646         {
647           'action_name': 'HTMLTokenizerNames',
648           'inputs': [
649             '<@(make_names_files)',
650             'html/parser/HTMLTokenizerNames.in',
651           ],
652           'outputs': [
653             '<(blink_core_output_dir)/HTMLTokenizerNames.cpp',
654             '<(blink_core_output_dir)/HTMLTokenizerNames.h',
655           ],
656           'action': [
657             'python',
658             '../build/scripts/make_names.py',
659             'html/parser/HTMLTokenizerNames.in',
660             '--output_dir',
661             '<(blink_core_output_dir)',
662           ],
663         },
664         {
665           'action_name': 'InputTypeNames',
666           'inputs': [
667             '<@(make_names_files)',
668             'html/forms/InputTypeNames.in',
669           ],
670           'outputs': [
671             '<(blink_core_output_dir)/InputTypeNames.cpp',
672             '<(blink_core_output_dir)/InputTypeNames.h',
673           ],
674           'action': [
675             'python',
676             '../build/scripts/make_names.py',
677             'html/forms/InputTypeNames.in',
678             '--output_dir',
679             '<(blink_core_output_dir)',
680           ],
681         },
682         {
683           'action_name': 'XLinkNames',
684           'inputs': [
685             '<@(make_qualified_names_files)',
686             'svg/xlinkattrs.in',
687           ],
688           'outputs': [
689             '<(blink_core_output_dir)/XLinkNames.cpp',
690             '<(blink_core_output_dir)/XLinkNames.h',
691           ],
692           'action': [
693             'python',
694             '../build/scripts/make_qualified_names.py',
695             'svg/xlinkattrs.in',
696             '--output_dir',
697             '<(blink_core_output_dir)',
698           ],
699         },
700         {
701           'action_name': 'XMLNSNames',
702           'inputs': [
703             '<@(make_qualified_names_files)',
704             'xml/xmlnsattrs.in',
705           ],
706           'outputs': [
707             '<(blink_core_output_dir)/XMLNSNames.cpp',
708             '<(blink_core_output_dir)/XMLNSNames.h',
709           ],
710           'action': [
711             'python',
712             '../build/scripts/make_qualified_names.py',
713             'xml/xmlnsattrs.in',
714             '--output_dir',
715             '<(blink_core_output_dir)',
716           ],
717         },
718         {
719           'action_name': 'XMLNames',
720           'inputs': [
721             '<@(make_qualified_names_files)',
722             'xml/xmlattrs.in',
723           ],
724           'outputs': [
725             '<(blink_core_output_dir)/XMLNames.cpp',
726             '<(blink_core_output_dir)/XMLNames.h',
727           ],
728           'action': [
729             'python',
730             '../build/scripts/make_qualified_names.py',
731             'xml/xmlattrs.in',
732             '--output_dir',
733             '<(blink_core_output_dir)',
734           ],
735         },
736         {
737           'action_name': 'MakeTokenMatcher',
738           'inputs': [
739             '<@(scripts_for_in_files)',
740             '../build/scripts/make_token_matcher.py',
741             '../core/css/CSSTokenizer-in.cpp',
742           ],
743           'outputs': [
744             '<(blink_core_output_dir)/CSSTokenizer.cpp',
745           ],
746           'action': [
747             'python',
748             '../build/scripts/make_token_matcher.py',
749             '../core/css/CSSTokenizer-in.cpp',
750             '<(blink_core_output_dir)/CSSTokenizer.cpp',
751           ],
752         },
753         {
754           'action_name': 'MakeParser',
755           'inputs': [
756             '<@(scripts_for_in_files)',
757             '../build/scripts/make_token_matcher.py',
758             '../core/css/parser/BisonCSSParser-in.cpp',
759           ],
760           'outputs': [
761             '<(blink_core_output_dir)/BisonCSSParser.cpp',
762           ],
763           'action': [
764             'python',
765             '../build/scripts/make_token_matcher.py',
766             '../core/css/parser/BisonCSSParser-in.cpp',
767             '<(blink_core_output_dir)/BisonCSSParser.cpp',
768           ],
769         },
770         {
771           'action_name': 'MakeTokenMatcherForViewport',
772           'inputs': [
773             '<@(scripts_for_in_files)',
774             '../build/scripts/make_token_matcher.py',
775             '../core/html/HTMLMetaElement-in.cpp',
776           ],
777           'outputs': [
778             '<(blink_core_output_dir)/HTMLMetaElement.cpp',
779           ],
780           'action': [
781             'python',
782             '../build/scripts/make_token_matcher.py',
783             '../core/html/HTMLMetaElement-in.cpp',
784             '<(blink_core_output_dir)/HTMLMetaElement.cpp',
785           ],
786         },
787         {
788           'action_name': 'HTMLElementLookupTrie',
789           'inputs': [
790             '<@(scripts_for_in_files)',
791             '../build/scripts/make_element_lookup_trie.py',
792             '../build/scripts/templates/ElementLookupTrie.cpp.tmpl',
793             '../build/scripts/templates/ElementLookupTrie.h.tmpl',
794             'html/HTMLTagNames.in',
795           ],
796           'outputs': [
797             '<(blink_core_output_dir)/HTMLElementLookupTrie.cpp',
798             '<(blink_core_output_dir)/HTMLElementLookupTrie.h',
799           ],
800           'action': [
801             'python',
802             '../build/scripts/make_element_lookup_trie.py',
803             'html/HTMLTagNames.in',
804             '--output_dir',
805             '<(blink_core_output_dir)',
806           ],
807         },
808       ],
809       'rules': [
810         {
811           'rule_name': 'bison',
812           'extension': 'y',
813           'outputs': [
814             '<(blink_core_output_dir)/<(RULE_INPUT_ROOT).cpp',
815             '<(blink_core_output_dir)/<(RULE_INPUT_ROOT).h'
816           ],
817           'action': [
818             'python',
819             '../build/scripts/rule_bison.py',
820             '<(RULE_INPUT_PATH)',
821             '<(blink_core_output_dir)',
822             '<(bison_exe)',
823           ],
824         },
825       ],
826     },
827   ],
828 }