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 | 7 |
8 visibility = [ | 8 visibility = [ |
9 "//mojo/public/cpp/system/tests:mojo_public_system_unittests", | 9 "//mojo/public/cpp/system/tests:mojo_public_system_unittests", |
10 "//mojo/public/cpp/system/tests:tests", | 10 "//mojo/public/cpp/system/tests:tests", |
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 deps = [ | 19 deps = [ |
20 "//mojo/public/c/environment", | |
21 "//mojo/public/c/system", | 20 "//mojo/public/c/system", |
22 "//testing/gtest", | 21 "//testing/gtest", |
23 ] | 22 ] |
24 } | 23 } |
25 | 24 |
26 source_set("perftests") { | 25 source_set("perftests") { |
27 testonly = true | 26 testonly = true |
28 | 27 |
29 sources = [ | 28 sources = [ |
30 "core_perftest.cc", | 29 "core_perftest.cc", |
31 ] | 30 ] |
32 | 31 |
33 deps = [ | 32 deps = [ |
34 "//mojo/public/c/environment", | |
35 "//mojo/public/cpp/environment:standalone", | |
36 "//mojo/public/cpp/system", | 33 "//mojo/public/cpp/system", |
37 "//mojo/public/cpp/test_support:test_utils", | 34 "//mojo/public/cpp/test_support:test_utils", |
38 "//mojo/public/cpp/utility", | 35 "//mojo/public/cpp/utility", |
39 "//testing/gtest", | 36 "//testing/gtest", |
40 ] | 37 ] |
41 } | 38 } |
OLD | NEW |