Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: mojo/edk/system/test/BUILD.gn

Issue 1639093002: Add //mojo/edk/platform/thread_utils.* containing "yield" and "sleep". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/edk/system/simple_dispatcher_unittest.cc ('k') | mojo/edk/system/test/sleep.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « mojo/edk/system/simple_dispatcher_unittest.cc ('k') | mojo/edk/system/test/sleep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698