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") | 5 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 mojom("client_channel") { | 7 mojom("client_channel") { |
8 sources = [ | 8 sources = [ |
9 "client_channel.mojom", | 9 "client_channel.mojom", |
10 ] | 10 ] |
11 } | 11 } |
12 | 12 |
13 component("mojo") { | 13 component("mojo") { |
14 sources = [ | 14 sources = [ |
15 "client_channel.mojom", | 15 "client_channel.mojom", |
16 "async_handle_waiter.cc", | 16 "async_handle_waiter.cc", |
17 "async_handle_waiter.h", | 17 "async_handle_waiter.h", |
18 "ipc_channel_mojo.cc", | 18 "ipc_channel_mojo.cc", |
19 "ipc_channel_mojo.h", | 19 "ipc_channel_mojo.h", |
20 "ipc_channel_mojo_host.cc", | 20 "ipc_channel_mojo_host.cc", |
21 "ipc_channel_mojo_host.h", | 21 "ipc_channel_mojo_host.h", |
22 "ipc_mojo_bootstrap.cc", | 22 "ipc_mojo_bootstrap.cc", |
23 "ipc_mojo_bootstrap.h", | 23 "ipc_mojo_bootstrap.h", |
24 "ipc_message_pipe_reader.cc", | 24 "ipc_message_pipe_reader.cc", |
25 "ipc_message_pipe_reader.h", | 25 "ipc_message_pipe_reader.h", |
26 ] | 26 ] |
27 | 27 |
28 defines = [ "IPC_MOJO_IMPLEMENTATION" ] | 28 defines = [ "IPC_MOJO_IMPLEMENTATION" ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 "//base", | 31 "//base", |
32 "//base/third_party/dynamic_annotations", | 32 "//base/third_party/dynamic_annotations", |
33 "//ipc", | 33 "//ipc", |
34 "//mojo/environment:chromium", | 34 "//mojo/environment:chromium", |
35 "//mojo/public/cpp/bindings", | 35 "//third_party/mojo/src/mojo/public/cpp/bindings", |
36 "//mojo/edk/system", | 36 "//third_party/mojo/src/mojo/edk/system", |
37 ":client_channel", | 37 ":client_channel", |
38 ] | 38 ] |
39 } | 39 } |
40 | 40 |
41 test("ipc_mojo_unittests") { | 41 test("ipc_mojo_unittests") { |
42 sources = [ | 42 sources = [ |
43 "async_handle_waiter_unittest.cc", | 43 "async_handle_waiter_unittest.cc", |
44 "ipc_channel_mojo_unittest.cc", | 44 "ipc_channel_mojo_unittest.cc", |
45 "ipc_mojo_bootstrap_unittest.cc", | 45 "ipc_mojo_bootstrap_unittest.cc", |
46 "run_all_unittests.cc", | 46 "run_all_unittests.cc", |
47 ] | 47 ] |
48 | 48 |
49 deps = [ | 49 deps = [ |
50 "//base", | 50 "//base", |
51 "//base/test:test_support", | 51 "//base/test:test_support", |
52 "//base/third_party/dynamic_annotations", | 52 "//base/third_party/dynamic_annotations", |
53 "//ipc", | 53 "//ipc", |
54 "//ipc:test_support", | 54 "//ipc:test_support", |
55 "//ipc/mojo", | 55 "//ipc/mojo", |
56 "//mojo/edk/system", | |
57 "//mojo/environment:chromium", | 56 "//mojo/environment:chromium", |
| 57 "//third_party/mojo/src/mojo/edk/system", |
58 "//url", | 58 "//url", |
59 ] | 59 ] |
60 } | 60 } |
61 | 61 |
62 test("ipc_mojo_perftests") { | 62 test("ipc_mojo_perftests") { |
63 sources = [ | 63 sources = [ |
64 "ipc_mojo_perftest.cc", | 64 "ipc_mojo_perftest.cc", |
65 ] | 65 ] |
66 | 66 |
67 deps = [ | 67 deps = [ |
68 "//base", | 68 "//base", |
69 "//base/test:test_support", | 69 "//base/test:test_support", |
70 "//base/test:test_support_perf", | 70 "//base/test:test_support_perf", |
71 "//base/third_party/dynamic_annotations", | 71 "//base/third_party/dynamic_annotations", |
72 "//ipc", | 72 "//ipc", |
73 "//ipc:test_support", | 73 "//ipc:test_support", |
74 "//ipc/mojo", | 74 "//ipc/mojo", |
75 "//mojo/edk/system", | |
76 "//mojo/environment:chromium", | 75 "//mojo/environment:chromium", |
| 76 "//third_party/mojo/src/mojo/edk/system", |
77 "//url", | 77 "//url", |
78 ] | 78 ] |
79 } | 79 } |
OLD | NEW |