| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 'action_name': 'compute_interfaces_info', | 228 'action_name': 'compute_interfaces_info', |
| 229 'inputs': [ | 229 'inputs': [ |
| 230 'scripts/compute_interfaces_info.py', | 230 'scripts/compute_interfaces_info.py', |
| 231 'scripts/utilities.py', | 231 'scripts/utilities.py', |
| 232 '<(static_idl_files_list)', | 232 '<(static_idl_files_list)', |
| 233 '<@(static_idl_files)', | 233 '<@(static_idl_files)', |
| 234 '<@(generated_idl_files)', | 234 '<@(generated_idl_files)', |
| 235 ], | 235 ], |
| 236 'outputs': [ | 236 'outputs': [ |
| 237 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle', | 237 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle', |
| 238 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', | |
| 239 ], | 238 ], |
| 240 'action': [ | 239 'action': [ |
| 241 'python', | 240 'python', |
| 242 'scripts/compute_interfaces_info.py', | 241 'scripts/compute_interfaces_info.py', |
| 243 '--idl-files-list', | 242 '--idl-files-list', |
| 244 '<(static_idl_files_list)', | 243 '<(static_idl_files_list)', |
| 245 '--interfaces-info-file', | 244 '--interfaces-info-file', |
| 246 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle', | 245 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle', |
| 246 '<@(write_file_only_if_changed)', |
| 247 '--', |
| 248 # Generated files must be passed at command line |
| 249 '<@(generated_idl_files)', |
| 250 ], |
| 251 'message': 'Computing global information about IDL files', |
| 252 }] |
| 253 }, |
| 254 ################################################################################ |
| 255 { |
| 256 'target_name': 'event_interfaces', |
| 257 'type': 'none', |
| 258 'dependencies': [ |
| 259 'interfaces_info', |
| 260 ], |
| 261 'actions': [{ |
| 262 'action_name': 'generate_event_interfaces', |
| 263 'inputs': [ |
| 264 'scripts/generate_event_interfaces.py', |
| 265 'scripts/utilities.py', |
| 266 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle', |
| 267 ], |
| 268 'outputs': [ |
| 269 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', |
| 270 ], |
| 271 'action': [ |
| 272 'python', |
| 273 'scripts/generate_event_interfaces.py', |
| 274 '--interfaces-info-file', |
| 275 '<(SHARED_INTERMEDIATE_DIR)/blink/InterfacesInfo.pickle', |
| 247 '--event-names-file', | 276 '--event-names-file', |
| 248 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', | 277 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', |
| 249 '<@(write_file_only_if_changed)', | 278 '<@(write_file_only_if_changed)', |
| 250 '--', | |
| 251 # Generated files must be passed at command line | |
| 252 '<@(generated_idl_files)', | |
| 253 ], | 279 ], |
| 254 'message': 'Computing global information about IDL files, and generating l
ist of Event interfaces', | 280 'message': 'Generating list of Event interfaces', |
| 255 }] | 281 }] |
| 256 }, | 282 }, |
| 257 ################################################################################ | 283 ################################################################################ |
| 258 { | 284 { |
| 259 # A separate pre-caching step is *required* to use bytecode caching in | 285 # A separate pre-caching step is *required* to use bytecode caching in |
| 260 # Jinja (which improves speed significantly), as the bytecode cache is | 286 # Jinja (which improves speed significantly), as the bytecode cache is |
| 261 # not concurrency-safe on write; details in code_generator_v8.py. | 287 # not concurrency-safe on write; details in code_generator_v8.py. |
| 262 'target_name': 'cached_jinja_templates', | 288 'target_name': 'cached_jinja_templates', |
| 263 'type': 'none', | 289 'type': 'none', |
| 264 'actions': [{ | 290 'actions': [{ |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 ], | 388 ], |
| 363 'message': 'Generating aggregate generated bindings files', | 389 'message': 'Generating aggregate generated bindings files', |
| 364 }], | 390 }], |
| 365 }, | 391 }, |
| 366 ################################################################################ | 392 ################################################################################ |
| 367 { | 393 { |
| 368 'target_name': 'generated_bindings', | 394 'target_name': 'generated_bindings', |
| 369 'type': 'none', | 395 'type': 'none', |
| 370 'dependencies': [ | 396 'dependencies': [ |
| 371 'aggregate_generated_bindings', | 397 'aggregate_generated_bindings', |
| 398 'event_interfaces', |
| 372 'individual_generated_bindings', | 399 'individual_generated_bindings', |
| 373 ], | 400 ], |
| 374 }, | 401 }, |
| 375 ################################################################################ | 402 ################################################################################ |
| 376 ], # targets | 403 ], # targets |
| 377 } | 404 } |
| OLD | NEW |