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_sdk.gni") | 5 import("../../../mojo_sdk.gni") |
6 | 6 |
7 mojo_sdk_source_set("tests") { | 7 mojo_sdk_source_set("tests") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 sources = [ | 10 sources = [ |
11 "async_wait_unittest.cc", | 11 "async_wait_unittest.cc", |
12 "async_waiter_unittest.cc", | 12 "async_waiter_unittest.cc", |
13 "logger_unittest.cc", | 13 "logger_unittest.cc", |
14 "logging_unittest.cc", | 14 "logging_unittest.cc", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//testing/gtest", | 18 "//testing/gtest", |
19 ] | 19 ] |
20 | 20 |
21 mojo_sdk_deps = [ | 21 mojo_sdk_deps = [ |
22 "mojo/public/c/environment", | 22 "mojo/public/c/environment", |
23 "mojo/public/cpp/bindings:callback", | 23 "mojo/public/cpp/bindings:callback", |
24 "mojo/public/cpp/environment:standalone", | 24 "mojo/public/cpp/environment:standalone", |
25 "mojo/public/cpp/system", | 25 "mojo/public/cpp/system", |
26 "mojo/public/cpp/test_support:test_utils", | 26 "mojo/public/cpp/test_support:test_utils", |
27 "mojo/public/cpp/utility", | 27 "mojo/public/cpp/utility", |
28 ] | 28 ] |
29 } | 29 } |
| 30 |
| 31 mojo_sdk_source_set("perftests") { |
| 32 testonly = true |
| 33 |
| 34 sources = [ |
| 35 "run_loop_async_wait_perftest.cc", |
| 36 ] |
| 37 |
| 38 deps = [ |
| 39 "//testing/gtest", |
| 40 ] |
| 41 |
| 42 mojo_sdk_deps = [ |
| 43 "mojo/public/c/environment/tests:perftest_helpers", |
| 44 "mojo/public/cpp/environment:standalone", |
| 45 "mojo/public/cpp/system", |
| 46 "mojo/public/cpp/test_support", |
| 47 "mojo/public/cpp/utility", |
| 48 ] |
| 49 } |
OLD | NEW |