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

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

Issue 2771053003: WIP: Plumbing input event latency reporting through Mus GPU.
Patch Set: NON_EXPORTED_BASE 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/DEPS » ('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 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/latency_histogram_macros.h",
9 "latency_info.cc", 10 "latency_info.cc",
10 "latency_info.h", 11 "latency_info.h",
12 "latency_tracker.cc",
13 "latency_tracker.h",
11 ] 14 ]
12 15
16 defines = [ "LATENCY_IMPLEMENTATION" ]
17
13 deps = [ 18 deps = [
14 "//base", 19 "//base",
15 "//ui/gfx", 20 "//ui/gfx",
16 ] 21 ]
17 } 22 }
18 23
24 source_set("test_support") {
25 testonly = true
26 sources = [
27 "latency_info_test_support.cc",
28 ]
29
30 public_deps = [
31 ":latency",
32 ]
33 }
34
19 test("latency_unittests") { 35 test("latency_unittests") {
20 sources = [ 36 sources = [
21 "latency_info_unittest.cc", 37 "latency_info_unittest.cc",
22 ] 38 ]
23 39
24 deps = [ 40 deps = [
25 ":latency", 41 ":latency",
26 "//base", 42 "//base",
27 "//base/test:test_support", 43 "//base/test:test_support",
28 "//mojo/edk/test:run_all_unittests", 44 "//mojo/edk/test:run_all_unittests",
29 "//testing/gmock", 45 "//testing/gmock",
30 "//testing/gtest", 46 "//testing/gtest",
31 ] 47 ]
32 48
33 if (!is_ios) { 49 if (!is_ios) {
34 sources += [ 50 sources += [
35 "ipc/latency_info_param_traits_unittest.cc", 51 "ipc/latency_info_param_traits_unittest.cc",
36 "mojo/struct_traits_unittest.cc", 52 "mojo/struct_traits_unittest.cc",
37 ] 53 ]
38 deps += [ 54 deps += [
39 "//ipc:test_support", 55 "//ipc:test_support",
40 "//mojo/public/cpp/bindings", 56 "//mojo/public/cpp/bindings",
41 "//ui/latency/ipc", 57 "//ui/latency/ipc",
42 "//ui/latency/mojo:test_interfaces", 58 "//ui/latency/mojo:test_interfaces",
43 ] 59 ]
44 } 60 }
45 } 61 }
OLDNEW
« no previous file with comments | « services/ui/surfaces/display_output_surface.cc ('k') | ui/latency/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698