OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 defines = [ "GN_BUILD" ] | 5 defines = [ "GN_BUILD" ] |
6 | 6 |
7 static_library("gn_lib") { | 7 static_library("gn_lib") { |
8 sources = [ | 8 sources = [ |
9 "action_target_generator.cc", | 9 "action_target_generator.cc", |
10 "action_target_generator.h", | 10 "action_target_generator.h", |
11 "action_values.cc", | 11 "action_values.cc", |
12 "action_values.h", | 12 "action_values.h", |
13 "args.cc", | 13 "args.cc", |
14 "args.h", | 14 "args.h", |
15 "binary_target_generator.cc", | 15 "binary_target_generator.cc", |
16 "binary_target_generator.h", | 16 "binary_target_generator.h", |
17 "build_settings.cc", | 17 "build_settings.cc", |
18 "build_settings.h", | 18 "build_settings.h", |
19 "builder.cc", | 19 "builder.cc", |
20 "builder.h", | 20 "builder.h", |
21 "builder_record.cc", | 21 "builder_record.cc", |
22 "builder_record.h", | 22 "builder_record.h", |
23 "c_include_iterator.cc", | 23 "c_include_iterator.cc", |
24 "c_include_iterator.h", | 24 "c_include_iterator.h", |
25 "command_args.cc", | 25 "command_args.cc", |
26 "command_check.cc", | 26 "command_check.cc", |
27 "command_desc.cc", | 27 "command_desc.cc", |
28 "command_gen.cc", | 28 "command_gen.cc", |
| 29 "command_format.cc", |
29 "command_help.cc", | 30 "command_help.cc", |
30 "command_ls.cc", | 31 "command_ls.cc", |
31 "command_refs.cc", | 32 "command_refs.cc", |
32 "commands.cc", | 33 "commands.cc", |
33 "commands.h", | 34 "commands.h", |
34 "config.cc", | 35 "config.cc", |
35 "config.h", | 36 "config.h", |
36 "config_values.cc", | 37 "config_values.cc", |
37 "config_values.h", | 38 "config_values.h", |
38 "config_values_extractors.cc", | 39 "config_values_extractors.cc", |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 ":gn_lib", | 205 ":gn_lib", |
205 ":last_commit_position", | 206 ":last_commit_position", |
206 ] | 207 ] |
207 } | 208 } |
208 | 209 |
209 test("gn_unittests") { | 210 test("gn_unittests") { |
210 sources = [ | 211 sources = [ |
211 "action_target_generator_unittest.cc", | 212 "action_target_generator_unittest.cc", |
212 "builder_unittest.cc", | 213 "builder_unittest.cc", |
213 "c_include_iterator_unittest.cc", | 214 "c_include_iterator_unittest.cc", |
| 215 "command_format_unittest.cc", |
214 "config_values_extractors_unittest.cc", | 216 "config_values_extractors_unittest.cc", |
215 "escape_unittest.cc", | 217 "escape_unittest.cc", |
216 "filesystem_utils_unittest.cc", | 218 "filesystem_utils_unittest.cc", |
217 "function_foreach_unittest.cc", | 219 "function_foreach_unittest.cc", |
218 "function_get_label_info_unittest.cc", | 220 "function_get_label_info_unittest.cc", |
219 "function_get_path_info_unittest.cc", | 221 "function_get_path_info_unittest.cc", |
220 "function_get_target_outputs_unittest.cc", | 222 "function_get_target_outputs_unittest.cc", |
221 "function_process_file_template_unittest.cc", | 223 "function_process_file_template_unittest.cc", |
222 "function_rebase_path_unittest.cc", | 224 "function_rebase_path_unittest.cc", |
223 "function_write_file_unittest.cc", | 225 "function_write_file_unittest.cc", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 ":gn_lib", | 262 ":gn_lib", |
261 "//base/test:test_support", | 263 "//base/test:test_support", |
262 "//testing/gtest", | 264 "//testing/gtest", |
263 ] | 265 ] |
264 } | 266 } |
265 | 267 |
266 executable("generate_test_gn_data") { | 268 executable("generate_test_gn_data") { |
267 sources = [ "generate_test_gn_data.cc" ] | 269 sources = [ "generate_test_gn_data.cc" ] |
268 deps = [ "//base" ] | 270 deps = [ "//base" ] |
269 } | 271 } |
OLD | NEW |