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("//mojo/public/tools/bindings/mojom.gni")
7 mojom("client_channel") {
9 "client_channel.mojom",
15 "client_channel.mojom",
16 "ipc_channel_mojo.cc",
18 "ipc_channel_mojo_host.cc",
19 "ipc_channel_mojo_host.h",
20 "ipc_channel_mojo_readers.cc",
21 "ipc_channel_mojo_readers.h",
22 "ipc_mojo_bootstrap.cc",
23 "ipc_mojo_bootstrap.h",
24 "ipc_message_pipe_reader.cc",
25 "ipc_message_pipe_reader.h",
28 defines = [ "IPC_MOJO_IMPLEMENTATION" ]
32 "//base/third_party/dynamic_annotations",
34 "//mojo/environment:chromium",
35 "//mojo/public/cpp/bindings",
41 test("ipc_mojo_unittests") {
43 "ipc_channel_mojo_unittest.cc",
44 "ipc_mojo_bootstrap_unittest.cc",
45 "run_all_unittests.cc",
50 "//base/test:test_support",
51 "//base/third_party/dynamic_annotations",
56 "//mojo/environment:chromium",
61 test("ipc_mojo_perftests") {
63 "ipc_mojo_perftest.cc",
68 "//base/test:test_support",
69 "//base/test:test_support_perf",
70 "//base/third_party/dynamic_annotations",
75 "//mojo/environment:chromium",