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 import("../mojo_edk.gni") |
| 6 |
5 # GYP version: mojo/edk/mojo_edk.gyp:mojo_common_test_support | 7 # GYP version: mojo/edk/mojo_edk.gyp:mojo_common_test_support |
6 source_set("test_support") { | 8 mojo_edk_source_set("test_support") { |
7 testonly = true | 9 testonly = true |
8 sources = [ | 10 sources = [ |
9 "multiprocess_test_helper.cc", | 11 "multiprocess_test_helper.cc", |
10 "multiprocess_test_helper.h", | 12 "multiprocess_test_helper.h", |
11 "test_utils.h", | 13 "test_utils.h", |
12 "test_utils_posix.cc", | 14 "test_utils_posix.cc", |
13 "test_utils_win.cc", | 15 "test_utils_win.cc", |
14 ] | 16 ] |
15 | 17 |
16 deps = [ | 18 deps = [ |
17 "//base", | 19 "//base", |
18 "//base/test:test_support", | 20 "//base/test:test_support", |
19 "//mojo/edk/system", | |
20 "//testing/gtest", | 21 "//testing/gtest", |
21 ] | 22 ] |
| 23 |
| 24 mojo_edk_deps = [ |
| 25 "mojo/edk/system", |
| 26 ] |
22 } | 27 } |
23 | 28 |
24 # GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_unittests | 29 # GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_unittests |
25 source_set("run_all_unittests") { | 30 mojo_edk_source_set("run_all_unittests") { |
| 31 testonly = true |
| 32 sources = [ |
| 33 "run_all_unittests.cc" |
| 34 ] |
| 35 |
| 36 deps = [ |
| 37 ":test_support_impl", |
| 38 "//base", |
| 39 "//base/test:test_support", |
| 40 "//testing/gtest", |
| 41 ] |
| 42 |
| 43 mojo_edk_deps = [ |
| 44 "mojo/edk/system", |
| 45 ] |
| 46 |
| 47 mojo_sdk_deps = [ |
| 48 "mojo/public/c/test_support", |
| 49 ] |
| 50 } |
| 51 |
| 52 # GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_perftests |
| 53 mojo_edk_source_set("run_all_perftests") { |
26 testonly = true | 54 testonly = true |
27 deps = [ | 55 deps = [ |
28 ":test_support_impl", | 56 ":test_support_impl", |
29 "//base", | 57 "//base", |
30 "//base/test:test_support", | 58 "//base/test:test_support", |
31 "//mojo/edk/system", | 59 ] |
32 "//mojo/public/c/test_support", | 60 |
33 "//testing/gtest", | 61 mojo_edk_deps = [ |
| 62 "mojo/edk/system", |
| 63 ] |
| 64 |
| 65 mojo_sdk_deps = [ |
| 66 "mojo/public/c/test_support", |
34 ] | 67 ] |
35 | 68 |
36 sources = [ | 69 sources = [ |
37 "run_all_unittests.cc", | |
38 ] | |
39 } | |
40 | |
41 # GYP version: mojo/edk/mojo_edk.gyp:mojo_run_all_perftests | |
42 source_set("run_all_perftests") { | |
43 testonly = true | |
44 deps = [ | |
45 ":test_support_impl", | |
46 "//base", | |
47 "//base/test:test_support", | |
48 "//mojo/edk/system", | |
49 "//mojo/public/c/test_support", | |
50 ] | |
51 | |
52 sources = [ | |
53 "run_all_perftests.cc", | 70 "run_all_perftests.cc", |
54 ] | 71 ] |
55 } | 72 } |
56 | 73 |
57 # GYP version: mojo/edk/mojo_edk.gyp:mojo_test_support_impl | 74 # GYP version: mojo/edk/mojo_edk.gyp:mojo_test_support_impl |
58 source_set("test_support_impl") { | 75 mojo_edk_source_set("test_support_impl") { |
59 testonly = true | 76 testonly = true |
60 deps = [ | 77 deps = [ |
61 "//base", | 78 "//base", |
62 "//base/test:test_support", | 79 "//base/test:test_support", |
63 "//mojo/public/c/test_support", | 80 ] |
| 81 |
| 82 mojo_sdk_deps = [ |
| 83 "mojo/public/c/test_support", |
64 ] | 84 ] |
65 | 85 |
66 sources = [ | 86 sources = [ |
67 "test_support_impl.cc", | 87 "test_support_impl.cc", |
68 "test_support_impl.h", | 88 "test_support_impl.h", |
69 ] | 89 ] |
70 } | 90 } |
OLD | NEW |