Autofill: Add WalletIntegrationAvailable() to components.
[chromium-blink-merge.git] / tools / gn / gn.gyp
blobfca6943fd91ec82157b31023cc3e7b9e775e59d8
2   'variables': {
3     'chromium_code': 1,
4   },
5   'targets': [
6     {
7       'target_name': 'gn_lib',
8       'type': 'static_library',
9       'dependencies': [
10         '../../base/base.gyp:base',
11       ],
12       'sources': [
13         'action_target_generator.cc',
14         'action_target_generator.h',
15         'action_values.cc',
16         'action_values.h',
17         'args.cc',
18         'args.h',
19         'binary_target_generator.cc',
20         'binary_target_generator.h',
21         'build_settings.cc',
22         'build_settings.h',
23         'builder.cc',
24         'builder.h',
25         'builder_record.cc',
26         'builder_record.h',
27         'c_include_iterator.cc',
28         'c_include_iterator.h',
29         'command_args.cc',
30         'command_check.cc',
31         'command_clean.cc',
32         'command_desc.cc',
33         'command_format.cc',
34         'command_gen.cc',
35         'command_help.cc',
36         'command_ls.cc',
37         'command_refs.cc',
38         'commands.cc',
39         'commands.h',
40         'config.cc',
41         'config.h',
42         'config_values.cc',
43         'config_values.h',
44         'config_values_extractors.cc',
45         'config_values_extractors.h',
46         'config_values_generator.cc',
47         'config_values_generator.h',
48         'copy_target_generator.cc',
49         'copy_target_generator.h',
50         'deps_iterator.cc',
51         'deps_iterator.h',
52         'err.cc',
53         'err.h',
54         'escape.cc',
55         'escape.h',
56         'exec_process.cc',
57         'exec_process.h',
58         'filesystem_utils.cc',
59         'filesystem_utils.h',
60         'function_exec_script.cc',
61         'function_foreach.cc',
62         'function_get_label_info.cc',
63         'function_get_path_info.cc',
64         'function_get_target_outputs.cc',
65         'function_process_file_template.cc',
66         'function_read_file.cc',
67         'function_rebase_path.cc',
68         'function_set_default_toolchain.cc',
69         'function_set_defaults.cc',
70         'function_template.cc',
71         'function_toolchain.cc',
72         'function_write_file.cc',
73         'functions.cc',
74         'functions.h',
75         'functions_target.cc',
76         'group_target_generator.cc',
77         'group_target_generator.h',
78         'header_checker.cc',
79         'header_checker.h',
80         'import_manager.cc',
81         'import_manager.h',
82         'inherited_libraries.cc',
83         'inherited_libraries.h',
84         'input_conversion.cc',
85         'input_conversion.h',
86         'input_file.cc',
87         'input_file.h',
88         'input_file_manager.cc',
89         'input_file_manager.h',
90         'item.cc',
91         'item.h',
92         'label.cc',
93         'label.h',
94         'label_pattern.cc',
95         'label_pattern.h',
96         'label_ptr.h',
97         'loader.cc',
98         'loader.h',
99         'location.cc',
100         'location.h',
101         'ninja_action_target_writer.cc',
102         'ninja_action_target_writer.h',
103         'ninja_binary_target_writer.cc',
104         'ninja_binary_target_writer.h',
105         'ninja_build_writer.cc',
106         'ninja_build_writer.h',
107         'ninja_copy_target_writer.cc',
108         'ninja_copy_target_writer.h',
109         'ninja_group_target_writer.cc',
110         'ninja_group_target_writer.h',
111         'ninja_target_writer.cc',
112         'ninja_target_writer.h',
113         'ninja_toolchain_writer.cc',
114         'ninja_toolchain_writer.h',
115         'ninja_utils.cc',
116         'ninja_utils.h',
117         'ninja_writer.cc',
118         'ninja_writer.h',
119         'operators.cc',
120         'operators.h',
121         'output_file.cc',
122         'output_file.h',
123         'parse_tree.cc',
124         'parse_tree.h',
125         'parser.cc',
126         'parser.h',
127         'path_output.cc',
128         'path_output.h',
129         'pattern.cc',
130         'pattern.h',
131         'scheduler.cc',
132         'scheduler.h',
133         'scope.cc',
134         'scope.h',
135         'scope_per_file_provider.cc',
136         'scope_per_file_provider.h',
137         'settings.cc',
138         'settings.h',
139         'setup.cc',
140         'setup.h',
141         'source_dir.cc',
142         'source_dir.h',
143         'source_file.cc',
144         'source_file.h',
145         'source_file_type.cc',
146         'source_file_type.h',
147         'standard_out.cc',
148         'standard_out.h',
149         'string_utils.cc',
150         'string_utils.h',
151         'substitution_list.cc',
152         'substitution_list.h',
153         'substitution_pattern.cc',
154         'substitution_pattern.h',
155         'substitution_type.cc',
156         'substitution_type.h',
157         'substitution_writer.cc',
158         'substitution_writer.h',
159         'switches.cc',
160         'switches.h',
161         'target.cc',
162         'target.h',
163         'target_generator.cc',
164         'target_generator.h',
165         'template.cc',
166         'template.h',
167         'token.cc',
168         'token.h',
169         'tokenizer.cc',
170         'tokenizer.h',
171         'tool.cc',
172         'tool.h',
173         'toolchain.cc',
174         'toolchain.h',
175         'trace.cc',
176         'trace.h',
177         'unique_vector.h',
178         'value.cc',
179         'value.h',
180         'value_extractors.cc',
181         'value_extractors.h',
182         'variables.cc',
183         'variables.h',
184         'visibility.cc',
185         'visibility.h',
186       ],
187     },
188     {
189       'target_name': 'gn',
190       'type': 'executable',
191       'sources': [
192         'gn_main.cc',
193       ],
194       'dependencies': [
195         'gn_lib',
196         '../../base/base.gyp:base',
197         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
198       ],
199     },
200     {
201       'target_name': 'gn_unittests',
202       'type': '<(gtest_target_type)',
203       'sources': [
204         'action_target_generator_unittest.cc',
205         'builder_unittest.cc',
206         'c_include_iterator_unittest.cc',
207         'command_format_unittest.cc',
208         'config_values_extractors_unittest.cc',
209         'escape_unittest.cc',
210         'exec_process_unittest.cc',
211         'filesystem_utils_unittest.cc',
212         'function_foreach_unittest.cc',
213         'function_get_label_info_unittest.cc',
214         'function_get_path_info_unittest.cc',
215         'function_get_target_outputs_unittest.cc',
216         'function_process_file_template_unittest.cc',
217         'function_rebase_path_unittest.cc',
218         'function_write_file_unittest.cc',
219         'functions_target_unittest.cc',
220         'functions_unittest.cc',
221         'header_checker_unittest.cc',
222         'inherited_libraries_unittest.cc',
223         'input_conversion_unittest.cc',
224         'label_pattern_unittest.cc',
225         'label_unittest.cc',
226         'loader_unittest.cc',
227         'ninja_action_target_writer_unittest.cc',
228         'ninja_binary_target_writer_unittest.cc',
229         'ninja_copy_target_writer_unittest.cc',
230         'ninja_group_target_writer_unittest.cc',
231         'ninja_target_writer_unittest.cc',
232         'ninja_toolchain_writer_unittest.cc',
233         'operators_unittest.cc',
234         'parse_tree_unittest.cc',
235         'parser_unittest.cc',
236         'path_output_unittest.cc',
237         'pattern_unittest.cc',
238         'scope_per_file_provider_unittest.cc',
239         'scope_unittest.cc',
240         'source_dir_unittest.cc',
241         'string_utils_unittest.cc',
242         'substitution_pattern_unittest.cc',
243         'substitution_writer_unittest.cc',
244         'target_generator_unittest.cc',
245         'target_unittest.cc',
246         'template_unittest.cc',
247         'test_with_scope.cc',
248         'test_with_scope.h',
249         'tokenizer_unittest.cc',
250         'unique_vector_unittest.cc',
251         'value_unittest.cc',
252         'visibility_unittest.cc',
253       ],
254       'dependencies': [
255         'gn_lib',
256         '../../base/base.gyp:run_all_unittests',
257         '../../base/base.gyp:test_support_base',
258         '../../testing/gtest.gyp:gtest',
259       ],
260     },
261     {
262       'target_name': 'generate_test_gn_data',
263       'type': 'executable',
264       'sources': [
265         'generate_test_gn_data.cc',
266       ],
267       'dependencies': [
268         '../../base/base.gyp:base',
269       ],
270     }
271   ],