| 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", |
| 24 "c_include_iterator.h", |
| 23 "command_args.cc", | 25 "command_args.cc", |
| 26 "command_check.cc", |
| 24 "command_desc.cc", | 27 "command_desc.cc", |
| 25 "command_gen.cc", | 28 "command_gen.cc", |
| 26 "command_help.cc", | 29 "command_help.cc", |
| 27 "command_refs.cc", | 30 "command_refs.cc", |
| 28 "commands.cc", | 31 "commands.cc", |
| 29 "commands.h", | 32 "commands.h", |
| 30 "config.cc", | 33 "config.cc", |
| 31 "config.h", | 34 "config.h", |
| 32 "config_values.cc", | 35 "config_values.cc", |
| 33 "config_values.h", | 36 "config_values.h", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 52 "function_process_file_template.cc", | 55 "function_process_file_template.cc", |
| 53 "function_read_file.cc", | 56 "function_read_file.cc", |
| 54 "function_rebase_path.cc", | 57 "function_rebase_path.cc", |
| 55 "function_set_default_toolchain.cc", | 58 "function_set_default_toolchain.cc", |
| 56 "function_set_defaults.cc", | 59 "function_set_defaults.cc", |
| 57 "function_template.cc", | 60 "function_template.cc", |
| 58 "function_toolchain.cc", | 61 "function_toolchain.cc", |
| 59 "function_write_file.cc", | 62 "function_write_file.cc", |
| 60 "group_target_generator.cc", | 63 "group_target_generator.cc", |
| 61 "group_target_generator.h", | 64 "group_target_generator.h", |
| 65 "header_checker.cc", |
| 66 "header_checker.h", |
| 62 "import_manager.cc", | 67 "import_manager.cc", |
| 63 "import_manager.h", | 68 "import_manager.h", |
| 64 "input_conversion.cc", | 69 "input_conversion.cc", |
| 65 "input_conversion.h", | 70 "input_conversion.h", |
| 66 "input_file.cc", | 71 "input_file.cc", |
| 67 "input_file.h", | 72 "input_file.h", |
| 68 "input_file_manager.cc", | 73 "input_file_manager.cc", |
| 69 "input_file_manager.h", | 74 "input_file_manager.h", |
| 70 "item.cc", | 75 "item.cc", |
| 71 "item.h", | 76 "item.h", |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 165 |
| 161 deps = [ | 166 deps = [ |
| 162 ":gn_lib", | 167 ":gn_lib", |
| 163 "//build/util:last_change", | 168 "//build/util:last_change", |
| 164 ] | 169 ] |
| 165 } | 170 } |
| 166 | 171 |
| 167 test("gn_unittests") { | 172 test("gn_unittests") { |
| 168 sources = [ | 173 sources = [ |
| 169 "builder_unittest.cc", | 174 "builder_unittest.cc", |
| 175 "c_include_iterator_unittest.cc", |
| 170 "escape_unittest.cc", | 176 "escape_unittest.cc", |
| 171 "filesystem_utils_unittest.cc", | 177 "filesystem_utils_unittest.cc", |
| 172 "file_template_unittest.cc", | 178 "file_template_unittest.cc", |
| 173 "function_rebase_path_unittest.cc", | 179 "function_rebase_path_unittest.cc", |
| 174 "functions_unittest.cc", | 180 "functions_unittest.cc", |
| 181 "header_checker_unittest.cc", |
| 175 "input_conversion_unittest.cc", | 182 "input_conversion_unittest.cc", |
| 176 "label_unittest.cc", | 183 "label_unittest.cc", |
| 177 "loader_unittest.cc", | 184 "loader_unittest.cc", |
| 178 "ninja_action_target_writer_unittest.cc", | 185 "ninja_action_target_writer_unittest.cc", |
| 179 "ninja_binary_target_writer_unittest.cc", | 186 "ninja_binary_target_writer_unittest.cc", |
| 180 "ninja_copy_target_writer_unittest.cc", | 187 "ninja_copy_target_writer_unittest.cc", |
| 181 "ninja_helper_unittest.cc", | 188 "ninja_helper_unittest.cc", |
| 182 "operators_unittest.cc", | 189 "operators_unittest.cc", |
| 183 "parse_tree_unittest.cc", | 190 "parse_tree_unittest.cc", |
| 184 "parser_unittest.cc", | 191 "parser_unittest.cc", |
| (...skipping 15 matching lines...) Expand all Loading... |
| 200 "//base/test:run_all_unittests", | 207 "//base/test:run_all_unittests", |
| 201 "//base/test:test_support_base", | 208 "//base/test:test_support_base", |
| 202 "//testing/gtest", | 209 "//testing/gtest", |
| 203 ] | 210 ] |
| 204 } | 211 } |
| 205 | 212 |
| 206 executable("generate_test_gn_data") { | 213 executable("generate_test_gn_data") { |
| 207 sources = [ "generate_test_gn_data.cc" ] | 214 sources = [ "generate_test_gn_data.cc" ] |
| 208 deps = [ "//base" ] | 215 deps = [ "//base" ] |
| 209 } | 216 } |
| OLD | NEW |