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
3 # found in the LICENSE file.
5 import("//testing/test.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
8 mojom("client_channel") {
10 "client_channel.mojom",
16 "async_handle_waiter.cc",
17 "async_handle_waiter.h",
18 "client_channel.mojom",
19 "ipc_channel_mojo.cc",
21 "ipc_channel_mojo_host.cc",
22 "ipc_channel_mojo_host.h",
23 "ipc_message_pipe_reader.cc",
24 "ipc_message_pipe_reader.h",
25 "ipc_mojo_bootstrap.cc",
26 "ipc_mojo_bootstrap.h",
27 "ipc_mojo_handle_attachment.cc",
28 "ipc_mojo_handle_attachment.h",
29 "ipc_mojo_message_helper.cc",
30 "ipc_mojo_message_helper.h",
31 "ipc_mojo_param_traits.cc",
32 "ipc_mojo_param_traits.h",
33 "scoped_ipc_support.cc",
34 "scoped_ipc_support.h",
37 defines = [ "IPC_MOJO_IMPLEMENTATION" ]
41 "//base/third_party/dynamic_annotations",
43 "//mojo/environment:chromium",
44 "//third_party/mojo/src/mojo/edk/system",
45 "//third_party/mojo/src/mojo/public/c/environment:environment",
46 "//third_party/mojo/src/mojo/public/cpp/bindings",
51 test("ipc_mojo_unittests") {
53 "async_handle_waiter_unittest.cc",
54 "ipc_channel_mojo_unittest.cc",
55 "ipc_mojo_bootstrap_unittest.cc",
56 "run_all_unittests.cc",
61 "//base/test:test_support",
62 "//base/third_party/dynamic_annotations",
66 "//mojo/environment:chromium",
68 "//third_party/mojo/src/mojo/edk/system",
73 test("ipc_mojo_perftests") {
75 "ipc_mojo_perftest.cc",
80 "//base/test:test_support",
81 "//base/test:test_support_perf",
82 "//base/third_party/dynamic_annotations",
86 "//mojo/environment:chromium",
87 "//third_party/mojo/src/mojo/edk/system",