| 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': [ |
| 11 # ../../.. == Source | 11 # ../../.. == Source |
| 12 '../../../bindings/bindings.gypi', | 12 '../../../bindings/bindings.gypi', |
| 13 '../../../bindings/modules/idl.gypi', | 13 '../../../bindings/modules/idl.gypi', |
| 14 '../../../bindings/modules/modules.gypi', | 14 '../../../bindings/modules/modules.gypi', |
| 15 '../../../bindings/scripts/scripts.gypi', | 15 '../../../bindings/scripts/scripts.gypi', |
| 16 # Need to know core idl files list to generate parital interfaces | 16 # Need to know core idl files list to generate parital interfaces |
| 17 # defined in modules. | 17 # defined in modules. |
| 18 '../../../core/core.gypi', | 18 '../../../core/core.gypi', |
| 19 '../../../modules/modules.gypi', | 19 '../../../modules/modules.gypi', |
| 20 'generated.gypi', | 20 'generated.gypi', |
| 21 ], | 21 ], |
| 22 | 22 |
| 23 'targets': [ | 23 'targets': [ |
| 24 ################################################################################ | 24 ################################################################################ |
| 25 { | 25 { |
| 26 'target_name': 'bindings_modules_v8_generated_individual', | 26 'target_name': 'bindings_modules_v8_generated_individual', |
| 27 'type': 'none', | 27 'type': 'none', |
| 28 # The 'binding' rule generates .h files, so mark as hard_dependency, per: | 28 # The 'binding' rule generates .h files, so mark as hard_dependency, per: |
| 29 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependenci
es | 29 # https://gyp.gsrc.io/docs/InputFormatReference.md#Linking-Dependencies |
| 30 'hard_dependency': 1, | 30 'hard_dependency': 1, |
| 31 'dependencies': [ | 31 'dependencies': [ |
| 32 '../../core/generated.gyp:core_global_constructors_idls', | 32 '../../core/generated.gyp:core_global_constructors_idls', |
| 33 '../generated.gyp:modules_global_constructors_idls', | 33 '../generated.gyp:modules_global_constructors_idls', |
| 34 '../generated.gyp:interfaces_info', | 34 '../generated.gyp:interfaces_info', |
| 35 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', | 35 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', |
| 36 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', | 36 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', |
| 37 ], | 37 ], |
| 38 'sources': [ | 38 'sources': [ |
| 39 '<@(modules_interface_idl_files)', | 39 '<@(modules_interface_idl_files)', |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 '<(modules_dictionary_idl_files_list)', | 165 '<(modules_dictionary_idl_files_list)', |
| 166 ], | 166 ], |
| 167 'message': 'Generating modules IDL dictionary impl classes', | 167 'message': 'Generating modules IDL dictionary impl classes', |
| 168 }], | 168 }], |
| 169 }, | 169 }, |
| 170 ################################################################################ | 170 ################################################################################ |
| 171 { | 171 { |
| 172 'target_name': 'bindings_modules_v8_generated_partial_individual', | 172 'target_name': 'bindings_modules_v8_generated_partial_individual', |
| 173 'type': 'none', | 173 'type': 'none', |
| 174 # The 'partial_binding' rule generates .h files, so mark as hard_dependency,
per: | 174 # The 'partial_binding' rule generates .h files, so mark as hard_dependency,
per: |
| 175 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependenci
es | 175 # https://gyp.gsrc.io/docs/InputFormatReference.md#Linking-Dependencies |
| 176 'hard_dependency': 1, | 176 'hard_dependency': 1, |
| 177 'dependencies': [ | 177 'dependencies': [ |
| 178 '../../core/generated.gyp:core_global_constructors_idls', | 178 '../../core/generated.gyp:core_global_constructors_idls', |
| 179 '../generated.gyp:modules_global_constructors_idls', | 179 '../generated.gyp:modules_global_constructors_idls', |
| 180 '../generated.gyp:interfaces_info', | 180 '../generated.gyp:interfaces_info', |
| 181 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', | 181 '<(bindings_scripts_dir)/scripts.gyp:cached_jinja_templates', |
| 182 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', | 182 '<(bindings_scripts_dir)/scripts.gyp:cached_lex_yacc_tables', |
| 183 ], | 183 ], |
| 184 # We need to generate partial interface code for normal modules and also for
testing. | 184 # We need to generate partial interface code for normal modules and also for
testing. |
| 185 # i.e. parital interface Internals. | 185 # i.e. parital interface Internals. |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 'bindings_modules_v8_generated_aggregate', | 298 'bindings_modules_v8_generated_aggregate', |
| 299 'bindings_modules_v8_generated_individual', | 299 'bindings_modules_v8_generated_individual', |
| 300 'bindings_modules_v8_generated_init_partial', | 300 'bindings_modules_v8_generated_init_partial', |
| 301 'bindings_modules_v8_generated_partial_aggregate', | 301 'bindings_modules_v8_generated_partial_aggregate', |
| 302 'bindings_modules_v8_generated_partial_individual', | 302 'bindings_modules_v8_generated_partial_individual', |
| 303 ], | 303 ], |
| 304 }, | 304 }, |
| 305 ################################################################################ | 305 ################################################################################ |
| 306 ], # targets | 306 ], # targets |
| 307 } | 307 } |
| OLD | NEW |