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 sources = [ | 10 sources = [ |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 "ninja_binary_target_writer_unittest.cc", | 247 "ninja_binary_target_writer_unittest.cc", |
248 "ninja_copy_target_writer_unittest.cc", | 248 "ninja_copy_target_writer_unittest.cc", |
249 "ninja_group_target_writer_unittest.cc", | 249 "ninja_group_target_writer_unittest.cc", |
250 "ninja_target_writer_unittest.cc", | 250 "ninja_target_writer_unittest.cc", |
251 "ninja_toolchain_writer_unittest.cc", | 251 "ninja_toolchain_writer_unittest.cc", |
252 "operators_unittest.cc", | 252 "operators_unittest.cc", |
253 "parse_tree_unittest.cc", | 253 "parse_tree_unittest.cc", |
254 "parser_unittest.cc", | 254 "parser_unittest.cc", |
255 "path_output_unittest.cc", | 255 "path_output_unittest.cc", |
256 "pattern_unittest.cc", | 256 "pattern_unittest.cc", |
257 "run_all_unittests.cc", | |
258 "scope_per_file_provider_unittest.cc", | 257 "scope_per_file_provider_unittest.cc", |
259 "scope_unittest.cc", | 258 "scope_unittest.cc", |
260 "source_dir_unittest.cc", | 259 "source_dir_unittest.cc", |
261 "string_utils_unittest.cc", | 260 "string_utils_unittest.cc", |
262 "substitution_pattern_unittest.cc", | 261 "substitution_pattern_unittest.cc", |
263 "substitution_writer_unittest.cc", | 262 "substitution_writer_unittest.cc", |
264 "target_generator_unittest.cc", | 263 "target_generator_unittest.cc", |
265 "target_unittest.cc", | 264 "target_unittest.cc", |
266 "template_unittest.cc", | 265 "template_unittest.cc", |
267 "test_with_scope.cc", | 266 "test_with_scope.cc", |
268 "test_with_scope.h", | 267 "test_with_scope.h", |
269 "tokenizer_unittest.cc", | 268 "tokenizer_unittest.cc", |
270 "unique_vector_unittest.cc", | 269 "unique_vector_unittest.cc", |
271 "value_unittest.cc", | 270 "value_unittest.cc", |
272 "visibility_unittest.cc", | 271 "visibility_unittest.cc", |
273 ] | 272 ] |
274 deps = [ | 273 deps = [ |
275 ":gn_lib", | 274 ":gn_lib", |
| 275 "//base/test:run_all_unittests", |
276 "//base/test:test_support", | 276 "//base/test:test_support", |
277 "//testing/gtest", | 277 "//testing/gtest", |
278 ] | 278 ] |
279 } | 279 } |
280 | 280 |
281 executable("generate_test_gn_data") { | 281 executable("generate_test_gn_data") { |
282 sources = [ | 282 sources = [ |
283 "generate_test_gn_data.cc", | 283 "generate_test_gn_data.cc", |
284 ] | 284 ] |
285 deps = [ | 285 deps = [ |
286 "//base", | 286 "//base", |
287 ] | 287 ] |
288 } | 288 } |
OLD | NEW |