OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'includes': [ |
| 7 'bindings.gypi', |
| 8 # Do not depend on this, see http://crbug.com/358074 |
| 9 'modules/modules.gypi', |
| 10 'scripts/scripts.gypi', |
| 11 ], |
| 12 'dependencies': [ |
| 13 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', |
| 14 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', |
| 15 # FIXME: should be interfaces_info_core (w/o modules) |
| 16 # http://crbug.com/358074 |
| 17 '<(bindings_scripts_dir)/../modules/generated.gyp:interfaces_info', |
| 18 ], |
| 19 'rules': [{ |
| 20 'rule_name': 'idl_dictionary', |
| 21 'extension': 'idl', |
| 22 'msvs_external_rule': 1, |
| 23 'inputs': [ |
| 24 # Comments in Source/bindings/core/v8/generated.gypi describe why this |
| 25 # rule depend on these. |
| 26 '<@(idl_lexer_parser_files)', |
| 27 '<@(idl_compiler_files)', |
| 28 '<(bindings_scripts_output_dir)/lextab.py', |
| 29 '<(bindings_scripts_output_dir)/parsetab.pickle', |
| 30 '<(bindings_scripts_output_dir)/cached_jinja_templates.stamp', |
| 31 '<(bindings_dir)/IDLExtendedAttributes.txt', |
| 32 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 33 ], |
| 34 'outputs': [ |
| 35 '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).cpp', |
| 36 '<(SHARED_INTERMEDIATE_DIR)/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).h', |
| 37 ], |
| 38 'action': [ |
| 39 'python', |
| 40 '-S', # skip 'import site' to speed up startup |
| 41 '<(bindings_scripts_dir)/idl_compiler.py', |
| 42 '--cache-dir', |
| 43 '<(bindings_scripts_output_dir)', |
| 44 '--output-dir', |
| 45 '<(SHARED_INTERMEDIATE_DIR)/blink/', |
| 46 '--interfaces-info', |
| 47 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 48 '--write-file-only-if-changed', |
| 49 '<(write_file_only_if_changed)', |
| 50 '--generate-dictionary-impl', |
| 51 '<(RULE_INPUT_PATH)', |
| 52 ], |
| 53 'message': 'Generating dictionary impl from <(RULE_INPUT_PATH)', |
| 54 }], |
| 55 } |
OLD | NEW |