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