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("//build/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("../../../mojo/public/tools/bindings/mojom.gni") | 7 import("../../../mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 "//base", | 147 "//base", |
148 "//base/test:test_support", | 148 "//base/test:test_support", |
149 "//mojo/edk/test:test_support", | 149 "//mojo/edk/test:test_support", |
150 "//testing/gtest:gtest", | 150 "//testing/gtest:gtest", |
151 ] | 151 ] |
152 } | 152 } |
153 | 153 |
154 test("mojo_system_unittests") { | 154 test("mojo_system_unittests") { |
155 sources = [ | 155 sources = [ |
156 "awakable_list_unittest.cc", | 156 "awakable_list_unittest.cc", |
| 157 "channel_unittest.cc", |
157 "core_test_base.cc", | 158 "core_test_base.cc", |
158 "core_test_base.h", | 159 "core_test_base.h", |
159 "core_unittest.cc", | 160 "core_unittest.cc", |
160 "message_pipe_unittest.cc", | 161 "message_pipe_unittest.cc", |
161 "options_validation_unittest.cc", | 162 "options_validation_unittest.cc", |
162 "platform_handle_dispatcher_unittest.cc", | 163 "platform_handle_dispatcher_unittest.cc", |
163 "shared_buffer_dispatcher_unittest.cc", | 164 "shared_buffer_dispatcher_unittest.cc", |
164 "shared_buffer_unittest.cc", | 165 "shared_buffer_unittest.cc", |
165 "wait_set_dispatcher_unittest.cc", | 166 "wait_set_dispatcher_unittest.cc", |
166 "waiter_test_utils.cc", | 167 "waiter_test_utils.cc", |
(...skipping 12 matching lines...) Expand all Loading... |
179 | 180 |
180 deps = [ | 181 deps = [ |
181 ":test_utils", | 182 ":test_utils", |
182 "//base", | 183 "//base", |
183 "//base/test:test_support", | 184 "//base/test:test_support", |
184 "//mojo/edk/embedder:embedder_unittests", | 185 "//mojo/edk/embedder:embedder_unittests", |
185 "//mojo/edk/system", | 186 "//mojo/edk/system", |
186 "//mojo/edk/system/ports:tests", | 187 "//mojo/edk/system/ports:tests", |
187 "//mojo/edk/test:run_all_unittests", | 188 "//mojo/edk/test:run_all_unittests", |
188 "//mojo/edk/test:test_support", | 189 "//mojo/edk/test:test_support", |
| 190 "//testing/gmock", |
189 "//testing/gtest", | 191 "//testing/gtest", |
190 ] | 192 ] |
191 | 193 |
192 allow_circular_includes_from = [ "//mojo/edk/embedder:embedder_unittests" ] | 194 allow_circular_includes_from = [ "//mojo/edk/embedder:embedder_unittests" ] |
193 } | 195 } |
194 | 196 |
195 if (!is_ios) { | 197 if (!is_ios) { |
196 test("mojo_message_pipe_perftests") { | 198 test("mojo_message_pipe_perftests") { |
197 sources = [ | 199 sources = [ |
198 "message_pipe_perftest.cc", | 200 "message_pipe_perftest.cc", |
199 ] | 201 ] |
200 | 202 |
201 deps = [ | 203 deps = [ |
202 ":test_utils", | 204 ":test_utils", |
203 "//base", | 205 "//base", |
204 "//base/test:test_support", | 206 "//base/test:test_support", |
205 "//mojo/edk/system", | 207 "//mojo/edk/system", |
206 "//mojo/edk/test:run_all_perftests", | 208 "//mojo/edk/test:run_all_perftests", |
207 "//mojo/edk/test:test_support", | 209 "//mojo/edk/test:test_support", |
208 "//testing/gtest", | 210 "//testing/gtest", |
209 ] | 211 ] |
210 } | 212 } |
211 } | 213 } |
OLD | NEW |