OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # GYP version: mojo/mojo_base.gyp:mojo_run_all_unittests | 5 # GYP version: mojo/mojo_base.gyp:mojo_run_all_unittests |
6 source_set("run_all_unittests") { | 6 source_set("run_all_unittests") { |
7 testonly = true | 7 testonly = true |
8 deps = [ | 8 deps = [ |
9 ":test_support_impl", | 9 ":test_support_impl", |
10 "//base", | 10 "//base", |
11 "//base/test:test_support", | 11 "//base/test:test_support", |
12 "//mojo/edk/system", | |
13 "//mojo/public/c/test_support", | 12 "//mojo/public/c/test_support", |
| 13 "//mojo/system", |
14 "//testing/gtest", | 14 "//testing/gtest", |
15 ] | 15 ] |
16 | 16 |
17 sources = [ "run_all_unittests.cc" ] | 17 sources = [ "run_all_unittests.cc" ] |
18 } | 18 } |
19 | 19 |
20 # GYP version: mojo/mojo_base.gyp:mojo_run_all_perftests | 20 # GYP version: mojo/mojo_base.gyp:mojo_run_all_perftests |
21 source_set("run_all_perftests") { | 21 source_set("run_all_perftests") { |
22 testonly = true | 22 testonly = true |
23 deps = [ | 23 deps = [ |
24 ":test_support_impl", | 24 ":test_support_impl", |
25 "//base", | 25 "//base", |
26 "//base/test:test_support", | 26 "//base/test:test_support", |
27 "//mojo/edk/system", | |
28 "//mojo/public/c/test_support", | 27 "//mojo/public/c/test_support", |
| 28 "//mojo/system", |
29 ] | 29 ] |
30 | 30 |
31 sources = [ "run_all_perftests.cc" ] | 31 sources = [ "run_all_perftests.cc" ] |
32 } | 32 } |
33 | 33 |
34 | 34 |
35 # GYP version: mojo/mojo_base.gyp:mojo_test_support_impl | 35 # GYP version: mojo/mojo_base.gyp:mojo_test_support_impl |
36 source_set("test_support_impl") { | 36 source_set("test_support_impl") { |
37 testonly = true | 37 testonly = true |
38 deps = [ | 38 deps = [ |
39 "//base", | 39 "//base", |
40 ] | 40 ] |
41 | 41 |
42 sources = [ | 42 sources = [ |
43 "test_support_impl.cc", | 43 "test_support_impl.cc", |
44 "test_support_impl.h", | 44 "test_support_impl.h", |
45 ] | 45 ] |
46 } | 46 } |
| 47 |
| 48 # GYP version: mojo/mojo_base.gyp:mojo_common_test_support |
| 49 source_set("test_support") { |
| 50 testonly = true |
| 51 deps = [ |
| 52 "//base", |
| 53 "//base/test:test_support", |
| 54 "//testing/gtest", |
| 55 "//mojo/system", |
| 56 ] |
| 57 |
| 58 sources = [ |
| 59 "multiprocess_test_helper.cc", |
| 60 "multiprocess_test_helper.h", |
| 61 "test_utils.h", |
| 62 "test_utils_posix.cc", |
| 63 "test_utils_win.cc", |
| 64 ] |
| 65 } |
OLD | NEW |