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 bindings for core, plus aggregate bindings files. | 5 # Generate IDL bindings for core, plus aggregate bindings files. |
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/bindings.gypi', | 12 '../../../bindings/bindings.gypi', |
13 '../../../bindings/core/generated.gypi', | 13 '../../../bindings/core/generated.gypi', |
14 '../../../bindings/core/idl.gypi', | 14 '../../../bindings/core/idl.gypi', |
15 # FIXME: need info about modules IDL files because some core IDL files | 15 # FIXME: need info about modules IDL files because some core IDL files |
16 # depend on modules IDL files http://crbug.com/358074 | 16 # depend on modules IDL files http://crbug.com/358074 |
17 '../../../bindings/modules/idl.gypi', | 17 '../../../bindings/modules/idl.gypi', |
18 '../../../bindings/modules/modules.gypi', | 18 '../../../bindings/modules/modules.gypi', |
19 '../../../bindings/scripts/scripts.gypi', | 19 '../../../bindings/scripts/scripts.gypi', |
20 '../../../core/core.gypi', | 20 '../../../core/core.gypi', |
21 'generated.gypi', | 21 'generated.gypi', |
22 ], | 22 ], |
23 | 23 |
24 'targets': [ | 24 'targets': [ |
25 ################################################################################ | 25 ################################################################################ |
26 { | 26 { |
| 27 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_
generated_individual |
27 'target_name': 'bindings_core_v8_generated_individual', | 28 'target_name': 'bindings_core_v8_generated_individual', |
28 'type': 'none', | 29 'type': 'none', |
29 # The 'binding' rule generates .h files, so mark as hard_dependency, per: | 30 # The 'binding' rule generates .h files, so mark as hard_dependency, per: |
30 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependenci
es | 31 # https://code.google.com/p/gyp/wiki/InputFormatReference#Linking_Dependenci
es |
31 'hard_dependency': 1, | 32 'hard_dependency': 1, |
32 'dependencies': [ | 33 'dependencies': [ |
33 '../../../core/core_generated.gyp:generated_testing_idls', | 34 '../../../core/core_generated.gyp:generated_testing_idls', |
34 '../generated.gyp:core_global_constructors_idls', | 35 '../generated.gyp:core_global_constructors_idls', |
35 # FIXME: should not depend on modules, but partial interface definitions | 36 # FIXME: should not depend on modules, but partial interface definitions |
36 # in modules change bindings for core http://crbug.com/358074 | 37 # in modules change bindings for core http://crbug.com/358074 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', | 90 '<(bindings_modules_output_dir)/InterfacesInfoModules.pickle', |
90 '--write-file-only-if-changed', | 91 '--write-file-only-if-changed', |
91 '<(write_file_only_if_changed)', | 92 '<(write_file_only_if_changed)', |
92 '<(RULE_INPUT_PATH)', | 93 '<(RULE_INPUT_PATH)', |
93 ], | 94 ], |
94 'message': 'Generating binding from <(RULE_INPUT_PATH)', | 95 'message': 'Generating binding from <(RULE_INPUT_PATH)', |
95 }], | 96 }], |
96 }, | 97 }, |
97 ################################################################################ | 98 ################################################################################ |
98 { | 99 { |
| 100 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_
generated_aggregate |
99 'target_name': 'bindings_core_v8_generated_aggregate', | 101 'target_name': 'bindings_core_v8_generated_aggregate', |
100 'type': 'none', | 102 'type': 'none', |
101 'actions': [{ | 103 'actions': [{ |
102 'action_name': 'generate_aggregate_bindings_core_v8', | 104 'action_name': 'generate_aggregate_bindings_core_v8', |
103 'inputs': [ | 105 'inputs': [ |
104 '<(bindings_scripts_dir)/aggregate_generated_bindings.py', | 106 '<(bindings_scripts_dir)/aggregate_generated_bindings.py', |
105 '<(core_idl_files_list)', | 107 '<(core_idl_files_list)', |
106 ], | 108 ], |
107 'outputs': [ | 109 'outputs': [ |
108 '<@(bindings_core_v8_generated_aggregate_files)', | 110 '<@(bindings_core_v8_generated_aggregate_files)', |
109 ], | 111 ], |
110 'action': [ | 112 'action': [ |
111 'python', | 113 'python', |
112 '<(bindings_scripts_dir)/aggregate_generated_bindings.py', | 114 '<(bindings_scripts_dir)/aggregate_generated_bindings.py', |
113 'core', | 115 'core', |
114 '<(core_idl_files_list)', | 116 '<(core_idl_files_list)', |
115 '--', | 117 '--', |
116 '<@(bindings_core_v8_generated_aggregate_files)', | 118 '<@(bindings_core_v8_generated_aggregate_files)', |
117 ], | 119 ], |
118 'message': 'Generating aggregate generated core V8 bindings files', | 120 'message': 'Generating aggregate generated core V8 bindings files', |
119 }], | 121 }], |
120 }, | 122 }, |
121 ################################################################################ | 123 ################################################################################ |
122 { | 124 { |
| 125 # GN version: //third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_
generated |
123 'target_name': 'bindings_core_v8_generated', | 126 'target_name': 'bindings_core_v8_generated', |
124 'type': 'none', | 127 'type': 'none', |
125 'dependencies': [ | 128 'dependencies': [ |
126 'bindings_core_v8_generated_aggregate', | 129 'bindings_core_v8_generated_aggregate', |
127 'bindings_core_v8_generated_individual', | 130 'bindings_core_v8_generated_individual', |
128 ], | 131 ], |
129 }, | 132 }, |
130 ################################################################################ | 133 ################################################################################ |
131 ], # targets | 134 ], # targets |
132 } | 135 } |
OLD | NEW |