Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Side by Side Diff: ui/latency/BUILD.gn

Issue 2806163004: Plumbing input event latency reporting through Mus GPU. (Closed)
Patch Set: Inline LatencyTracker in DIsplayOutputService. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/ui/surfaces/display_output_surface.cc ('k') | ui/latency/latency_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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/latency_histogram_macros.h", 9 "latency/latency_histogram_macros.h",
10 "latency_info.cc", 10 "latency_info.cc",
11 "latency_info.h", 11 "latency_info.h",
12 "latency_tracker.cc", 12 "latency_tracker.cc",
13 "latency_tracker.h", 13 "latency_tracker.h",
14 ] 14 ]
15 15
16 deps = [ 16 deps = [
17 "//base", 17 "//base",
18 "//ui/gfx", 18 "//ui/gfx",
19 ] 19 ]
20 } 20 }
21 21
22 source_set("test_support") {
23 testonly = true
24 sources = [
25 "latency_info_test_support.cc",
26 ]
27
28 public_deps = [
29 ":latency",
30 ]
31 }
32
22 test("latency_unittests") { 33 test("latency_unittests") {
23 sources = [ 34 sources = [
24 "latency_info_unittest.cc", 35 "latency_info_unittest.cc",
25 ] 36 ]
26 37
27 deps = [ 38 deps = [
28 ":latency", 39 ":latency",
29 "//base", 40 "//base",
30 "//base/test:test_support", 41 "//base/test:test_support",
31 "//mojo/edk/test:run_all_unittests", 42 "//mojo/edk/test:run_all_unittests",
32 "//testing/gmock", 43 "//testing/gmock",
33 "//testing/gtest", 44 "//testing/gtest",
34 ] 45 ]
35 46
36 if (!is_ios) { 47 if (!is_ios) {
37 sources += [ 48 sources += [
38 "ipc/latency_info_param_traits_unittest.cc", 49 "ipc/latency_info_param_traits_unittest.cc",
39 "mojo/struct_traits_unittest.cc", 50 "mojo/struct_traits_unittest.cc",
40 ] 51 ]
41 deps += [ 52 deps += [
42 "//ipc:test_support", 53 "//ipc:test_support",
43 "//mojo/public/cpp/bindings", 54 "//mojo/public/cpp/bindings",
44 "//ui/latency/ipc", 55 "//ui/latency/ipc",
45 "//ui/latency/mojo:test_interfaces", 56 "//ui/latency/mojo:test_interfaces",
46 ] 57 ]
47 } 58 }
48 } 59 }
OLDNEW
« no previous file with comments | « services/ui/surfaces/display_output_surface.cc ('k') | ui/latency/latency_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698