| 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("//build/config/nacl/config.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 7 | 8 |
| 8 assert(!is_ios) | 9 assert(!is_ios) |
| 9 | 10 |
| 10 component("ipc") { | 11 component("ipc") { |
| 11 sources = [ | 12 sources = [ |
| 12 "attachment_broker.cc", | 13 "attachment_broker.cc", |
| 13 "attachment_broker.h", | 14 "attachment_broker.h", |
| 14 "attachment_broker_messages.h", | 15 "attachment_broker_messages.h", |
| 15 "attachment_broker_privileged.cc", | 16 "attachment_broker_privileged.cc", |
| 16 "attachment_broker_privileged.h", | 17 "attachment_broker_privileged.h", |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 135 |
| 135 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. | 136 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
| 136 "//base/third_party/dynamic_annotations", | 137 "//base/third_party/dynamic_annotations", |
| 137 ] | 138 ] |
| 138 | 139 |
| 139 if (is_win || is_mac) { | 140 if (is_win || is_mac) { |
| 140 # On Windows HandleAttachmentWin needs to generate random IDs. | 141 # On Windows HandleAttachmentWin needs to generate random IDs. |
| 141 # On Mac MachPortAttachmentMac needs to generate random IDs. | 142 # On Mac MachPortAttachmentMac needs to generate random IDs. |
| 142 deps += [ "//crypto" ] | 143 deps += [ "//crypto" ] |
| 143 } | 144 } |
| 145 |
| 146 if (enable_ipc_fuzzer) { |
| 147 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] |
| 148 } |
| 144 } | 149 } |
| 145 | 150 |
| 146 # This is provided as a separate target so other targets can provide param | 151 # This is provided as a separate target so other targets can provide param |
| 147 # traits implementations without necessarily linking to all of IPC. | 152 # traits implementations without necessarily linking to all of IPC. |
| 148 source_set("param_traits") { | 153 source_set("param_traits") { |
| 149 public = [ | 154 public = [ |
| 150 "ipc_param_traits.h", | 155 "ipc_param_traits.h", |
| 151 ] | 156 ] |
| 152 } | 157 } |
| 153 | 158 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 ] | 251 ] |
| 247 public_deps = [ | 252 public_deps = [ |
| 248 ":ipc", | 253 ":ipc", |
| 249 ] | 254 ] |
| 250 deps = [ | 255 deps = [ |
| 251 "//base", | 256 "//base", |
| 252 "//base/test:test_support", | 257 "//base/test:test_support", |
| 253 "//testing/gtest", | 258 "//testing/gtest", |
| 254 ] | 259 ] |
| 255 } | 260 } |
| OLD | NEW |