| 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("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 8 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 9 | 9 |
| 10 component("ipc") { | 10 component("ipc") { |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 export_class_attribute = "IPC_EXPORT" | 123 export_class_attribute = "IPC_EXPORT" |
| 124 export_define = "IPC_IMPLEMENTATION" | 124 export_define = "IPC_IMPLEMENTATION" |
| 125 export_header = "ipc/ipc_export.h" | 125 export_header = "ipc/ipc_export.h" |
| 126 } | 126 } |
| 127 | 127 |
| 128 mojom("test_interfaces") { | 128 mojom("test_interfaces") { |
| 129 testonly = true | 129 testonly = true |
| 130 sources = [ | 130 sources = [ |
| 131 "ipc_test.mojom", | 131 "ipc_test.mojom", |
| 132 ] | 132 ] |
| 133 |
| 134 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 135 use_once_callback = false |
| 133 } | 136 } |
| 134 | 137 |
| 135 # This is provided as a separate target so other targets can provide param | 138 # This is provided as a separate target so other targets can provide param |
| 136 # traits implementations without necessarily linking to all of IPC. | 139 # traits implementations without necessarily linking to all of IPC. |
| 137 source_set("param_traits") { | 140 source_set("param_traits") { |
| 138 public = [ | 141 public = [ |
| 139 "ipc_param_traits.h", | 142 "ipc_param_traits.h", |
| 140 ] | 143 ] |
| 141 } | 144 } |
| 142 | 145 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 ":ipc", | 237 ":ipc", |
| 235 ] | 238 ] |
| 236 deps = [ | 239 deps = [ |
| 237 "//base", | 240 "//base", |
| 238 "//base/test:test_support", | 241 "//base/test:test_support", |
| 239 "//mojo/edk/test:test_support", | 242 "//mojo/edk/test:test_support", |
| 240 "//testing/gtest", | 243 "//testing/gtest", |
| 241 ] | 244 ] |
| 242 } | 245 } |
| 243 } | 246 } |
| OLD | NEW |