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 # GYP version: mojo/mojo_base.gyp:mojo_public_utility_unittests | 5 import("../../../mojo_sdk.gni") |
6 test("mojo_public_utility_unittests") { | 6 |
7 deps = [ | 7 mojo_sdk_source_set("tests") { |
8 "//mojo/edk/test:run_all_unittests", | 8 testonly = true |
9 "//mojo/public/cpp/system", | |
10 "//mojo/public/cpp/test_support:test_utils", | |
11 "//mojo/public/cpp/utility", | |
12 "//testing/gtest", | |
13 ] | |
14 | 9 |
15 sources = [ | 10 sources = [ |
16 "run_loop_unittest.cc", | 11 "run_loop_unittest.cc", |
17 ] | 12 ] |
18 | 13 |
| 14 deps = [ |
| 15 "//testing/gtest", |
| 16 ] |
| 17 |
| 18 mojo_sdk_deps = [ |
| 19 "mojo/public/cpp/system", |
| 20 "mojo/public/cpp/test_support:test_utils", |
| 21 "mojo/public/cpp/utility", |
| 22 ] |
| 23 |
19 # crbug.com/342893 | 24 # crbug.com/342893 |
20 if (!is_win) { | 25 if (!is_win) { |
21 sources += [ | 26 sources += [ |
22 "mutex_unittest.cc", | 27 "mutex_unittest.cc", |
23 "thread_unittest.cc", | 28 "thread_unittest.cc", |
24 ] | 29 ] |
25 } | 30 } |
26 } | 31 } |
OLD | NEW |