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