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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
7 mojom("client_channel") {
9 "client_channel.mojom",
15 "client_channel.mojom",
16 "async_handle_waiter.cc",
17 "async_handle_waiter.h",
18 "ipc_channel_mojo.cc",
20 "ipc_channel_mojo_host.cc",
21 "ipc_channel_mojo_host.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 "//third_party/mojo/src/mojo/public/cpp/bindings",
36 "//third_party/mojo/src/mojo/edk/system",
41 test("ipc_mojo_unittests") {
43 "async_handle_waiter_unittest.cc",
44 "ipc_channel_mojo_unittest.cc",
45 "ipc_mojo_bootstrap_unittest.cc",
46 "run_all_unittests.cc",
51 "//base/test:test_support",
52 "//base/third_party/dynamic_annotations",
56 "//mojo/environment:chromium",
57 "//third_party/mojo/src/mojo/edk/system",
62 test("ipc_mojo_perftests") {
64 "ipc_mojo_perftest.cc",
69 "//base/test:test_support",
70 "//base/test:test_support_perf",
71 "//base/third_party/dynamic_annotations",
75 "//mojo/environment:chromium",
76 "//third_party/mojo/src/mojo/edk/system",