Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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("//testing/test.gni") | 6 import("//testing/test.gni") |
| 6 | 7 |
| 7 component("ipc") { | 8 component("ipc") { |
| 8 sources = [ | 9 sources = [ |
| 9 "attachment_broker.cc", | 10 "attachment_broker.cc", |
| 10 "attachment_broker.h", | 11 "attachment_broker.h", |
| 11 "attachment_broker_messages.h", | 12 "attachment_broker_messages.h", |
| 12 "attachment_broker_privileged.cc", | 13 "attachment_broker_privileged.cc", |
| 13 "attachment_broker_privileged.h", | 14 "attachment_broker_privileged.h", |
| 14 "attachment_broker_privileged_mac.cc", | 15 "attachment_broker_privileged_mac.cc", |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 110 sources -= [ | 111 sources -= [ |
| 111 "ipc_channel_nacl.cc", | 112 "ipc_channel_nacl.cc", |
| 112 "ipc_channel_nacl.h", | 113 "ipc_channel_nacl.h", |
| 113 ] | 114 ] |
| 114 } | 115 } |
| 115 | 116 |
| 116 if (is_win || is_ios) { | 117 if (is_win || is_ios) { |
| 117 sources -= [ "unix_domain_socket_util.cc" ] | 118 sources -= [ "unix_domain_socket_util.cc" ] |
| 118 } | 119 } |
| 119 | 120 |
| 121 if (is_nacl_nonsfi) { | |
| 122 sources -= [ | |
| 123 "ipc_channel_nacl.cc", | |
| 124 "ipc_channel_nacl.h", | |
| 125 ] | |
| 126 sources += [ | |
|
Mark Seaborn
2015/10/22 21:48:30
This mix of adding and removing sources is a bit c
Petr Hosek
2015/10/23 03:01:15
Done.
| |
| 127 "ipc_channel.cc", | |
| 128 "ipc_channel_posix.cc", | |
| 129 ] | |
| 130 } | |
| 131 | |
| 120 defines = [ "IPC_IMPLEMENTATION" ] | 132 defines = [ "IPC_IMPLEMENTATION" ] |
| 121 | 133 |
| 122 deps = [ | 134 deps = [ |
| 123 "//base", | 135 "//base", |
| 124 | 136 |
| 125 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. | 137 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
| 126 "//base/third_party/dynamic_annotations", | 138 "//base/third_party/dynamic_annotations", |
| 127 ] | 139 ] |
| 128 | 140 |
| 129 if (is_win || is_mac) { | 141 if (is_win || is_mac) { |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 238 "test_util_mac.cc", | 250 "test_util_mac.cc", |
| 239 "test_util_mac.h", | 251 "test_util_mac.h", |
| 240 ] | 252 ] |
| 241 deps = [ | 253 deps = [ |
| 242 ":ipc", | 254 ":ipc", |
| 243 "//base", | 255 "//base", |
| 244 "//base/test:test_support", | 256 "//base/test:test_support", |
| 245 "//testing/gtest", | 257 "//testing/gtest", |
| 246 ] | 258 ] |
| 247 } | 259 } |
| OLD | NEW |