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_message_pipe_reader.cc",
22 "ipc_message_pipe_reader.h",
23 "ipc_mojo_bootstrap.cc",
24 "ipc_mojo_bootstrap.h",
25 "ipc_mojo_handle_attachment.cc",
26 "ipc_mojo_handle_attachment.h",
27 "ipc_mojo_message_helper.cc",
28 "ipc_mojo_message_helper.h",
29 "ipc_mojo_param_traits.cc",
30 "ipc_mojo_param_traits.h",
31 "scoped_ipc_support.cc",
32 "scoped_ipc_support.h",
35 defines = [ "IPC_MOJO_IMPLEMENTATION" ]
39 "//base/third_party/dynamic_annotations",
41 "//mojo/environment:chromium",
42 "//third_party/mojo/src/mojo/edk/system",
43 "//third_party/mojo/src/mojo/public/c/environment:environment",
44 "//third_party/mojo/src/mojo/public/cpp/bindings",
49 test("ipc_mojo_unittests") {
51 "async_handle_waiter_unittest.cc",
52 "ipc_channel_mojo_unittest.cc",
53 "ipc_mojo_bootstrap_unittest.cc",
54 "run_all_unittests.cc",
59 "//base/test:test_support",
60 "//base/third_party/dynamic_annotations",
64 "//mojo/environment:chromium",
66 "//third_party/mojo/src/mojo/edk/system",
71 test("ipc_mojo_perftests") {
73 "ipc_mojo_perftest.cc",
78 "//base/test:test_support",
79 "//base/test:test_support_perf",
80 "//base/third_party/dynamic_annotations",
84 "//mojo/environment:chromium",
85 "//third_party/mojo/src/mojo/edk/system",