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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 source_set("latency") { | 7 source_set("latency") { |
8 sources = [ | 8 sources = [ |
9 "latency_info.cc", | 9 "latency_info.cc", |
10 "latency_info.h", | 10 "latency_info.h", |
11 ] | 11 ] |
12 | 12 |
13 deps = [ | 13 deps = [ |
14 "//base", | 14 "//base", |
15 "//ui/gfx", | 15 "//ui/gfx", |
16 ] | 16 ] |
17 } | 17 } |
18 | 18 |
19 test("latency_unittests") { | 19 test("latency_unittests") { |
20 sources = [ | 20 sources = [ |
21 "latency_info_unittest.cc", | 21 "latency_info_unittest.cc", |
22 ] | 22 ] |
23 | 23 |
24 deps = [ | 24 deps = [ |
25 ":latency", | 25 ":latency", |
26 "//base", | 26 "//base", |
27 "//base/test:run_all_unittests", | |
28 "//base/test:test_support", | 27 "//base/test:test_support", |
| 28 "//mojo/edk/test:run_all_unittests", |
29 "//testing/gmock", | 29 "//testing/gmock", |
30 "//testing/gtest", | 30 "//testing/gtest", |
31 ] | 31 ] |
32 | 32 |
33 if (!is_ios) { | 33 if (!is_ios) { |
34 sources += [ | 34 sources += [ |
35 "ipc/latency_info_param_traits_unittest.cc", | 35 "ipc/latency_info_param_traits_unittest.cc", |
36 "mojo/struct_traits_unittest", | 36 "mojo/struct_traits_unittest.cc", |
37 ] | 37 ] |
38 deps += [ | 38 deps += [ |
39 "//ipc:test_support", | 39 "//ipc:test_support", |
| 40 "//mojo/public/cpp/bindings", |
40 "//ui/latency/ipc", | 41 "//ui/latency/ipc", |
| 42 "//ui/latency/mojo:test_interfaces", |
41 ] | 43 ] |
42 } | 44 } |
43 } | 45 } |
OLD | NEW |