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