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

Side by Side Diff: mojo/edk/base_edk/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 | « no previous file | mojo/edk/base_edk/thread_utils.cc » ('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 # "Completes" the implementation of //mojo/edk/platform (i.e., implements those 7 # "Completes" the implementation of //mojo/edk/platform (i.e., implements those
8 # things that //mojo/edk/platform declares but doesn't define), using //base. 8 # things that //mojo/edk/platform declares but doesn't define), using //base.
9 mojo_edk_source_set("base_edk") { 9 mojo_edk_source_set("base_edk") {
10 sources = [ 10 sources = [
11 "io_thread.cc", 11 "io_thread.cc",
12 "platform_handle_watcher_impl.cc", 12 "platform_handle_watcher_impl.cc",
13 "platform_handle_watcher_impl.h", 13 "platform_handle_watcher_impl.h",
14 "platform_message_loop_for_io_impl.cc", 14 "platform_message_loop_for_io_impl.cc",
15 "platform_message_loop_for_io_impl.h", 15 "platform_message_loop_for_io_impl.h",
16 "platform_message_loop_impl.cc", 16 "platform_message_loop_impl.cc",
17 "platform_message_loop_impl.h", 17 "platform_message_loop_impl.h",
18 "platform_task_runner_impl.cc", 18 "platform_task_runner_impl.cc",
19 "platform_task_runner_impl.h", 19 "platform_task_runner_impl.h",
20 "thread_utils.cc",
20 ] 21 ]
21 22
22 deps = [ 23 deps = [
23 "//base", 24 "//base",
24 ] 25 ]
25 26
26 mojo_edk_public_deps = [ "mojo/edk/platform" ] 27 mojo_edk_public_deps = [ "mojo/edk/platform" ]
27 } 28 }
28 29
29 # "Completes" the implementation of //mojo/edk/platform:test_platform. 30 # "Completes" the implementation of //mojo/edk/platform:test_platform.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 # Tests //mojo/edk/platform and //mojo/edk/platform:test_platform using the 71 # Tests //mojo/edk/platform and //mojo/edk/platform:test_platform using the
71 # implementation of :platform provided by :base_edk and :test_base_edk. 72 # implementation of :platform provided by :base_edk and :test_base_edk.
72 mojo_edk_unittests("mojo_edk_platform_unittests") { 73 mojo_edk_unittests("mojo_edk_platform_unittests") {
73 deps = [ 74 deps = [
74 ":base_edk", 75 ":base_edk",
75 ":test_base_edk", 76 ":test_base_edk",
76 ] 77 ]
77 78
78 mojo_edk_deps = [ "mojo/edk/platform:unittests" ] 79 mojo_edk_deps = [ "mojo/edk/platform:unittests" ]
79 } 80 }
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/base_edk/thread_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698