OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
11 | 11 |
12 config("system_config") { | 12 config("system_config") { |
13 defines = [ | 13 defines = [ |
14 # Ensures that dependent projects import the core functions on Windows. | 14 # Ensures that dependent projects import the core functions on Windows. |
15 "MOJO_USE_SYSTEM_IMPL", | 15 "MOJO_USE_SYSTEM_IMPL", |
16 ] | 16 ] |
17 } | 17 } |
18 | 18 |
19 component("system") { | 19 component("system") { |
20 output_name = "mojo_system_impl" | 20 output_name = "mojo_system_impl" |
21 | 21 |
22 sources = [ | 22 sources = [ |
| 23 "async_waiter.cc", |
| 24 "async_waiter.h", |
23 "awakable.h", | 25 "awakable.h", |
24 "awakable_list.cc", | 26 "awakable_list.cc", |
25 "awakable_list.h", | 27 "awakable_list.h", |
26 "channel.cc", | 28 "channel.cc", |
27 "channel.h", | 29 "channel.h", |
28 "channel_endpoint.cc", | 30 "channel_endpoint.cc", |
29 "channel_endpoint.h", | 31 "channel_endpoint.h", |
30 "channel_endpoint_client.h", | 32 "channel_endpoint_client.h", |
31 "channel_endpoint_id.cc", | 33 "channel_endpoint_id.cc", |
32 "channel_endpoint_id.h", | 34 "channel_endpoint_id.h", |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 } | 196 } |
195 | 197 |
196 if (is_android) { | 198 if (is_android) { |
197 unittest_apk("mojo_system_unittests_apk") { | 199 unittest_apk("mojo_system_unittests_apk") { |
198 deps = [ | 200 deps = [ |
199 ":mojo_system_unittests", | 201 ":mojo_system_unittests", |
200 ] | 202 ] |
201 unittests_dep = ":mojo_system_unittests" | 203 unittests_dep = ":mojo_system_unittests" |
202 } | 204 } |
203 } | 205 } |
OLD | NEW |