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)', |
| 34 ], |
| 35 'outputs': [ |
| 36 '<(blink_output_dir)/EventInterfaces.in', |
| 37 ], |
| 38 'action': [ |
| 39 'python', |
| 40 '../bindings/scripts/generate_event_interfaces.py', |
| 41 '--event-idl-files-list', |
| 42 '<(event_idl_files_list)', |
| 43 '--event-interfaces-file', |
| 44 '<(blink_output_dir)/EventInterfaces.in', |
| 45 '--write-file-only-if-changed', |
| 46 '<(write_file_only_if_changed)', |
| 47 ], |
| 48 }, |
| 49 ], |
| 50 }, |
| 51 ], # targets |
| 52 } |
OLD | NEW |