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 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
8 | 8 |
9 component("ipc") { | 9 component("ipc") { |
10 sources = [ | 10 sources = [ |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 } | 126 } |
127 | 127 |
128 defines = [ "IPC_IMPLEMENTATION" ] | 128 defines = [ "IPC_IMPLEMENTATION" ] |
129 | 129 |
130 public_deps = [ | 130 public_deps = [ |
131 ":param_traits", | 131 ":param_traits", |
132 "//mojo/public/cpp/system", | 132 "//mojo/public/cpp/system", |
133 ] | 133 ] |
134 deps = [ | 134 deps = [ |
135 "//base", | 135 "//base", |
136 | |
137 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. | |
138 "//base/third_party/dynamic_annotations", | |
139 "//mojo/public/cpp/bindings", | 136 "//mojo/public/cpp/bindings", |
140 ] | 137 ] |
141 | 138 |
142 if (is_win || is_mac) { | 139 if (is_win || is_mac) { |
143 # On Windows HandleAttachmentWin needs to generate random IDs. | 140 # On Windows HandleAttachmentWin needs to generate random IDs. |
144 # On Mac MachPortAttachmentMac needs to generate random IDs. | 141 # On Mac MachPortAttachmentMac needs to generate random IDs. |
145 deps += [ "//crypto" ] | 142 deps += [ "//crypto" ] |
146 } | 143 } |
147 | 144 |
148 if (enable_ipc_fuzzer) { | 145 if (enable_ipc_fuzzer) { |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 public_deps = [ | 266 public_deps = [ |
270 ":ipc", | 267 ":ipc", |
271 ] | 268 ] |
272 deps = [ | 269 deps = [ |
273 "//base", | 270 "//base", |
274 "//base/test:test_support", | 271 "//base/test:test_support", |
275 "//testing/gtest", | 272 "//testing/gtest", |
276 ] | 273 ] |
277 } | 274 } |
278 } | 275 } |
OLD | NEW |