| 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 defines = [ "GN_BUILD" ] | 7 defines = [ "GN_BUILD" ] |
| 8 | 8 |
| 9 static_library("gn_lib") { | 9 static_library("gn_lib") { |
| 10 configs += [ "//build/config:precompiled_headers" ] | 10 configs += [ "//build/config:precompiled_headers" ] |
| 11 | 11 |
| 12 sources = [ | 12 sources = [ |
| 13 "action_target_generator.cc", | 13 "action_target_generator.cc", |
| 14 "action_target_generator.h", | 14 "action_target_generator.h", |
| 15 "action_values.cc", | 15 "action_values.cc", |
| 16 "action_values.h", | 16 "action_values.h", |
| 17 "args.cc", | 17 "args.cc", |
| 18 "args.h", | 18 "args.h", |
| 19 "binary_target_generator.cc", | 19 "binary_target_generator.cc", |
| 20 "binary_target_generator.h", | 20 "binary_target_generator.h", |
| 21 "build_settings.cc", | 21 "build_settings.cc", |
| 22 "build_settings.h", | 22 "build_settings.h", |
| 23 "builder.cc", | 23 "builder.cc", |
| 24 "builder.h", | 24 "builder.h", |
| 25 "builder_record.cc", | 25 "builder_record.cc", |
| 26 "builder_record.h", | 26 "builder_record.h", |
| 27 "bundle_data.cc", |
| 28 "bundle_data.h", |
| 27 "bundle_data_target_generator.cc", | 29 "bundle_data_target_generator.cc", |
| 28 "bundle_data_target_generator.h", | 30 "bundle_data_target_generator.h", |
| 31 "bundle_file_rule.cc", |
| 32 "bundle_file_rule.h", |
| 29 "c_include_iterator.cc", | 33 "c_include_iterator.cc", |
| 30 "c_include_iterator.h", | 34 "c_include_iterator.h", |
| 31 "command_args.cc", | 35 "command_args.cc", |
| 32 "command_check.cc", | 36 "command_check.cc", |
| 33 "command_clean.cc", | 37 "command_clean.cc", |
| 34 "command_desc.cc", | 38 "command_desc.cc", |
| 35 "command_format.cc", | 39 "command_format.cc", |
| 36 "command_gen.cc", | 40 "command_gen.cc", |
| 37 "command_help.cc", | 41 "command_help.cc", |
| 38 "command_ls.cc", | 42 "command_ls.cc", |
| 39 "command_path.cc", | 43 "command_path.cc", |
| 40 "command_refs.cc", | 44 "command_refs.cc", |
| 41 "commands.cc", | 45 "commands.cc", |
| 42 "commands.h", | 46 "commands.h", |
| 43 "config.cc", | 47 "config.cc", |
| 44 "config.h", | 48 "config.h", |
| 45 "config_values.cc", | 49 "config_values.cc", |
| 46 "config_values.h", | 50 "config_values.h", |
| 47 "config_values_extractors.cc", | 51 "config_values_extractors.cc", |
| 48 "config_values_extractors.h", | 52 "config_values_extractors.h", |
| 49 "config_values_generator.cc", | 53 "config_values_generator.cc", |
| 50 "config_values_generator.h", | 54 "config_values_generator.h", |
| 51 "copy_target_generator.cc", | 55 "copy_target_generator.cc", |
| 52 "copy_target_generator.h", | 56 "copy_target_generator.h", |
| 57 "create_bundle_target_generator.cc", |
| 58 "create_bundle_target_generator.h", |
| 53 "deps_iterator.cc", | 59 "deps_iterator.cc", |
| 54 "deps_iterator.h", | 60 "deps_iterator.h", |
| 55 "eclipse_writer.cc", | 61 "eclipse_writer.cc", |
| 56 "eclipse_writer.h", | 62 "eclipse_writer.h", |
| 57 "err.cc", | 63 "err.cc", |
| 58 "err.h", | 64 "err.h", |
| 59 "escape.cc", | 65 "escape.cc", |
| 60 "escape.h", | 66 "escape.h", |
| 61 "exec_process.cc", | 67 "exec_process.cc", |
| 62 "exec_process.h", | 68 "exec_process.h", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 "ninja_action_target_writer.cc", | 115 "ninja_action_target_writer.cc", |
| 110 "ninja_action_target_writer.h", | 116 "ninja_action_target_writer.h", |
| 111 "ninja_binary_target_writer.cc", | 117 "ninja_binary_target_writer.cc", |
| 112 "ninja_binary_target_writer.h", | 118 "ninja_binary_target_writer.h", |
| 113 "ninja_build_writer.cc", | 119 "ninja_build_writer.cc", |
| 114 "ninja_build_writer.h", | 120 "ninja_build_writer.h", |
| 115 "ninja_bundle_data_target_writer.cc", | 121 "ninja_bundle_data_target_writer.cc", |
| 116 "ninja_bundle_data_target_writer.h", | 122 "ninja_bundle_data_target_writer.h", |
| 117 "ninja_copy_target_writer.cc", | 123 "ninja_copy_target_writer.cc", |
| 118 "ninja_copy_target_writer.h", | 124 "ninja_copy_target_writer.h", |
| 125 "ninja_create_bundle_target_writer.cc", |
| 126 "ninja_create_bundle_target_writer.h", |
| 119 "ninja_group_target_writer.cc", | 127 "ninja_group_target_writer.cc", |
| 120 "ninja_group_target_writer.h", | 128 "ninja_group_target_writer.h", |
| 121 "ninja_target_writer.cc", | 129 "ninja_target_writer.cc", |
| 122 "ninja_target_writer.h", | 130 "ninja_target_writer.h", |
| 123 "ninja_toolchain_writer.cc", | 131 "ninja_toolchain_writer.cc", |
| 124 "ninja_toolchain_writer.h", | 132 "ninja_toolchain_writer.h", |
| 125 "ninja_utils.cc", | 133 "ninja_utils.cc", |
| 126 "ninja_utils.h", | 134 "ninja_utils.h", |
| 127 "ninja_writer.cc", | 135 "ninja_writer.cc", |
| 128 "ninja_writer.h", | 136 "ninja_writer.h", |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 "format_test_data/", | 319 "format_test_data/", |
| 312 ] | 320 ] |
| 313 | 321 |
| 314 deps = [ | 322 deps = [ |
| 315 ":gn_lib", | 323 ":gn_lib", |
| 316 "//base/test:run_all_unittests", | 324 "//base/test:run_all_unittests", |
| 317 "//base/test:test_support", | 325 "//base/test:test_support", |
| 318 "//testing/gtest", | 326 "//testing/gtest", |
| 319 ] | 327 ] |
| 320 } | 328 } |
| OLD | NEW |