OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 |
| 7 mojom("client_channel") { |
| 8 sources = [ |
| 9 "client_channel.mojom", |
| 10 ] |
| 11 } |
| 12 |
5 component("mojo") { | 13 component("mojo") { |
6 sources = [ | 14 sources = [ |
| 15 "client_channel.mojom", |
7 "ipc_channel_mojo.cc", | 16 "ipc_channel_mojo.cc", |
8 "ipc_channel_mojo.h", | 17 "ipc_channel_mojo.h", |
9 "ipc_channel_mojo_host.cc", | 18 "ipc_channel_mojo_host.cc", |
10 "ipc_channel_mojo_host.h", | 19 "ipc_channel_mojo_host.h", |
11 "ipc_channel_mojo_readers.cc", | 20 "ipc_channel_mojo_readers.cc", |
12 "ipc_channel_mojo_readers.h", | 21 "ipc_channel_mojo_readers.h", |
13 "ipc_mojo_bootstrap.cc", | 22 "ipc_mojo_bootstrap.cc", |
14 "ipc_mojo_bootstrap.h", | 23 "ipc_mojo_bootstrap.h", |
15 "ipc_message_pipe_reader.cc", | 24 "ipc_message_pipe_reader.cc", |
16 "ipc_message_pipe_reader.h", | 25 "ipc_message_pipe_reader.h", |
17 ] | 26 ] |
18 | 27 |
19 defines = [ "IPC_MOJO_IMPLEMENTATION" ] | 28 defines = [ "IPC_MOJO_IMPLEMENTATION" ] |
20 | 29 |
21 deps = [ | 30 deps = [ |
22 "//base", | 31 "//base", |
23 "//base/third_party/dynamic_annotations", | 32 "//base/third_party/dynamic_annotations", |
24 "//ipc", | 33 "//ipc", |
25 "//mojo/environment:chromium", | 34 "//mojo/environment:chromium", |
26 "//mojo/public/cpp/bindings", | 35 "//mojo/public/cpp/bindings", |
27 "//mojo/edk/system", | 36 "//mojo/edk/system", |
| 37 ":client_channel", |
28 ] | 38 ] |
29 } | 39 } |
30 | 40 |
31 test("ipc_mojo_unittests") { | 41 test("ipc_mojo_unittests") { |
32 sources = [ | 42 sources = [ |
33 "ipc_channel_mojo_unittest.cc", | 43 "ipc_channel_mojo_unittest.cc", |
34 "ipc_mojo_bootstrap_unittest.cc", | 44 "ipc_mojo_bootstrap_unittest.cc", |
35 "run_all_unittests.cc", | 45 "run_all_unittests.cc", |
36 ] | 46 ] |
37 | 47 |
(...skipping 21 matching lines...) Expand all Loading... |
59 "//base/test:test_support_perf", | 69 "//base/test:test_support_perf", |
60 "//base/third_party/dynamic_annotations", | 70 "//base/third_party/dynamic_annotations", |
61 "//ipc", | 71 "//ipc", |
62 "//ipc:test_support", | 72 "//ipc:test_support", |
63 "//ipc/mojo", | 73 "//ipc/mojo", |
64 "//mojo/edk/system", | 74 "//mojo/edk/system", |
65 "//mojo/environment:chromium", | 75 "//mojo/environment:chromium", |
66 "//url", | 76 "//url", |
67 ] | 77 ] |
68 } | 78 } |
OLD | NEW |