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("//mojo/public/tools/bindings/mojom.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 mojom("client_channel") { | 8 mojom("client_channel") { |
9 sources = [ | 9 sources = [ |
10 "client_channel.mojom", | 10 "client_channel.mojom", |
(...skipping 21 matching lines...) Expand all Loading... |
32 "scoped_ipc_support.h", | 32 "scoped_ipc_support.h", |
33 ] | 33 ] |
34 | 34 |
35 defines = [ "IPC_MOJO_IMPLEMENTATION" ] | 35 defines = [ "IPC_MOJO_IMPLEMENTATION" ] |
36 | 36 |
37 deps = [ | 37 deps = [ |
38 ":client_channel", | 38 ":client_channel", |
39 "//base", | 39 "//base", |
40 "//base/third_party/dynamic_annotations", | 40 "//base/third_party/dynamic_annotations", |
41 "//ipc", | 41 "//ipc", |
| 42 "//mojo/edk/system", |
42 "//mojo/environment:chromium", | 43 "//mojo/environment:chromium", |
43 "//mojo/public/c/environment:environment", | 44 "//mojo/public/c/environment:environment", |
44 "//mojo/public/cpp/bindings", | 45 "//mojo/public/cpp/bindings", |
45 "//third_party/mojo/src/mojo/edk/system", | |
46 ] | 46 ] |
47 } | 47 } |
48 | 48 |
49 test("ipc_mojo_unittests") { | 49 test("ipc_mojo_unittests") { |
50 sources = [ | 50 sources = [ |
51 "async_handle_waiter_unittest.cc", | 51 "async_handle_waiter_unittest.cc", |
52 "ipc_channel_mojo_unittest.cc", | 52 |
| 53 # TODO(rockot): Re-enable these when we're ready to start using ChannelMojo |
| 54 # again. They need to be updated to support multiprocess testing with the |
| 55 # current Mojo EDK implementation. |
| 56 #"ipc_channel_mojo_unittest.cc", |
53 "ipc_mojo_bootstrap_unittest.cc", | 57 "ipc_mojo_bootstrap_unittest.cc", |
54 "run_all_unittests.cc", | 58 "run_all_unittests.cc", |
55 ] | 59 ] |
56 | 60 |
57 deps = [ | 61 deps = [ |
58 "//base", | 62 "//base", |
59 "//base/test:test_support", | 63 "//base/test:test_support", |
60 "//base/third_party/dynamic_annotations", | 64 "//base/third_party/dynamic_annotations", |
61 "//ipc", | 65 "//ipc", |
62 "//ipc:test_support", | 66 "//ipc:test_support", |
63 "//ipc/mojo", | 67 "//ipc/mojo", |
| 68 "//mojo/edk/system", |
64 "//mojo/environment:chromium", | 69 "//mojo/environment:chromium", |
65 "//testing/gtest", | 70 "//testing/gtest", |
66 "//third_party/mojo/src/mojo/edk/system", | |
67 "//url", | 71 "//url", |
68 ] | 72 ] |
69 } | 73 } |
70 | 74 |
71 test("ipc_mojo_perftests") { | 75 test("ipc_mojo_perftests") { |
72 sources = [ | 76 sources = [ |
73 "ipc_mojo_perftest.cc", | 77 "ipc_mojo_perftest.cc", |
74 ] | 78 ] |
75 | 79 |
76 deps = [ | 80 deps = [ |
77 "//base", | 81 "//base", |
78 "//base/test:test_support", | 82 "//base/test:test_support", |
79 "//base/test:test_support_perf", | 83 "//base/test:test_support_perf", |
80 "//base/third_party/dynamic_annotations", | 84 "//base/third_party/dynamic_annotations", |
81 "//ipc", | 85 "//ipc", |
82 "//ipc:test_support", | 86 "//ipc:test_support", |
83 "//ipc/mojo", | 87 "//ipc/mojo", |
| 88 "//mojo/edk/system", |
84 "//mojo/environment:chromium", | 89 "//mojo/environment:chromium", |
85 "//third_party/mojo/src/mojo/edk/system", | |
86 "//url", | 90 "//url", |
87 ] | 91 ] |
88 } | 92 } |
OLD | NEW |