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 core, used to generate bindings | 5 # Generate IDL interfaces info for core, 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 '../bindings.gypi', | 11 '../bindings.gypi', |
12 '../scripts/scripts.gypi', | 12 '../scripts/scripts.gypi', |
| 13 'core.gypi', |
13 'idl.gypi', | 14 'idl.gypi', |
14 ], | 15 ], |
15 | 16 |
16 'targets': [ | 17 'targets': [ |
17 ################################################################################ | 18 ################################################################################ |
18 { | 19 { |
19 'target_name': 'interfaces_info_individual_core', | 20 'target_name': 'interfaces_info_individual_core', |
20 'type': 'none', | 21 'type': 'none', |
21 'dependencies': [ | 22 'dependencies': [ |
22 # FIXME: should be core_generated_idls | 23 # FIXME: should be core_generated_idls |
23 # http://crbug.com/358074 | 24 # http://crbug.com/358074 |
24 '../generated.gyp:generated_idls', | 25 '../generated.gyp:generated_idls', |
25 ], | 26 ], |
26 'actions': [{ | 27 'actions': [{ |
27 'action_name': 'compute_interfaces_info_individual_core', | 28 'action_name': 'compute_interfaces_info_individual_core', |
28 'inputs': [ | 29 'inputs': [ |
29 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', | 30 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', |
30 '<(bindings_scripts_dir)/utilities.py', | 31 '<(bindings_scripts_dir)/utilities.py', |
31 '<(core_static_idl_files_list)', | 32 '<(core_static_idl_files_list)', |
32 '<@(core_static_idl_files)', | 33 '<@(core_static_idl_files)', |
33 '<@(core_generated_idl_files)', | 34 '<@(core_generated_idl_files)', |
34 ], | 35 ], |
35 'outputs': [ | 36 'outputs': [ |
36 '<(blink_output_dir)/InterfacesInfoCoreIndividual.pickle', | 37 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
37 ], | 38 ], |
38 'action': [ | 39 'action': [ |
39 'python', | 40 'python', |
40 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', | 41 '<(bindings_scripts_dir)/compute_interfaces_info_individual.py', |
41 '--idl-files-list', | 42 '--idl-files-list', |
42 '<(core_static_idl_files_list)', | 43 '<(core_static_idl_files_list)', |
43 '--interfaces-info-file', | 44 '--interfaces-info-file', |
44 '<(blink_output_dir)/InterfacesInfoCoreIndividual.pickle', | 45 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
45 '--write-file-only-if-changed', | 46 '--write-file-only-if-changed', |
46 '<(write_file_only_if_changed)', | 47 '<(write_file_only_if_changed)', |
47 '--', | 48 '--', |
48 # Generated files must be passed at command line | 49 # Generated files must be passed at command line |
49 '<@(core_generated_idl_files)', | 50 '<@(core_generated_idl_files)', |
50 ], | 51 ], |
51 'message': 'Computing global information about individual IDL files', | 52 'message': 'Computing global information about individual IDL files', |
52 }] | 53 }] |
53 }, | 54 }, |
54 ################################################################################ | 55 ################################################################################ |
55 ], # targets | 56 ], # targets |
56 } | 57 } |
OLD | NEW |