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 deps = [ | 8 deps = [ |
8 ":test_support_impl", | 9 ":test_support_impl", |
9 "//base", | 10 "//base", |
10 "//base/test:test_support", | 11 "//base/test:test_support", |
11 "//mojo/public/c/test_support", | 12 "//mojo/public/c/test_support", |
12 "//mojo/system", | 13 "//mojo/system", |
13 "//testing/gtest", | 14 "//testing/gtest", |
14 ] | 15 ] |
15 | 16 |
16 sources = [ "run_all_unittests.cc" ] | 17 sources = [ "run_all_unittests.cc" ] |
17 } | 18 } |
18 | 19 |
19 # GYP version: mojo/mojo_base.gyp:mojo_test_support_impl | 20 # GYP version: mojo/mojo_base.gyp:mojo_test_support_impl |
20 source_set("test_support_impl") { | 21 source_set("test_support_impl") { |
| 22 testonly = true |
21 deps = [ | 23 deps = [ |
22 "//base", | 24 "//base", |
23 ] | 25 ] |
24 | 26 |
25 sources = [ | 27 sources = [ |
26 "test_support_impl.cc", | 28 "test_support_impl.cc", |
27 "test_support_impl.h", | 29 "test_support_impl.h", |
28 ] | 30 ] |
29 } | 31 } |
30 | 32 |
31 # GYP version: mojo/mojo_base.gyp:mojo_common_test_support | 33 # GYP version: mojo/mojo_base.gyp:mojo_common_test_support |
32 source_set("test_support") { | 34 source_set("test_support") { |
| 35 testonly = true |
33 deps = [ | 36 deps = [ |
34 "//base", | 37 "//base", |
35 "//base/test:test_support", | 38 "//base/test:test_support", |
36 "//testing/gtest", | 39 "//testing/gtest", |
37 "//mojo/system", | 40 "//mojo/system", |
38 ] | 41 ] |
39 | 42 |
40 sources = [ | 43 sources = [ |
41 "multiprocess_test_helper.cc", | 44 "multiprocess_test_helper.cc", |
42 "multiprocess_test_helper.h", | 45 "multiprocess_test_helper.h", |
43 "test_utils.h", | 46 "test_utils.h", |
44 "test_utils_posix.cc", | 47 "test_utils_posix.cc", |
45 "test_utils_win.cc", | 48 "test_utils_win.cc", |
46 ] | 49 ] |
47 } | 50 } |
OLD | NEW |