OLD | NEW |
| (Empty) |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//testing/test.gni") | |
6 | |
7 component("latency_info") { | |
8 sources = [ | |
9 "latency_info.cc", | |
10 "latency_info.h", | |
11 "latency_info_export.h", | |
12 ] | |
13 | |
14 defines = [ "LATENCY_INFO_IMPLEMENTATION" ] | |
15 | |
16 deps = [ | |
17 "//base", | |
18 ] | |
19 } | |
20 | |
21 test("latency_info_unittests") { | |
22 sources = [ | |
23 "latency_info_unittest.cc", | |
24 ] | |
25 | |
26 deps = [ | |
27 ":latency_info", | |
28 "//base", | |
29 "//base/test:run_all_unittests", | |
30 "//base/test:test_support", | |
31 "//testing/gmock", | |
32 "//testing/gtest", | |
33 ] | |
34 | |
35 if (!is_ios) { | |
36 sources += [ "ipc/latency_info_param_traits_unittest.cc" ] | |
37 deps += [ | |
38 "//ipc:test_support", | |
39 "//ui/latency_info/ipc", | |
40 ] | |
41 } | |
42 } | |
OLD | NEW |