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). |
(...skipping 11 matching lines...) Expand all Loading... |
22 "platform_shared_buffer.h", | 22 "platform_shared_buffer.h", |
23 "random.h", | 23 "random.h", |
24 "scoped_platform_handle.h", | 24 "scoped_platform_handle.h", |
25 "simple_platform_shared_buffer.h", | 25 "simple_platform_shared_buffer.h", |
26 "task_runner.h", | 26 "task_runner.h", |
27 "thread.h", | 27 "thread.h", |
28 "thread_utils.h", | 28 "thread_utils.h", |
29 "time_ticks.h", | 29 "time_ticks.h", |
30 ] | 30 ] |
31 | 31 |
32 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 32 mojo_sdk_public_deps = [ |
| 33 "mojo/public/c:system", |
| 34 "mojo/public/cpp/system", |
| 35 ] |
33 | 36 |
34 mojo_edk_public_deps = [ "mojo/edk/util" ] | 37 mojo_edk_public_deps = [ "mojo/edk/util" ] |
35 } | 38 } |
36 | 39 |
37 # Functionality to be used by tests (both those merely using :platform as well | 40 # Functionality to be used by tests (both those merely using :platform as well |
38 # as those implementing the unimplemented parts of :platform). | 41 # as those implementing the unimplemented parts of :platform). |
39 mojo_edk_source_set("test_platform") { | 42 mojo_edk_source_set("test_platform") { |
40 testonly = true | 43 testonly = true |
41 | 44 |
42 sources = [ | 45 sources = [ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 ":test_platform", | 86 ":test_platform", |
84 "//testing/gtest", | 87 "//testing/gtest", |
85 ] | 88 ] |
86 | 89 |
87 # TODO(vtl): This is a suboptimal dependency, but we have to get timeouts from | 90 # TODO(vtl): This is a suboptimal dependency, but we have to get timeouts from |
88 # somewhere. | 91 # somewhere. |
89 mojo_edk_deps = [ "mojo/edk/system/test" ] | 92 mojo_edk_deps = [ "mojo/edk/system/test" ] |
90 | 93 |
91 mojo_sdk_deps = [ "mojo/public/cpp/system" ] | 94 mojo_sdk_deps = [ "mojo/public/cpp/system" ] |
92 } | 95 } |
OLD | NEW |