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 source_set("tests") { | 5 source_set("tests") { |
6 testonly = true | 6 testonly = true |
7 visibility = [ "//mojo/public/cpp/system/tests:mojo_public_system_unittests" ] | 7 visibility = [ "//mojo/public/cpp/system/tests:mojo_public_system_unittests" ] |
8 | 8 |
9 deps = [ | 9 deps = [ |
10 "//testing/gtest", | 10 "//testing/gtest", |
11 ] | 11 ] |
12 | 12 |
13 sources = [ | 13 sources = [ |
14 "core_unittest.cc", | 14 "core_unittest.cc", |
15 "core_unittest_pure_c.c", | 15 "core_unittest_pure_c.c", |
16 "macros_unittest.cc", | 16 "macros_unittest.cc", |
17 ] | 17 ] |
18 } | 18 } |
| 19 |
| 20 # GYP version: mojo/mojo_public_tests.gypi:mojo_public_system_perftests |
| 21 executable("perftests") { |
| 22 testonly = true |
| 23 output_name = "mojo_public_system_perftests" |
| 24 |
| 25 sources = [ |
| 26 "core_perftest.cc", |
| 27 ] |
| 28 |
| 29 deps = [ |
| 30 "//base", |
| 31 "//mojo/common/test:run_all_perftests", |
| 32 "//mojo/public/cpp/test_support:test_utils", |
| 33 "//mojo/public/cpp/utility", |
| 34 "//testing/gtest", |
| 35 ] |
| 36 } |
OLD | NEW |