2 # Copyright (C) 2013 Google Inc. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
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
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.
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.
34 '../bindings/bindings.gypi',
35 '../build/features.gypi',
36 '../build/scripts/scripts.gypi',
41 'target_name': 'generated_testing_idls',
45 'action_name': 'Settings',
47 '<@(scripts_for_in_files)',
48 '../build/scripts/make_settings.py',
49 '../build/scripts/templates/InternalSettingsGenerated.idl.tmpl',
50 '../build/scripts/templates/InternalSettingsGenerated.cpp.tmpl',
51 '../build/scripts/templates/InternalSettingsGenerated.h.tmpl',
52 '../build/scripts/templates/SettingsMacros.h.tmpl',
56 '<(SHARED_INTERMEDIATE_DIR)/blink/SettingsMacros.h',
57 '<(SHARED_INTERMEDIATE_DIR)/blink/InternalSettingsGenerated.idl',
58 '<(SHARED_INTERMEDIATE_DIR)/blink/InternalSettingsGenerated.cpp',
59 '<(SHARED_INTERMEDIATE_DIR)/blink/InternalSettingsGenerated.h',
63 '../build/scripts/make_settings.py',
66 '<(SHARED_INTERMEDIATE_DIR)/blink',
70 'action_name': 'InternalRuntimeFlags',
72 '<@(scripts_for_in_files)',
73 '../build/scripts/make_internal_runtime_flags.py',
74 '../platform/RuntimeEnabledFeatures.in',
75 '../build/scripts/templates/InternalRuntimeFlags.h.tmpl',
76 '../build/scripts/templates/InternalRuntimeFlags.idl.tmpl',
79 '<(SHARED_INTERMEDIATE_DIR)/blink/InternalRuntimeFlags.idl',
80 '<(SHARED_INTERMEDIATE_DIR)/blink/InternalRuntimeFlags.h',
84 '../build/scripts/make_internal_runtime_flags.py',
85 '../platform/RuntimeEnabledFeatures.in',
87 '<(SHARED_INTERMEDIATE_DIR)/blink',
93 'target_name': 'make_core_generated',
97 'generated_testing_idls',
98 '../config.gyp:config',
103 'xml/XPathGrammar.y',
107 'action_name': 'generateXMLViewerCSS',
112 '<(SHARED_INTERMEDIATE_DIR)/blink/XMLViewerCSS.h',
116 '../build/scripts/xxd.py',
123 'action_name': 'generateXMLViewerJS',
128 '<(SHARED_INTERMEDIATE_DIR)/blink/XMLViewerJS.h',
132 '../build/scripts/xxd.py',
139 'action_name': 'HTMLEntityTable',
141 'html/parser/create-html-entity-table',
142 'html/parser/HTMLEntityNames.in',
145 '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLEntityTable.cpp'
149 'html/parser/create-html-entity-table',
156 'action_name': 'CSSPropertyNames',
159 'css/CSSPropertyNames.in',
160 'css/SVGCSSPropertyNames.in',
164 '<@(scripts_for_in_files)',
165 '../build/scripts/make_css_property_names.py',
169 '<(SHARED_INTERMEDIATE_DIR)/blink/CSSPropertyNames.cpp',
170 '<(SHARED_INTERMEDIATE_DIR)/blink/CSSPropertyNames.h',
174 '../build/scripts/make_css_property_names.py',
177 '<(SHARED_INTERMEDIATE_DIR)/blink',
178 '--gperf', '<(gperf_exe)',
179 '--defines', '<(feature_defines)',
183 'action_name': 'StylePropertyShorthand',
185 '<@(scripts_for_in_files)',
186 '../build/scripts/make_style_shorthands.py',
187 'css/CSSShorthands.in',
188 '../build/scripts/templates/StylePropertyShorthand.h.tmpl',
189 '../build/scripts/templates/StylePropertyShorthand.cpp.tmpl',
192 '<(SHARED_INTERMEDIATE_DIR)/blink/StylePropertyShorthand.cpp',
193 '<(SHARED_INTERMEDIATE_DIR)/blink/StylePropertyShorthand.h',
197 '../build/scripts/make_style_shorthands.py',
198 'css/CSSShorthands.in',
200 '<(SHARED_INTERMEDIATE_DIR)/blink',
204 'action_name': 'StyleBuilder',
206 '<@(scripts_for_in_files)',
207 '../build/scripts/make_style_builder.py',
208 'css/CSSProperties.in',
209 '../build/scripts/templates/StyleBuilder.cpp.tmpl',
210 '../build/scripts/templates/StyleBuilderFunctions.h.tmpl',
211 '../build/scripts/templates/StyleBuilderFunctions.cpp.tmpl',
214 '<(SHARED_INTERMEDIATE_DIR)/blink/StyleBuilder.cpp',
215 '<(SHARED_INTERMEDIATE_DIR)/blink/StyleBuilderFunctions.h',
216 '<(SHARED_INTERMEDIATE_DIR)/blink/StyleBuilderFunctions.cpp',
220 '../build/scripts/make_style_builder.py',
221 'css/CSSProperties.in',
223 '<(SHARED_INTERMEDIATE_DIR)/blink',
227 'action_name': 'CSSValueKeywords',
230 'css/CSSValueKeywords.in',
231 'css/SVGCSSValueKeywords.in',
235 '<@(scripts_for_in_files)',
236 '../build/scripts/make_css_value_keywords.py',
240 '<(SHARED_INTERMEDIATE_DIR)/blink/CSSValueKeywords.cpp',
241 '<(SHARED_INTERMEDIATE_DIR)/blink/CSSValueKeywords.h',
245 '../build/scripts/make_css_value_keywords.py',
248 '<(SHARED_INTERMEDIATE_DIR)/blink',
249 '--gperf', '<(gperf_exe)',
250 '--defines', '<(feature_defines)',
254 'action_name': 'HTMLElementFactory',
256 '<@(make_element_factory_files)',
257 'html/HTMLTagNames.in',
258 'html/HTMLAttributeNames.in',
261 '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLElementFactory.cpp',
262 '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLElementFactory.h',
263 '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLNames.cpp',
264 '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLNames.h',
265 '<(SHARED_INTERMEDIATE_DIR)/blink/V8HTMLElementWrapperFactory.cpp',
266 '<(SHARED_INTERMEDIATE_DIR)/blink/V8HTMLElementWrapperFactory.h',
270 '../build/scripts/make_element_factory.py',
271 'html/HTMLTagNames.in',
272 'html/HTMLAttributeNames.in',
274 '<(SHARED_INTERMEDIATE_DIR)/blink',
278 'action_name': 'SVGNames',
280 '<@(make_element_factory_files)',
281 'svg/SVGTagNames.in',
282 'svg/SVGAttributeNames.in',
285 '<(SHARED_INTERMEDIATE_DIR)/blink/SVGElementFactory.cpp',
286 '<(SHARED_INTERMEDIATE_DIR)/blink/SVGElementFactory.h',
287 '<(SHARED_INTERMEDIATE_DIR)/blink/SVGNames.cpp',
288 '<(SHARED_INTERMEDIATE_DIR)/blink/SVGNames.h',
289 '<(SHARED_INTERMEDIATE_DIR)/blink/V8SVGElementWrapperFactory.cpp',
290 '<(SHARED_INTERMEDIATE_DIR)/blink/V8SVGElementWrapperFactory.h',
294 '../build/scripts/make_element_factory.py',
295 'svg/SVGTagNames.in',
296 'svg/SVGAttributeNames.in',
298 '<(SHARED_INTERMEDIATE_DIR)/blink',
302 'action_name': 'EventFactory',
304 '<@(make_event_factory_files)',
305 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
306 'events/EventAliases.in',
309 '<(SHARED_INTERMEDIATE_DIR)/blink/Event.cpp',
310 '<(SHARED_INTERMEDIATE_DIR)/blink/EventHeaders.h',
311 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.h',
315 '../build/scripts/make_event_factory.py',
316 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
317 'events/EventAliases.in',
319 '<(SHARED_INTERMEDIATE_DIR)/blink',
323 'action_name': 'EventNames',
325 '<@(make_names_files)',
326 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
329 '<(SHARED_INTERMEDIATE_DIR)/blink/EventNames.cpp',
330 '<(SHARED_INTERMEDIATE_DIR)/blink/EventNames.h',
334 '../build/scripts/make_names.py',
335 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
337 '<(SHARED_INTERMEDIATE_DIR)/blink',
341 'action_name': 'EventTargetFactory',
343 '<@(make_event_factory_files)',
344 'events/EventTargetFactory.in',
347 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetHeaders.h',
348 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetInterfaces.h',
352 '../build/scripts/make_event_factory.py',
353 'events/EventTargetFactory.in',
355 '<(SHARED_INTERMEDIATE_DIR)/blink',
359 'action_name': 'EventTargetNames',
361 '<@(make_names_files)',
362 'events/EventTargetFactory.in',
365 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetNames.cpp',
366 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetNames.h',
370 '../build/scripts/make_names.py',
371 'events/EventTargetFactory.in',
373 '<(SHARED_INTERMEDIATE_DIR)/blink',
377 'action_name': 'MathMLNames',
379 '<@(make_qualified_names_files)',
380 'html/parser/MathMLTagNames.in',
381 'html/parser/MathMLAttributeNames.in',
384 '<(SHARED_INTERMEDIATE_DIR)/blink/MathMLNames.cpp',
385 '<(SHARED_INTERMEDIATE_DIR)/blink/MathMLNames.h',
389 '../build/scripts/make_qualified_names.py',
390 'html/parser/MathMLTagNames.in',
391 'html/parser/MathMLAttributeNames.in',
393 '<(SHARED_INTERMEDIATE_DIR)/blink',
394 '--defines', '<(feature_defines)'
398 'action_name': 'UserAgentStyleSheets',
401 'css/make-css-file-arrays.pl',
402 '../build/scripts/preprocessor.pm',
407 'css/view-source.css',
408 'css/themeChromium.css',
409 'css/themeChromiumAndroid.css',
410 'css/themeChromiumLinux.css',
411 'css/themeChromiumSkia.css',
413 'css/themeWinQuirks.css',
415 'css/mediaControls.css',
416 'css/mediaControlsAndroid.css',
417 'css/fullscreen.css',
419 'css/viewportAndroid.css',
427 '<(SHARED_INTERMEDIATE_DIR)/blink/UserAgentStyleSheets.h',
428 '<(SHARED_INTERMEDIATE_DIR)/blink/UserAgentStyleSheetsData.cpp',
432 '../build/scripts/action_useragentstylesheets.py',
438 '--defines', '<(feature_defines)',
440 '--perl', '<(perl_exe)',
444 'action_name': 'FetchInitiatorTypeNames',
446 '<@(make_names_files)',
447 'fetch/FetchInitiatorTypeNames.in',
450 '<(SHARED_INTERMEDIATE_DIR)/blink/FetchInitiatorTypeNames.cpp',
451 '<(SHARED_INTERMEDIATE_DIR)/blink/FetchInitiatorTypeNames.h',
455 '../build/scripts/make_names.py',
456 'fetch/FetchInitiatorTypeNames.in',
458 '<(SHARED_INTERMEDIATE_DIR)/blink',
462 'action_name': 'EventTypeNames',
464 '<@(make_names_files)',
465 'events/EventTypeNames.in',
468 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTypeNames.cpp',
469 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTypeNames.h',
473 '../build/scripts/make_names.py',
474 'events/EventTypeNames.in',
476 '<(SHARED_INTERMEDIATE_DIR)/blink',
480 'action_name': 'InputTypeNames',
482 '<@(make_names_files)',
483 'html/forms/InputTypeNames.in',
486 '<(SHARED_INTERMEDIATE_DIR)/blink/InputTypeNames.cpp',
487 '<(SHARED_INTERMEDIATE_DIR)/blink/InputTypeNames.h',
491 '../build/scripts/make_names.py',
492 'html/forms/InputTypeNames.in',
494 '<(SHARED_INTERMEDIATE_DIR)/blink',
498 'action_name': 'XLinkNames',
500 '<@(make_qualified_names_files)',
504 '<(SHARED_INTERMEDIATE_DIR)/blink/XLinkNames.cpp',
505 '<(SHARED_INTERMEDIATE_DIR)/blink/XLinkNames.h',
509 '../build/scripts/make_qualified_names.py',
512 '<(SHARED_INTERMEDIATE_DIR)/blink',
516 'action_name': 'XMLNSNames',
518 '<@(make_qualified_names_files)',
522 '<(SHARED_INTERMEDIATE_DIR)/blink/XMLNSNames.cpp',
523 '<(SHARED_INTERMEDIATE_DIR)/blink/XMLNSNames.h',
527 '../build/scripts/make_qualified_names.py',
530 '<(SHARED_INTERMEDIATE_DIR)/blink',
534 'action_name': 'XMLNames',
536 '<@(make_qualified_names_files)',
540 '<(SHARED_INTERMEDIATE_DIR)/blink/XMLNames.cpp',
541 '<(SHARED_INTERMEDIATE_DIR)/blink/XMLNames.h',
545 '../build/scripts/make_qualified_names.py',
548 '<(SHARED_INTERMEDIATE_DIR)/blink',
552 'action_name': 'MakeTokenMatcher',
554 '<@(scripts_for_in_files)',
555 '../build/scripts/make_token_matcher.py',
556 '../core/css/CSSTokenizer-in.cpp',
559 '<(SHARED_INTERMEDIATE_DIR)/blink/CSSTokenizer.cpp',
563 '../build/scripts/make_token_matcher.py',
564 '../core/css/CSSTokenizer-in.cpp',
565 '<(SHARED_INTERMEDIATE_DIR)/blink/CSSTokenizer.cpp',
569 'action_name': 'MakeParser',
571 '<@(scripts_for_in_files)',
572 '../build/scripts/make_token_matcher.py',
573 '../core/css/parser/BisonCSSParser-in.cpp',
576 '<(SHARED_INTERMEDIATE_DIR)/blink/BisonCSSParser.cpp',
580 '../build/scripts/make_token_matcher.py',
581 '../core/css/parser/BisonCSSParser-in.cpp',
582 '<(SHARED_INTERMEDIATE_DIR)/blink/BisonCSSParser.cpp',
586 'action_name': 'MakeTokenMatcherForViewport',
588 '<@(scripts_for_in_files)',
589 '../build/scripts/make_token_matcher.py',
590 '../core/html/HTMLMetaElement-in.cpp',
593 '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLMetaElement.cpp',
597 '../build/scripts/make_token_matcher.py',
598 '../core/html/HTMLMetaElement-in.cpp',
599 '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLMetaElement.cpp',
603 'action_name': 'HTMLElementLookupTrie',
605 '<@(scripts_for_in_files)',
606 '../build/scripts/make_element_lookup_trie.py',
607 '../build/scripts/templates/ElementLookupTrie.cpp.tmpl',
608 '../build/scripts/templates/ElementLookupTrie.h.tmpl',
609 'html/HTMLTagNames.in',
612 '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLElementLookupTrie.cpp',
613 '<(SHARED_INTERMEDIATE_DIR)/blink/HTMLElementLookupTrie.h',
617 '../build/scripts/make_element_lookup_trie.py',
618 'html/HTMLTagNames.in',
620 '<(SHARED_INTERMEDIATE_DIR)/blink',
626 'rule_name': 'bison',
629 '<(SHARED_INTERMEDIATE_DIR)/blink/<(RULE_INPUT_ROOT).cpp',
630 '<(SHARED_INTERMEDIATE_DIR)/blink/<(RULE_INPUT_ROOT).h'
634 '../build/scripts/rule_bison.py',
635 '<(RULE_INPUT_PATH)',
636 '<(SHARED_INTERMEDIATE_DIR)/blink',