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 "client_channel.mojom",
17 "async_handle_waiter.cc",
18 "async_handle_waiter.h",
19 "ipc_channel_mojo.cc",
21 "ipc_channel_mojo_host.cc",
22 "ipc_channel_mojo_host.h",
23 "ipc_mojo_bootstrap.cc",
24 "ipc_mojo_bootstrap.h",
25 "ipc_message_pipe_reader.cc",
26 "ipc_message_pipe_reader.h",
29 defines = [ "IPC_MOJO_IMPLEMENTATION" ]
33 "//base/third_party/dynamic_annotations",
35 "//mojo/environment:chromium",
36 "//third_party/mojo/src/mojo/public/cpp/bindings",
37 "//third_party/mojo/src/mojo/edk/system",
42 test("ipc_mojo_unittests") {
44 "async_handle_waiter_unittest.cc",
45 "ipc_channel_mojo_unittest.cc",
46 "ipc_mojo_bootstrap_unittest.cc",
47 "run_all_unittests.cc",
52 "//base/test:test_support",
53 "//base/third_party/dynamic_annotations",
57 "//mojo/environment:chromium",
58 "//third_party/mojo/src/mojo/edk/system",
63 test("ipc_mojo_perftests") {
65 "ipc_mojo_perftest.cc",
70 "//base/test:test_support",
71 "//base/test:test_support_perf",
72 "//base/third_party/dynamic_annotations",
76 "//mojo/environment:chromium",
77 "//third_party/mojo/src/mojo/edk/system",