| 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 # Declares/defines platform-dependent things. Some things are left | 7 # Declares/defines platform-dependent things. Some things are left |
| 8 # unimplemented, and the final binary must include a separate implementation | 8 # unimplemented, and the final binary must include a separate implementation |
| 9 # (e.g., //mojo/edk/base_edk, which implements these platform-dependent things | 9 # (e.g., //mojo/edk/base_edk, which implements these platform-dependent things |
| 10 # using //base). | 10 # using //base). |
| 11 mojo_edk_source_set("platform") { | 11 mojo_edk_source_set("platform") { |
| 12 sources = [ | 12 sources = [ |
| 13 "io_thread.h", | 13 "io_thread.h", |
| 14 "message_loop.h", | 14 "message_loop.h", |
| 15 "platform_handle.cc", | 15 "platform_handle.cc", |
| 16 "platform_handle.h", | 16 "platform_handle.h", |
| 17 "platform_handle_watcher.h", | 17 "platform_handle_watcher.h", |
| 18 "platform_pipe.h", |
| 18 "platform_shared_buffer.h", | 19 "platform_shared_buffer.h", |
| 19 "random.h", | 20 "random.h", |
| 20 "scoped_platform_handle.h", | 21 "scoped_platform_handle.h", |
| 21 "task_runner.h", | 22 "task_runner.h", |
| 22 "thread.h", | 23 "thread.h", |
| 23 "thread_utils.h", | 24 "thread_utils.h", |
| 24 "time_ticks.h", | 25 "time_ticks.h", |
| 25 ] | 26 ] |
| 26 | 27 |
| 27 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 28 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 ":test_platform", | 77 ":test_platform", |
| 77 "//testing/gtest", | 78 "//testing/gtest", |
| 78 ] | 79 ] |
| 79 | 80 |
| 80 # TODO(vtl): This is a suboptimal dependency, but we have to get timeouts from | 81 # TODO(vtl): This is a suboptimal dependency, but we have to get timeouts from |
| 81 # somewhere. | 82 # somewhere. |
| 82 mojo_edk_deps = [ "mojo/edk/system/test" ] | 83 mojo_edk_deps = [ "mojo/edk/system/test" ] |
| 83 | 84 |
| 84 mojo_sdk_deps = [ "mojo/public/cpp/system" ] | 85 mojo_sdk_deps = [ "mojo/public/cpp/system" ] |
| 85 } | 86 } |
| OLD | NEW |