OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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") | 5 import("../../mojo_edk.gni") |
6 | 6 |
7 # Utilties for use by EDK internal (unit and perf) tests. | 7 # Utilties for use by EDK internal (unit and perf) tests. |
8 mojo_edk_source_set("test") { | 8 mojo_edk_source_set("test") { |
9 testonly = true | 9 testonly = true |
10 mojo_edk_visibility = [ "mojo/edk/*" ] | 10 mojo_edk_visibility = [ "mojo/edk/*" ] |
11 | 11 |
12 sources = [ | 12 sources = [ |
13 "random.cc", | 13 "random.cc", |
14 "random.h", | 14 "random.h", |
15 "scoped_test_dir.cc", | 15 "scoped_test_dir.cc", |
16 "scoped_test_dir.h", | 16 "scoped_test_dir.h", |
17 "simple_test_thread.cc", | 17 "simple_test_thread.cc", |
18 "simple_test_thread.h", | 18 "simple_test_thread.h", |
19 "sleep.cc", | |
20 "sleep.h", | |
21 "stopwatch.cc", | 19 "stopwatch.cc", |
22 "stopwatch.h", | 20 "stopwatch.h", |
23 "test_command_line.cc", | 21 "test_command_line.cc", |
24 "test_command_line.h", | 22 "test_command_line.h", |
25 "test_io_thread.cc", | 23 "test_io_thread.cc", |
26 "test_io_thread.h", | 24 "test_io_thread.h", |
27 "timeouts.cc", | 25 "timeouts.cc", |
28 "timeouts.h", | 26 "timeouts.h", |
29 ] | 27 ] |
30 | 28 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 86 |
89 deps = [ | 87 deps = [ |
90 ":test", | 88 ":test", |
91 "//base/test:test_support", | 89 "//base/test:test_support", |
92 ] | 90 ] |
93 } | 91 } |
94 | 92 |
95 mojo_edk_unittests("mojo_edk_system_test_unittests") { | 93 mojo_edk_unittests("mojo_edk_system_test_unittests") { |
96 sources = [ | 94 sources = [ |
97 "random_unittest.cc", | 95 "random_unittest.cc", |
98 "sleep_unittest.cc", | |
99 ] | 96 ] |
100 | 97 |
101 deps = [ | 98 deps = [ |
102 ":test", | 99 ":test", |
103 "//testing/gtest", | 100 "//testing/gtest", |
104 ] | 101 ] |
105 } | 102 } |
OLD | NEW |