| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # Generate EventInterfaces.in, used by core/ but depends on modules/, | |
| 6 # hence placed in bindings/ to avoid direct core/ -> modules/ dependency. | |
| 7 | |
| 8 { | |
| 9 'includes': [ | |
| 10 'bindings.gypi', | |
| 11 '../core/core.gypi', | |
| 12 '../modules/modules.gypi', | |
| 13 ], | |
| 14 | |
| 15 'targets': [ | |
| 16 { | |
| 17 'target_name': 'core_bindings_generated', | |
| 18 'type': 'none', | |
| 19 'actions': [ | |
| 20 { | |
| 21 'action_name': 'event_interfaces', | |
| 22 'variables': { | |
| 23 'event_idl_files': [ | |
| 24 '<@(core_event_idl_files)', | |
| 25 '<@(modules_event_idl_files)', | |
| 26 ], | |
| 27 'event_idl_files_list': | |
| 28 '<|(event_idl_files_list.tmp <@(event_idl_files))', | |
| 29 }, | |
| 30 'inputs': [ | |
| 31 '../bindings/scripts/generate_event_interfaces.py', | |
| 32 '../bindings/scripts/utilities.py', | |
| 33 '<(event_idl_files_list)', | |
| 34 '<@(event_idl_files)', | |
| 35 ], | |
| 36 'outputs': [ | |
| 37 '<(blink_output_dir)/EventInterfaces.in', | |
| 38 ], | |
| 39 'action': [ | |
| 40 'python', | |
| 41 '../bindings/scripts/generate_event_interfaces.py', | |
| 42 '--event-idl-files-list', | |
| 43 '<(event_idl_files_list)', | |
| 44 '--event-interfaces-file', | |
| 45 '<(blink_output_dir)/EventInterfaces.in', | |
| 46 '--write-file-only-if-changed', | |
| 47 '<(write_file_only_if_changed)', | |
| 48 ], | |
| 49 }, | |
| 50 ], | |
| 51 }, | |
| 52 ], # targets | |
| 53 } | |
| OLD | NEW |