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("//build/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("../../../mojo/public/tools/bindings/mojom.gni") | 7 import("../../../mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
11 import("//build/config/android/rules.gni") | 11 import("//build/config/android/rules.gni") |
12 } | 12 } |
13 | 13 |
14 component("system") { | 14 component("system") { |
15 output_name = "mojo_system_impl" | 15 output_name = "mojo_system_impl" |
16 | 16 |
17 sources = [ | 17 sources = [ |
18 "atomic_flag.h", | 18 "atomic_flag.h", |
19 "awakable.h", | 19 "awakable.h", |
20 "awakable_list.cc", | 20 "awakable_list.cc", |
21 "awakable_list.h", | 21 "awakable_list.h", |
22 "broker.h", | 22 "broker.h", |
| 23 "broker_host.cc", |
23 "broker_host.h", | 24 "broker_host.h", |
24 "broker_host_posix.cc", | |
25 "broker_posix.cc", | 25 "broker_posix.cc", |
| 26 "broker_win.cc", |
26 "channel.cc", | 27 "channel.cc", |
27 "channel.h", | 28 "channel.h", |
28 "channel_posix.cc", | 29 "channel_posix.cc", |
29 "channel_win.cc", | 30 "channel_win.cc", |
30 "configuration.cc", | 31 "configuration.cc", |
31 "configuration.h", | 32 "configuration.h", |
32 "core.cc", | 33 "core.cc", |
33 "core.h", | 34 "core.h", |
34 "data_pipe_consumer_dispatcher.cc", | 35 "data_pipe_consumer_dispatcher.cc", |
35 "data_pipe_consumer_dispatcher.h", | 36 "data_pipe_consumer_dispatcher.h", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 100 |
100 if (is_mac && !is_ios) { | 101 if (is_mac && !is_ios) { |
101 sources += [ | 102 sources += [ |
102 "mach_port_relay.cc", | 103 "mach_port_relay.cc", |
103 "mach_port_relay.h", | 104 "mach_port_relay.h", |
104 ] | 105 ] |
105 } | 106 } |
106 | 107 |
107 if (is_nacl && !is_nacl_nonsfi) { | 108 if (is_nacl && !is_nacl_nonsfi) { |
108 sources -= [ | 109 sources -= [ |
109 "broker_host_posix.cc", | 110 "broker_host.cc", |
110 "broker_posix.cc", | 111 "broker_posix.cc", |
111 "channel_posix.cc", | 112 "channel_posix.cc", |
112 "remote_message_pipe_bootstrap.cc", | 113 "remote_message_pipe_bootstrap.cc", |
113 ] | 114 ] |
114 } | 115 } |
115 | 116 |
116 # Use target_os == "chromeos" instead of is_chromeos because we need to | 117 # Use target_os == "chromeos" instead of is_chromeos because we need to |
117 # build NaCl targets (i.e. IRT) for ChromeOS the same as the rest of ChromeOS. | 118 # build NaCl targets (i.e. IRT) for ChromeOS the same as the rest of ChromeOS. |
118 if (is_android || target_os == "chromeos") { | 119 if (is_android || target_os == "chromeos") { |
119 defines += [ "MOJO_EDK_LEGACY_PROTOCOL" ] | 120 defines += [ "MOJO_EDK_LEGACY_PROTOCOL" ] |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 ":test_utils", | 206 ":test_utils", |
206 "//base", | 207 "//base", |
207 "//base/test:test_support", | 208 "//base/test:test_support", |
208 "//mojo/edk/system", | 209 "//mojo/edk/system", |
209 "//mojo/edk/test:run_all_perftests", | 210 "//mojo/edk/test:run_all_perftests", |
210 "//mojo/edk/test:test_support", | 211 "//mojo/edk/test:test_support", |
211 "//testing/gtest", | 212 "//testing/gtest", |
212 ] | 213 ] |
213 } | 214 } |
214 } | 215 } |
OLD | NEW |