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 '../../build/scripts/scripts.gypi', | |
| 11 '../bindings.gypi', | 12 '../bindings.gypi', |
| 12 '../core/core.gypi', | 13 '../core/core.gypi', |
| 13 '../scripts/scripts.gypi', | 14 '../scripts/scripts.gypi', |
| 14 'idl.gypi', | 15 'idl.gypi', |
| 15 'modules.gypi', | 16 'modules.gypi', |
| 16 ], | 17 ], |
| 17 | 18 |
| 18 'targets': [ | 19 'targets': [ |
| 19 ################################################################################ | 20 ################################################################################ |
| 20 { | 21 { |
| 22 'target_name': 'modules_bindings_generated', | |
|
Nils Barth (inactive)
2014/06/02 02:02:09
Could you rename this to
bindings_modules_generate
c.shu
2014/06/02 15:48:17
Done.
| |
| 23 'type': 'none', | |
| 24 'actions': [ | |
| 25 { | |
| 26 'action_name': 'event_interfaces', | |
| 27 'variables': { | |
| 28 'event_idl_files': [ | |
| 29 '<@(modules_event_idl_files)', | |
| 30 ], | |
| 31 'event_idl_files_list': | |
| 32 '<|(event_idl_files_list.tmp <@(event_idl_files))', | |
| 33 }, | |
| 34 'inputs': [ | |
| 35 '../scripts/generate_event_interfaces.py', | |
|
Nils Barth (inactive)
2014/06/02 02:02:09
Could you use:
<(bindings_scripts_dir)
...instead
c.shu
2014/06/02 15:48:17
Done.
| |
| 36 '../scripts/utilities.py', | |
| 37 '<(event_idl_files_list)', | |
| 38 '<@(event_idl_files)', | |
| 39 ], | |
| 40 'outputs': [ | |
| 41 '<(blink_output_dir)/EventModulesInterfaces.in', | |
| 42 ], | |
| 43 'action': [ | |
| 44 'python', | |
| 45 '../scripts/generate_event_interfaces.py', | |
| 46 '--event-idl-files-list', | |
| 47 '<(event_idl_files_list)', | |
| 48 '--event-interfaces-file', | |
| 49 '<(blink_output_dir)/EventModulesInterfaces.in', | |
| 50 '--write-file-only-if-changed', | |
| 51 '<(write_file_only_if_changed)', | |
| 52 '--suffix', | |
| 53 'Modules', | |
| 54 ], | |
| 55 }, | |
| 56 { | |
| 57 'action_name': 'EventModulesFactory', | |
| 58 'inputs': [ | |
| 59 '<@(make_event_factory_files)', | |
| 60 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', | |
| 61 ], | |
| 62 'outputs': [ | |
| 63 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModules.cpp', | |
| 64 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesHeaders.h', | |
| 65 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.h', | |
| 66 ], | |
| 67 'action': [ | |
| 68 'python', | |
| 69 '../../build/scripts/make_event_factory.py', | |
| 70 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', | |
| 71 '--output_dir', | |
| 72 '<(SHARED_INTERMEDIATE_DIR)/blink', | |
| 73 ], | |
| 74 }, | |
| 75 { | |
| 76 'action_name': 'EventModulesNames', | |
| 77 'inputs': [ | |
| 78 '<@(make_names_files)', | |
| 79 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', | |
| 80 ], | |
| 81 'outputs': [ | |
| 82 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesNames.cpp', | |
| 83 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesNames.h', | |
| 84 ], | |
| 85 'action': [ | |
| 86 'python', | |
| 87 '../../build/scripts/make_names.py', | |
| 88 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', | |
| 89 '--output_dir', | |
| 90 '<(SHARED_INTERMEDIATE_DIR)/blink', | |
| 91 ], | |
| 92 }, | |
| 93 { | |
| 94 'action_name': 'EventTargetModulesFactory', | |
| 95 'inputs': [ | |
| 96 '<@(make_event_factory_files)', | |
| 97 '../../modules/EventTargetModulesFactory.in', | |
| 98 ], | |
| 99 'outputs': [ | |
| 100 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesHeaders.h', | |
| 101 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesInterfaces.h', | |
| 102 ], | |
| 103 'action': [ | |
| 104 'python', | |
| 105 '../../build/scripts/make_event_factory.py', | |
| 106 '../../modules/EventTargetModulesFactory.in', | |
| 107 '--output_dir', | |
| 108 '<(SHARED_INTERMEDIATE_DIR)/blink', | |
| 109 ], | |
| 110 }, | |
| 111 { | |
| 112 'action_name': 'EventTargetModulesNames', | |
| 113 'inputs': [ | |
| 114 '<@(make_names_files)', | |
| 115 '../../modules/EventTargetModulesFactory.in', | |
| 116 ], | |
| 117 'outputs': [ | |
| 118 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesNames.cpp', | |
| 119 '<(SHARED_INTERMEDIATE_DIR)/blink/EventTargetModulesNames.h', | |
| 120 ], | |
| 121 'action': [ | |
| 122 'python', | |
| 123 '../../build/scripts/make_names.py', | |
| 124 '../../modules/EventTargetModulesFactory.in', | |
| 125 '--output_dir', | |
| 126 '<(SHARED_INTERMEDIATE_DIR)/blink', | |
| 127 ], | |
| 128 }, | |
| 129 ], | |
| 130 }, | |
| 131 { | |
| 21 'target_name': 'interfaces_info_individual_modules', | 132 'target_name': 'interfaces_info_individual_modules', |
| 22 'type': 'none', | 133 'type': 'none', |
| 23 'dependencies': [ | 134 'dependencies': [ |
| 24 # FIXME: should be modules_generated_idls | 135 # FIXME: should be modules_generated_idls |
| 25 # http://crbug.com/358074 | 136 # http://crbug.com/358074 |
| 26 '../generated.gyp:generated_idls', | 137 '../generated.gyp:generated_idls', |
| 27 ], | 138 ], |
| 28 'actions': [{ | 139 'actions': [{ |
| 29 'action_name': 'compute_interfaces_info_individual_modules', | 140 'action_name': 'compute_interfaces_info_individual_modules', |
| 30 'inputs': [ | 141 'inputs': [ |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', | 195 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
| 85 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', | 196 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
| 86 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 197 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 87 ], | 198 ], |
| 88 'message': 'Computing overall global information about IDL files', | 199 'message': 'Computing overall global information about IDL files', |
| 89 }] | 200 }] |
| 90 }, | 201 }, |
| 91 ################################################################################ | 202 ################################################################################ |
| 92 ], # targets | 203 ], # targets |
| 93 } | 204 } |
| OLD | NEW |