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_get_label_info.cc',
64 'function_get_path_info.cc',
65 'function_get_target_outputs.cc',
66 'function_process_file_template.cc',
67 'function_read_file.cc',
68 'function_rebase_path.cc',
69 'function_set_default_toolchain.cc',
70 'function_set_defaults.cc',
71 'function_template.cc',
72 'function_toolchain.cc',
73 'function_write_file.cc',
76 'functions_target.cc',
77 'group_target_generator.cc',
78 'group_target_generator.h',
83 'inherited_libraries.cc',
84 'inherited_libraries.h',
85 'input_conversion.cc',
89 'input_file_manager.cc',
90 'input_file_manager.h',
102 'ninja_action_target_writer.cc',
103 'ninja_action_target_writer.h',
104 'ninja_binary_target_writer.cc',
105 'ninja_binary_target_writer.h',
106 'ninja_build_writer.cc',
107 'ninja_build_writer.h',
108 'ninja_copy_target_writer.cc',
109 'ninja_copy_target_writer.h',
110 'ninja_group_target_writer.cc',
111 'ninja_group_target_writer.h',
112 'ninja_target_writer.cc',
113 'ninja_target_writer.h',
114 'ninja_toolchain_writer.cc',
115 'ninja_toolchain_writer.h',
138 'scope_per_file_provider.cc',
139 'scope_per_file_provider.h',
148 'source_file_type.cc',
149 'source_file_type.h',
154 'substitution_list.cc',
155 'substitution_list.h',
156 'substitution_pattern.cc',
157 'substitution_pattern.h',
158 'substitution_type.cc',
159 'substitution_type.h',
160 'substitution_writer.cc',
161 'substitution_writer.h',
166 'target_generator.cc',
167 'target_generator.h',
183 'value_extractors.cc',
184 'value_extractors.h',
193 'type': 'executable',
199 '../../base/base.gyp:base',
200 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
204 'target_name': 'gn_unittests',
205 'type': '<(gtest_target_type)',
207 'action_target_generator_unittest.cc',
208 'builder_unittest.cc',
209 'c_include_iterator_unittest.cc',
210 'command_format_unittest.cc',
211 'config_values_extractors_unittest.cc',
212 'escape_unittest.cc',
213 'exec_process_unittest.cc',
214 'filesystem_utils_unittest.cc',
215 'function_foreach_unittest.cc',
216 'function_get_label_info_unittest.cc',
217 'function_get_path_info_unittest.cc',
218 'function_get_target_outputs_unittest.cc',
219 'function_process_file_template_unittest.cc',
220 'function_rebase_path_unittest.cc',
221 'function_write_file_unittest.cc',
222 'functions_target_unittest.cc',
223 'functions_unittest.cc',
224 'header_checker_unittest.cc',
225 'inherited_libraries_unittest.cc',
226 'input_conversion_unittest.cc',
227 'label_pattern_unittest.cc',
229 'loader_unittest.cc',
230 'ninja_action_target_writer_unittest.cc',
231 'ninja_binary_target_writer_unittest.cc',
232 'ninja_copy_target_writer_unittest.cc',
233 'ninja_group_target_writer_unittest.cc',
234 'ninja_target_writer_unittest.cc',
235 'ninja_toolchain_writer_unittest.cc',
236 'operators_unittest.cc',
237 'parse_tree_unittest.cc',
238 'parser_unittest.cc',
239 'path_output_unittest.cc',
240 'pattern_unittest.cc',
241 'runtime_deps_unittest.cc',
242 'scope_per_file_provider_unittest.cc',
244 'source_dir_unittest.cc',
245 'source_file_unittest.cc',
246 'string_utils_unittest.cc',
247 'substitution_pattern_unittest.cc',
248 'substitution_writer_unittest.cc',
249 'target_generator_unittest.cc',
250 'target_unittest.cc',
251 'template_unittest.cc',
252 'test_with_scope.cc',
254 'tokenizer_unittest.cc',
255 'unique_vector_unittest.cc',
257 'visibility_unittest.cc',
261 '../../base/base.gyp:run_all_unittests',
262 '../../base/base.gyp:test_support_base',
263 '../../testing/gtest.gyp:gtest',
267 'target_name': 'generate_test_gn_data',
268 'type': 'executable',
270 'generate_test_gn_data.cc',
273 '../../base/base.gyp:base',
278 ['test_isolation_mode != "noop"', {
281 'target_name': 'gn_unittests_run',
286 'includes': [ '../../build/isolate.gypi' ],
287 'sources': [ 'gn_unittests.isolate' ],