| 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" ] |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 executable("gn") { | 245 executable("gn") { |
| 246 sources = [ | 246 sources = [ |
| 247 "gn_main.cc", | 247 "gn_main.cc", |
| 248 ] | 248 ] |
| 249 | 249 |
| 250 deps = [ | 250 deps = [ |
| 251 ":gn_lib", | 251 ":gn_lib", |
| 252 ":last_commit_position", | 252 ":last_commit_position", |
| 253 "//base", | 253 "//base", |
| 254 "//build/config/sanitizers:deps", | 254 "//build/config/sanitizers:deps", |
| 255 "//build/win:default_exe_manifest", |
| 255 ] | 256 ] |
| 256 } | 257 } |
| 257 | 258 |
| 258 test("gn_unittests") { | 259 test("gn_unittests") { |
| 259 sources = [ | 260 sources = [ |
| 260 "action_target_generator_unittest.cc", | 261 "action_target_generator_unittest.cc", |
| 261 "args_unittest.cc", | 262 "args_unittest.cc", |
| 262 "builder_unittest.cc", | 263 "builder_unittest.cc", |
| 263 "c_include_iterator_unittest.cc", | 264 "c_include_iterator_unittest.cc", |
| 264 "command_format_unittest.cc", | 265 "command_format_unittest.cc", |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 "format_test_data/", | 322 "format_test_data/", |
| 322 ] | 323 ] |
| 323 | 324 |
| 324 deps = [ | 325 deps = [ |
| 325 ":gn_lib", | 326 ":gn_lib", |
| 326 "//base/test:run_all_unittests", | 327 "//base/test:run_all_unittests", |
| 327 "//base/test:test_support", | 328 "//base/test:test_support", |
| 328 "//testing/gtest", | 329 "//testing/gtest", |
| 329 ] | 330 ] |
| 330 } | 331 } |
| OLD | NEW |