Chromium Code Reviews| 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 interfaces info for modules, used to generate bindings | 5 # Generate IDL interfaces info for modules, used to generate bindings |
| 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 '../../modules/modules.gypi', | |
| 11 '../bindings.gypi', | 12 '../bindings.gypi', |
| 12 '../core/core.gypi', | 13 '../core/core.gypi', |
| 14 '../core/generated.gypi', | |
| 13 '../scripts/scripts.gypi', | 15 '../scripts/scripts.gypi', |
| 14 'idl.gypi', | 16 'idl.gypi', |
| 15 'modules.gypi', | 17 'modules.gypi', |
|
haraken
2014/06/02 15:45:14
Why doesn't this depend on 'generated.gypi' ?
Nils Barth (inactive)
2014/06/03 01:47:50
Good catch!
Because the modules generated files ar
| |
| 16 ], | 18 ], |
| 17 | 19 |
| 18 'targets': [ | 20 'targets': [ |
| 19 ################################################################################ | 21 ################################################################################ |
| 20 { | 22 { |
| 21 'target_name': 'interfaces_info_individual_modules', | 23 'target_name': 'interfaces_info_individual_modules', |
| 22 'type': 'none', | 24 'type': 'none', |
| 23 'dependencies': [ | 25 'dependencies': [ |
| 24 # FIXME: should be modules_generated_idls | 26 # FIXME: should be defined in this file |
| 25 # http://crbug.com/358074 | 27 '../core/generated.gyp:modules_global_constructors_idls', |
| 26 '../generated.gyp:generated_idls', | |
| 27 ], | 28 ], |
| 28 'actions': [{ | 29 'actions': [{ |
| 29 'action_name': 'compute_interfaces_info_individual_modules', | 30 'action_name': 'compute_interfaces_info_individual_modules', |
| 30 'inputs': [ | 31 'inputs': [ |
| 31 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', | 32 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', |
| 32 '<(bindings_scripts_dir)/utilities.py', | 33 '<(bindings_scripts_dir)/utilities.py', |
| 33 '<(modules_static_idl_files_list)', | 34 '<(modules_static_idl_files_list)', |
| 34 '<@(modules_static_idl_files)', | 35 '<@(modules_static_idl_files)', |
| 35 # No generated files currently, will add with constructors | 36 '<@(modules_generated_idl_files)', |
| 36 # '<@(modules_generated_idl_files)', | |
| 37 ], | 37 ], |
| 38 'outputs': [ | 38 'outputs': [ |
| 39 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', | 39 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
| 40 ], | 40 ], |
| 41 'action': [ | 41 'action': [ |
| 42 'python', | 42 'python', |
| 43 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', | 43 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', |
| 44 '--component-dir', | 44 '--component-dir', |
| 45 'modules', | 45 'modules', |
| 46 '--idl-files-list', | 46 '--idl-files-list', |
| 47 '<(modules_static_idl_files_list)', | 47 '<(modules_static_idl_files_list)', |
| 48 '--interfaces-info-file', | 48 '--interfaces-info-file', |
| 49 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', | 49 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
| 50 '--write-file-only-if-changed', | 50 '--write-file-only-if-changed', |
| 51 '<(write_file_only_if_changed)', | 51 '<(write_file_only_if_changed)', |
| 52 # No generated files currently, will add with constructors | 52 '--', |
| 53 # '--', | |
| 54 # Generated files must be passed at command line | 53 # Generated files must be passed at command line |
| 55 # '<@(modules_generated_idl_files)', | 54 '<@(modules_generated_idl_files)', |
| 56 ], | 55 ], |
| 57 'message': 'Computing global information about individual IDL files', | 56 'message': 'Computing global information about individual IDL files', |
| 58 }] | 57 }] |
| 59 }, | 58 }, |
| 60 ################################################################################ | 59 ################################################################################ |
| 61 { | 60 { |
| 62 'target_name': 'interfaces_info', | 61 'target_name': 'interfaces_info', |
| 63 'type': 'none', | 62 'type': 'none', |
| 64 'dependencies': [ | 63 'dependencies': [ |
| 65 '../core/generated.gyp:interfaces_info_individual_core', | 64 '../core/generated.gyp:interfaces_info_individual_core', |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 84 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', | 83 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
| 85 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', | 84 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
| 86 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 85 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 87 ], | 86 ], |
| 88 'message': 'Computing overall global information about IDL files', | 87 'message': 'Computing overall global information about IDL files', |
| 89 }] | 88 }] |
| 90 }, | 89 }, |
| 91 ################################################################################ | 90 ################################################################################ |
| 92 ], # targets | 91 ], # targets |
| 93 } | 92 } |
| OLD | NEW |