| 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 # ../.. == Source | 11 # ../.. == Source |
| 12 '../../bindings/core/core.gypi', | 12 '../../bindings/core/core.gypi', |
| 13 '../../bindings/scripts/scripts.gypi', | 13 '../../bindings/scripts/scripts.gypi', |
| 14 '../../build/scripts/scripts.gypi', # FIXME: Needed for event files, should
be in modules, not bindings_modules http://crbug.com/358074 | 14 '../../build/scripts/scripts.gypi', # FIXME: Needed for event files, should
be in modules, not bindings_modules http://crbug.com/358074 |
| 15 '../../modules/modules.gypi', | 15 '../../modules/modules.gypi', |
| 16 'generated.gypi', | 16 'generated.gypi', |
| 17 'idl.gypi', | 17 'idl.gypi', |
| 18 'modules.gypi', | 18 'modules.gypi', |
| 19 ], | 19 ], |
| 20 | 20 |
| 21 'targets': [ | 21 'targets': [ |
| 22 ################################################################################ | 22 ################################################################################ |
| 23 { | 23 { |
| 24 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modules_
generated |
| 24 # FIXME: Should be in modules, not bindings_modules http://crbug.com/358074 | 25 # FIXME: Should be in modules, not bindings_modules http://crbug.com/358074 |
| 25 'target_name': 'modules_event_generated', | 26 'target_name': 'modules_event_generated', |
| 26 'type': 'none', | 27 'type': 'none', |
| 27 'actions': [ | 28 'actions': [ |
| 28 { | 29 { |
| 30 # GN version: //third_party/WebKit/Source/bindings/modules:modules_bindi
ngs_generated_event_interfaces |
| 29 'action_name': 'event_interfaces', | 31 'action_name': 'event_interfaces', |
| 30 'variables': { | 32 'variables': { |
| 31 'event_idl_files': [ | 33 'event_idl_files': [ |
| 32 '<@(modules_event_idl_files)', | 34 '<@(modules_event_idl_files)', |
| 33 ], | 35 ], |
| 34 'event_idl_files_list': | 36 'event_idl_files_list': |
| 35 '<|(event_idl_files_list.tmp <@(event_idl_files))', | 37 '<|(event_idl_files_list.tmp <@(event_idl_files))', |
| 36 }, | 38 }, |
| 37 'inputs': [ | 39 'inputs': [ |
| 38 '<(bindings_scripts_dir)/generate_event_interfaces.py', | 40 '<(bindings_scripts_dir)/generate_event_interfaces.py', |
| (...skipping 11 matching lines...) Expand all Loading... |
| 50 '<(event_idl_files_list)', | 52 '<(event_idl_files_list)', |
| 51 '--event-interfaces-file', | 53 '--event-interfaces-file', |
| 52 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 54 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
| 53 '--write-file-only-if-changed', | 55 '--write-file-only-if-changed', |
| 54 '<(write_file_only_if_changed)', | 56 '<(write_file_only_if_changed)', |
| 55 '--suffix', | 57 '--suffix', |
| 56 'Modules', | 58 'Modules', |
| 57 ], | 59 ], |
| 58 }, | 60 }, |
| 59 { | 61 { |
| 62 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modu
les_generated_event_modules_factory |
| 60 'action_name': 'EventModulesFactory', | 63 'action_name': 'EventModulesFactory', |
| 61 'inputs': [ | 64 'inputs': [ |
| 62 '<@(make_event_factory_files)', | 65 '<@(make_event_factory_files)', |
| 63 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 66 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
| 64 ], | 67 ], |
| 65 'outputs': [ | 68 'outputs': [ |
| 66 '<(blink_modules_output_dir)/EventModules.cpp', | 69 '<(blink_modules_output_dir)/EventModules.cpp', |
| 67 '<(blink_modules_output_dir)/EventModulesHeaders.h', | 70 '<(blink_modules_output_dir)/EventModulesHeaders.h', |
| 68 '<(blink_modules_output_dir)/EventModulesInterfaces.h', | 71 '<(blink_modules_output_dir)/EventModulesInterfaces.h', |
| 69 ], | 72 ], |
| 70 'action': [ | 73 'action': [ |
| 71 'python', | 74 'python', |
| 72 '../../build/scripts/make_event_factory.py', | 75 '../../build/scripts/make_event_factory.py', |
| 73 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 76 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
| 74 '--output_dir', | 77 '--output_dir', |
| 75 '<(blink_modules_output_dir)', | 78 '<(blink_modules_output_dir)', |
| 76 ], | 79 ], |
| 77 }, | 80 }, |
| 78 { | 81 { |
| 82 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modu
les_generated_event_modules_names |
| 79 'action_name': 'EventModulesNames', | 83 'action_name': 'EventModulesNames', |
| 80 'inputs': [ | 84 'inputs': [ |
| 81 '<@(make_names_files)', | 85 '<@(make_names_files)', |
| 82 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 86 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
| 83 ], | 87 ], |
| 84 'outputs': [ | 88 'outputs': [ |
| 85 '<(blink_modules_output_dir)/EventModulesNames.cpp', | 89 '<(blink_modules_output_dir)/EventModulesNames.cpp', |
| 86 '<(blink_modules_output_dir)/EventModulesNames.h', | 90 '<(blink_modules_output_dir)/EventModulesNames.h', |
| 87 ], | 91 ], |
| 88 'action': [ | 92 'action': [ |
| 89 'python', | 93 'python', |
| 90 '../../build/scripts/make_names.py', | 94 '../../build/scripts/make_names.py', |
| 91 '<(blink_modules_output_dir)/EventModulesInterfaces.in', | 95 '<(blink_modules_output_dir)/EventModulesInterfaces.in', |
| 92 '--output_dir', | 96 '--output_dir', |
| 93 '<(blink_modules_output_dir)', | 97 '<(blink_modules_output_dir)', |
| 94 ], | 98 ], |
| 95 }, | 99 }, |
| 96 { | 100 { |
| 101 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modu
les_generated_event_target_modules_factory |
| 97 'action_name': 'EventTargetModulesFactory', | 102 'action_name': 'EventTargetModulesFactory', |
| 98 'inputs': [ | 103 'inputs': [ |
| 99 '<@(make_event_factory_files)', | 104 '<@(make_event_factory_files)', |
| 100 '../../modules/EventTargetModulesFactory.in', | 105 '../../modules/EventTargetModulesFactory.in', |
| 101 ], | 106 ], |
| 102 'outputs': [ | 107 'outputs': [ |
| 103 '<(blink_modules_output_dir)/EventTargetModulesHeaders.h', | 108 '<(blink_modules_output_dir)/EventTargetModulesHeaders.h', |
| 104 '<(blink_modules_output_dir)/EventTargetModulesInterfaces.h', | 109 '<(blink_modules_output_dir)/EventTargetModulesInterfaces.h', |
| 105 ], | 110 ], |
| 106 'action': [ | 111 'action': [ |
| 107 'python', | 112 'python', |
| 108 '../../build/scripts/make_event_factory.py', | 113 '../../build/scripts/make_event_factory.py', |
| 109 '../../modules/EventTargetModulesFactory.in', | 114 '../../modules/EventTargetModulesFactory.in', |
| 110 '--output_dir', | 115 '--output_dir', |
| 111 '<(blink_modules_output_dir)', | 116 '<(blink_modules_output_dir)', |
| 112 ], | 117 ], |
| 113 }, | 118 }, |
| 114 { | 119 { |
| 120 # GN version: //third_party/WebKit/Source/bindings/modules:bindings_modu
les_generated_event_target_modules_names |
| 115 'action_name': 'EventTargetModulesNames', | 121 'action_name': 'EventTargetModulesNames', |
| 116 'inputs': [ | 122 'inputs': [ |
| 117 '<@(make_names_files)', | 123 '<@(make_names_files)', |
| 118 '../../modules/EventTargetModulesFactory.in', | 124 '../../modules/EventTargetModulesFactory.in', |
| 119 ], | 125 ], |
| 120 'outputs': [ | 126 'outputs': [ |
| 121 '<(blink_modules_output_dir)/EventTargetModulesNames.cpp', | 127 '<(blink_modules_output_dir)/EventTargetModulesNames.cpp', |
| 122 '<(blink_modules_output_dir)/EventTargetModulesNames.h', | 128 '<(blink_modules_output_dir)/EventTargetModulesNames.h', |
| 123 ], | 129 ], |
| 124 'action': [ | 130 'action': [ |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 '<(write_file_only_if_changed)', | 236 '<(write_file_only_if_changed)', |
| 231 '--', | 237 '--', |
| 232 # Generated files must be passed at command line | 238 # Generated files must be passed at command line |
| 233 '<@(modules_generated_idl_files)', | 239 '<@(modules_generated_idl_files)', |
| 234 ], | 240 ], |
| 235 'message': 'Computing global information about individual IDL files', | 241 'message': 'Computing global information about individual IDL files', |
| 236 }] | 242 }] |
| 237 }, | 243 }, |
| 238 ################################################################################ | 244 ################################################################################ |
| 239 { | 245 { |
| 246 # GN version: //third_party/WebKit/Source/bindings/modules:interfaces_info |
| 240 'target_name': 'interfaces_info', | 247 'target_name': 'interfaces_info', |
| 241 'type': 'none', | 248 'type': 'none', |
| 242 'dependencies': [ | 249 'dependencies': [ |
| 243 '../core/generated.gyp:interfaces_info_individual_core', | 250 '../core/generated.gyp:interfaces_info_individual_core', |
| 244 'interfaces_info_individual_modules', | 251 'interfaces_info_individual_modules', |
| 245 ], | 252 ], |
| 246 'actions': [{ | 253 'actions': [{ |
| 247 'action_name': 'compute_interfaces_info_overall', | 254 'action_name': 'compute_interfaces_info_overall', |
| 248 'inputs': [ | 255 'inputs': [ |
| 249 '<(bindings_scripts_dir)/compute_interfaces_info_overall.py', | 256 '<(bindings_scripts_dir)/compute_interfaces_info_overall.py', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 262 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', | 269 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
| 263 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', | 270 '<(bindings_modules_output_dir)/InterfacesInfoModulesIndividual.pickle', |
| 264 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 271 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
| 265 ], | 272 ], |
| 266 'message': 'Computing overall global information about IDL files', | 273 'message': 'Computing overall global information about IDL files', |
| 267 }] | 274 }] |
| 268 }, | 275 }, |
| 269 ################################################################################ | 276 ################################################################################ |
| 270 ], # targets | 277 ], # targets |
| 271 } | 278 } |
| OLD | NEW |