OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Generate IDL bindings for modules, plus aggregate bindings files. | 5 # Generate IDL bindings for modules, plus aggregate bindings files. |
6 # | 6 # |
7 # Design doc: http://www.chromium.org/developers/design-documents/idl-build | 7 # Design doc: http://www.chromium.org/developers/design-documents/idl-build |
8 | 8 |
9 { | 9 { |
10 'includes': [ | 10 'includes': [ |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 'modules', | 99 'modules', |
100 '<(modules_idl_files_list)', | 100 '<(modules_idl_files_list)', |
101 '--', | 101 '--', |
102 '<@(bindings_modules_v8_generated_aggregate_files)', | 102 '<@(bindings_modules_v8_generated_aggregate_files)', |
103 ], | 103 ], |
104 'message': 'Generating aggregate generated modules V8 bindings files', | 104 'message': 'Generating aggregate generated modules V8 bindings files', |
105 }], | 105 }], |
106 }, | 106 }, |
107 ################################################################################ | 107 ################################################################################ |
108 { | 108 { |
| 109 # GN version: //third_party/WebKit/Source/bindings/modules/v8:bindings_modul
es_dictionary_impl_generated |
| 110 # http://crbug.com/358074; See comments on |
| 111 # 'bindings_core_v8_generated_individual' target |
| 112 'target_name': 'bindings_modules_dictionary_impl_generated', |
| 113 'type': 'none', |
| 114 'hard_dependency': 1, |
| 115 'dependencies': [ |
| 116 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', |
| 117 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', |
| 118 '../../modules/generated.gyp:interfaces_info', |
| 119 ], |
| 120 'sources': [ |
| 121 '<@(modules_dictionary_idl_files)', |
| 122 ], |
| 123 'actions': [{ |
| 124 'action_name': 'idl_dictionary', |
| 125 # See comment on bindings_core_dictionary_impl_generated |
| 126 'explicit_idl_action': 1, |
| 127 'msvs_cygwin_shell': 0, |
| 128 'inputs': [ |
| 129 '<@(modules_dictionary_idl_files)', |
| 130 '<@(idl_lexer_parser_files)', |
| 131 '<@(idl_cache_files)', |
| 132 '<@(idl_compiler_files)', |
| 133 '<(bindings_dir)/IDLExtendedAttributes.txt', |
| 134 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 135 ], |
| 136 'outputs': [ |
| 137 '<@(generated_modules_dictionary_files)', |
| 138 ], |
| 139 'action': [ |
| 140 'python', |
| 141 '<(bindings_scripts_dir)/idl_compiler.py', |
| 142 '--cache-dir', |
| 143 '<(bindings_scripts_output_dir)', |
| 144 '--output-dir', |
| 145 '<(SHARED_INTERMEDIATE_DIR)/blink/', |
| 146 '--interfaces-info', |
| 147 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 148 '--write-file-only-if-changed', |
| 149 '<(write_file_only_if_changed)', |
| 150 '--generate-dictionary-impl', |
| 151 '<(modules_dictionary_idl_files_list)', |
| 152 ], |
| 153 'message': 'Generating modules IDL dictionary impl classes', |
| 154 }], |
| 155 }, |
| 156 ################################################################################ |
| 157 { |
109 'target_name': 'bindings_modules_v8_generated', | 158 'target_name': 'bindings_modules_v8_generated', |
110 'type': 'none', | 159 'type': 'none', |
111 'dependencies': [ | 160 'dependencies': [ |
| 161 'bindings_modules_dictionary_impl_generated', |
112 'bindings_modules_v8_generated_aggregate', | 162 'bindings_modules_v8_generated_aggregate', |
113 'bindings_modules_v8_generated_individual', | 163 'bindings_modules_v8_generated_individual', |
114 ], | 164 ], |
115 }, | 165 }, |
116 ################################################################################ | 166 ################################################################################ |
117 ], # targets | 167 ], # targets |
118 } | 168 } |
OLD | NEW |