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 # ../.. == Source | 11 # ../.. == Source |
12 '../../bindings/scripts/scripts.gypi', | 12 '../../bindings/scripts/scripts.gypi', |
13 '../../core/core.gypi', | 13 '../../core/core.gypi', |
14 'core.gypi', | 14 'core.gypi', |
15 'generated.gypi', | 15 'generated.gypi', |
16 'idl.gypi', | 16 'idl.gypi', |
17 ], | 17 ], |
18 | 18 |
19 'targets': [ | 19 'targets': [ |
20 ################################################################################ | 20 ################################################################################ |
21 { | 21 { |
22 'target_name': 'core_global_objects', | 22 'target_name': 'core_global_objects', |
23 'variables': { | 23 'variables': { |
24 'idl_files': '<(core_idl_files)', | 24 'idl_files': [ |
| 25 '<@(core_idl_files)', |
| 26 '<@(core_idl_with_modules_dependency_files)', |
| 27 ], |
25 'output_file': '<(bindings_core_output_dir)/GlobalObjectsCore.pickle', | 28 'output_file': '<(bindings_core_output_dir)/GlobalObjectsCore.pickle', |
26 }, | 29 }, |
27 'includes': ['../../bindings/scripts/global_objects.gypi'], | 30 'includes': ['../../bindings/scripts/global_objects.gypi'], |
28 }, | 31 }, |
29 ################################################################################ | 32 ################################################################################ |
30 { | 33 { |
31 'target_name': 'core_global_constructors_idls', | 34 'target_name': 'core_global_constructors_idls', |
32 'dependencies': [ | 35 'dependencies': [ |
33 'core_global_objects', | 36 'core_global_objects', |
34 ], | 37 ], |
35 'variables': { | 38 'variables': { |
36 'idl_files': '<(core_idl_files)', | 39 'idl_files': [ |
| 40 '<@(core_idl_files)', |
| 41 '<@(core_idl_with_modules_dependency_files)', |
| 42 ], |
37 'global_objects_file': | 43 'global_objects_file': |
38 '<(bindings_core_output_dir)/GlobalObjectsCore.pickle', | 44 '<(bindings_core_output_dir)/GlobalObjectsCore.pickle', |
39 'global_names_idl_files': [ | 45 'global_names_idl_files': [ |
40 'Window', | 46 'Window', |
41 '<(blink_core_output_dir)/WindowCoreConstructors.idl', | 47 '<(blink_core_output_dir)/WindowCoreConstructors.idl', |
42 'SharedWorkerGlobalScope', | 48 'SharedWorkerGlobalScope', |
43 '<(blink_core_output_dir)/SharedWorkerGlobalScopeCoreConstructors.idl', | 49 '<(blink_core_output_dir)/SharedWorkerGlobalScopeCoreConstructors.idl', |
44 'DedicatedWorkerGlobalScope', | 50 'DedicatedWorkerGlobalScope', |
45 '<(blink_core_output_dir)/DedicatedWorkerGlobalScopeCoreConstructors.idl
', | 51 '<(blink_core_output_dir)/DedicatedWorkerGlobalScopeCoreConstructors.idl
', |
46 ], | 52 ], |
(...skipping 15 matching lines...) Expand all Loading... |
62 'static_idl_files': '<(core_static_idl_files)', | 68 'static_idl_files': '<(core_static_idl_files)', |
63 'generated_idl_files': '<(core_generated_idl_files)', | 69 'generated_idl_files': '<(core_generated_idl_files)', |
64 'output_file': | 70 'output_file': |
65 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', | 71 '<(bindings_core_output_dir)/InterfacesInfoCoreIndividual.pickle', |
66 }, | 72 }, |
67 'includes': ['../../bindings/scripts/interfaces_info_individual.gypi'], | 73 'includes': ['../../bindings/scripts/interfaces_info_individual.gypi'], |
68 }, | 74 }, |
69 ################################################################################ | 75 ################################################################################ |
70 ], # targets | 76 ], # targets |
71 } | 77 } |
OLD | NEW |