Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / ipc / mojo / BUILD.gn
blob2c169a91c419788d0a2a800d2af282c342d9f02c
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") {
9   sources = [
10     "client_channel.mojom",
11   ]
14 component("mojo") {
15   sources = [
16     "client_channel.mojom",
17     "async_handle_waiter.cc",
18     "async_handle_waiter.h",
19     "ipc_channel_mojo.cc",
20     "ipc_channel_mojo.h",
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",
27   ]
29   defines = [ "IPC_MOJO_IMPLEMENTATION" ]
31   deps = [
32     "//base",
33     "//base/third_party/dynamic_annotations",
34     "//ipc",
35     "//mojo/environment:chromium",
36     "//third_party/mojo/src/mojo/public/cpp/bindings",
37     "//third_party/mojo/src/mojo/edk/system",
38     ":client_channel",
39   ]
42 test("ipc_mojo_unittests") {
43   sources = [
44     "async_handle_waiter_unittest.cc",
45     "ipc_channel_mojo_unittest.cc",
46     "ipc_mojo_bootstrap_unittest.cc",
47     "run_all_unittests.cc",
48   ]
50   deps = [
51     "//base",
52     "//base/test:test_support",
53     "//base/third_party/dynamic_annotations",
54     "//ipc",
55     "//ipc:test_support",
56     "//ipc/mojo",
57     "//mojo/environment:chromium",
58     "//third_party/mojo/src/mojo/edk/system",
59     "//url",
60   ]
63 test("ipc_mojo_perftests") {
64   sources = [
65     "ipc_mojo_perftest.cc",
66   ]
68   deps = [
69     "//base",
70     "//base/test:test_support",
71     "//base/test:test_support_perf",
72     "//base/third_party/dynamic_annotations",
73     "//ipc",
74     "//ipc:test_support",
75     "//ipc/mojo",
76     "//mojo/environment:chromium",
77     "//third_party/mojo/src/mojo/edk/system",
78     "//url",
79   ]