Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: Source/core/core.gyp/core_derived_sources.gyp

Issue 16357021: Move core.gyp up one directory to Source/core/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 '--condition=ENABLE(CALENDAR_PICKER) OR ENABLE(INPUT_TYPE_COLOR)',
495 '--out-h=<(SHARED_INTERMEDIATE_DIR)/webkit/PickerCommon.h',
496 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/webkit/PickerCommon.cpp',
497 '<@(_inputs)',
498 ],
499 },
500 {
501 'action_name': 'CalendarPicker',
502 'inputs': [
503 '../Resources/pagepopups/calendarPicker.css',
504 '../Resources/pagepopups/calendarPicker.js',
505 '../Resources/pagepopups/chromium/calendarPickerChromium.css',
506 '../Resources/pagepopups/chromium/pickerCommonChromium.css',
507 '../Resources/pagepopups/suggestionPicker.css',
508 '../Resources/pagepopups/suggestionPicker.js',
509 ],
510 'outputs': [
511 '<(SHARED_INTERMEDIATE_DIR)/webkit/CalendarPicker.h',
512 '<(SHARED_INTERMEDIATE_DIR)/webkit/CalendarPicker.cpp',
513 ],
514 'action': [
515 'python',
516 '../scripts/make-file-arrays.py',
517 '--condition=ENABLE(CALENDAR_PICKER)',
518 '--out-h=<(SHARED_INTERMEDIATE_DIR)/webkit/CalendarPicker.h',
519 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/webkit/CalendarPicker.cpp',
520 '<@(_inputs)',
521 ],
522 },
523 {
524 'action_name': 'ColorSuggestionPicker',
525 'inputs': [
526 '../Resources/pagepopups/colorSuggestionPicker.css',
527 '../Resources/pagepopups/colorSuggestionPicker.js',
528 ],
529 'outputs': [
530 '<(SHARED_INTERMEDIATE_DIR)/webkit/ColorSuggestionPicker.h',
531 '<(SHARED_INTERMEDIATE_DIR)/webkit/ColorSuggestionPicker.cpp',
532 ],
533 'action': [
534 'python',
535 '../scripts/make-file-arrays.py',
536 '--condition=ENABLE(INPUT_TYPE_COLOR)',
537 '--out-h=<(SHARED_INTERMEDIATE_DIR)/webkit/ColorSuggestionPicker.h',
538 '--out-cpp=<(SHARED_INTERMEDIATE_DIR)/webkit/ColorSuggestionPicker.c pp',
539 '<@(_inputs)',
540 ],
541 },
542 {
543 'action_name': 'XLinkNames',
544 'inputs': [
545 '../scripts/Hasher.pm',
546 '../scripts/StaticString.pm',
547 '../scripts/make_names.pl',
548 '../svg/xlinkattrs.in',
549 ],
550 'outputs': [
551 '<(SHARED_INTERMEDIATE_DIR)/webkit/XLinkNames.cpp',
552 '<(SHARED_INTERMEDIATE_DIR)/webkit/XLinkNames.h',
553 ],
554 'action': [
555 'python',
556 'scripts/action_makenames.py',
557 '<@(_outputs)',
558 '--',
559 '<@(_inputs)',
560 '--',
561 '--extraDefines', '<(feature_defines)'
562 ],
563 'msvs_cygwin_shell': 1,
564 },
565 {
566 'action_name': 'XMLNSNames',
567 'inputs': [
568 '../scripts/Hasher.pm',
569 '../scripts/StaticString.pm',
570 '../scripts/make_names.pl',
571 '../xml/xmlnsattrs.in',
572 ],
573 'outputs': [
574 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLNSNames.cpp',
575 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLNSNames.h',
576 ],
577 'action': [
578 'python',
579 'scripts/action_makenames.py',
580 '<@(_outputs)',
581 '--',
582 '<@(_inputs)',
583 '--',
584 '--extraDefines', '<(feature_defines)'
585 ],
586 'msvs_cygwin_shell': 1,
587 },
588 {
589 'action_name': 'XMLNames',
590 'inputs': [
591 '../scripts/Hasher.pm',
592 '../scripts/StaticString.pm',
593 '../scripts/make_names.pl',
594 '../xml/xmlattrs.in',
595 ],
596 'outputs': [
597 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLNames.cpp',
598 '<(SHARED_INTERMEDIATE_DIR)/webkit/XMLNames.h',
599 ],
600 'action': [
601 'python',
602 'scripts/action_makenames.py',
603 '<@(_outputs)',
604 '--',
605 '<@(_inputs)',
606 '--',
607 '--extraDefines', '<(feature_defines)'
608 ],
609 'msvs_cygwin_shell': 1,
610 },
611 {
612 'action_name': 'preprocess_grammar',
613 'inputs': [
614 '../css/CSSGrammar.y.in',
615 '../css/CSSGrammar.y.includes',
616 ],
617 'outputs': [
618 '<(SHARED_INTERMEDIATE_DIR)/webkit/CSSGrammar.y',
619 ],
620 'action': [
621 '<(perl_exe)',
622 '-I../scripts',
623 '../css/makegrammar.pl',
624 '--outputDir',
625 '<(SHARED_INTERMEDIATE_DIR)/webkit/',
626 '--extraDefines',
627 '<(feature_defines)',
628 '--preprocessOnly',
629 '<@(preprocessor)',
630 '<@(_inputs)',
631 ],
632 },
633 ],
634 'rules': [
635 {
636 'rule_name': 'bison',
637 'extension': 'y',
638 'outputs': [
639 '<(SHARED_INTERMEDIATE_DIR)/webkit/<(RULE_INPUT_ROOT).cpp',
640 '<(SHARED_INTERMEDIATE_DIR)/webkit/<(RULE_INPUT_ROOT).h'
641 ],
642 'action': [
643 'python',
644 'scripts/rule_bison.py',
645 '<(RULE_INPUT_PATH)',
646 '<(SHARED_INTERMEDIATE_DIR)/webkit',
647 '<(bison_exe)',
648 ],
649 'msvs_cygwin_shell': 1,
650 },
651 {
652 'rule_name': 'gperf',
653 'extension': 'gperf',
654 'outputs': [
655 '<(SHARED_INTERMEDIATE_DIR)/webkit/<(RULE_INPUT_ROOT).cpp',
656 ],
657 'inputs': [
658 '../scripts/make-hash-tools.pl',
659 ],
660 'msvs_cygwin_shell': 0,
661 'action': [
662 '<(perl_exe)',
663 '../scripts/make-hash-tools.pl',
664 '<(SHARED_INTERMEDIATE_DIR)/webkit',
665 '<(RULE_INPUT_PATH)',
666 '<(gperf_exe)',
667 ],
668 },
669 ],
670 },
671 ],
672 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698