7 'target_name': 'gn_lib',
8 'type': 'static_library',
10 '../../base/base.gyp:base',
13 'action_target_generator.cc',
14 'action_target_generator.h',
19 'binary_target_generator.cc',
20 'binary_target_generator.h',
27 'c_include_iterator.cc',
28 'c_include_iterator.h',
45 'config_values_extractors.cc',
46 'config_values_extractors.h',
47 'config_values_generator.cc',
48 'config_values_generator.h',
49 'copy_target_generator.cc',
50 'copy_target_generator.h',
59 'filesystem_utils.cc',
61 'function_exec_script.cc',
62 'function_foreach.cc',
63 'function_forward_variables_from.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',
77 'functions_target.cc',
78 'group_target_generator.cc',
79 'group_target_generator.h',
84 'inherited_libraries.cc',
85 'inherited_libraries.h',
86 'input_conversion.cc',
90 'input_file_manager.cc',
91 'input_file_manager.h',
103 'ninja_action_target_writer.cc',
104 'ninja_action_target_writer.h',
105 'ninja_binary_target_writer.cc',
106 'ninja_binary_target_writer.h',
107 'ninja_build_writer.cc',
108 'ninja_build_writer.h',
109 'ninja_copy_target_writer.cc',
110 'ninja_copy_target_writer.h',
111 'ninja_group_target_writer.cc',
112 'ninja_group_target_writer.h',
113 'ninja_target_writer.cc',
114 'ninja_target_writer.h',
115 'ninja_toolchain_writer.cc',
116 'ninja_toolchain_writer.h',
139 'scope_per_file_provider.cc',
140 'scope_per_file_provider.h',
149 'source_file_type.cc',
150 'source_file_type.h',
155 'substitution_list.cc',
156 'substitution_list.h',
157 'substitution_pattern.cc',
158 'substitution_pattern.h',
159 'substitution_type.cc',
160 'substitution_type.h',
161 'substitution_writer.cc',
162 'substitution_writer.h',
167 'target_generator.cc',
168 'target_generator.h',
184 'value_extractors.cc',
185 'value_extractors.h',
194 'type': 'executable',
200 '../../base/base.gyp:base',
201 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
205 'target_name': 'gn_unittests',
206 'type': '<(gtest_target_type)',
208 'action_target_generator_unittest.cc',
209 'builder_unittest.cc',
210 'c_include_iterator_unittest.cc',
211 'command_format_unittest.cc',
212 'config_unittest.cc',
213 'config_values_extractors_unittest.cc',
214 'escape_unittest.cc',
215 'exec_process_unittest.cc',
216 'filesystem_utils_unittest.cc',
217 'function_foreach_unittest.cc',
218 'function_forward_variables_from_unittest.cc',
219 'function_get_label_info_unittest.cc',
220 'function_get_path_info_unittest.cc',
221 'function_get_target_outputs_unittest.cc',
222 'function_process_file_template_unittest.cc',
223 'function_rebase_path_unittest.cc',
224 'function_write_file_unittest.cc',
225 'functions_target_unittest.cc',
226 'functions_unittest.cc',
227 'header_checker_unittest.cc',
228 'inherited_libraries_unittest.cc',
229 'input_conversion_unittest.cc',
230 'label_pattern_unittest.cc',
232 'loader_unittest.cc',
233 'ninja_action_target_writer_unittest.cc',
234 'ninja_binary_target_writer_unittest.cc',
235 'ninja_copy_target_writer_unittest.cc',
236 'ninja_group_target_writer_unittest.cc',
237 'ninja_target_writer_unittest.cc',
238 'ninja_toolchain_writer_unittest.cc',
239 'operators_unittest.cc',
240 'parse_tree_unittest.cc',
241 'parser_unittest.cc',
242 'path_output_unittest.cc',
243 'pattern_unittest.cc',
244 'runtime_deps_unittest.cc',
245 'scope_per_file_provider_unittest.cc',
247 'source_dir_unittest.cc',
248 'source_file_unittest.cc',
249 'string_utils_unittest.cc',
250 'substitution_pattern_unittest.cc',
251 'substitution_writer_unittest.cc',
252 'target_generator_unittest.cc',
253 'target_unittest.cc',
254 'template_unittest.cc',
255 'test_with_scope.cc',
257 'tokenizer_unittest.cc',
258 'unique_vector_unittest.cc',
260 'visibility_unittest.cc',
264 '../../base/base.gyp:run_all_unittests',
265 '../../base/base.gyp:test_support_base',
266 '../../testing/gtest.gyp:gtest',
270 'target_name': 'generate_test_gn_data',
271 'type': 'executable',
273 'generate_test_gn_data.cc',
276 '../../base/base.gyp:base',
281 ['test_isolation_mode != "noop"', {
284 'target_name': 'gn_unittests_run',
289 'includes': [ '../../build/isolate.gypi' ],
290 'sources': [ 'gn_unittests.isolate' ],