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