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: components/viz/service/BUILD.gn

Issue 2938953002: Implement HitTestAggregator (Closed)
Patch Set: rebase & improvements based on comments Created 3 years, 5 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
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("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 config("viz_service_implementation") { 7 config("viz_service_implementation") {
8 } 8 }
9 9
10 component("service") { 10 component("service") {
(...skipping 14 matching lines...) Expand all
25 "frame_sinks/frame_eviction_manager.h", 25 "frame_sinks/frame_eviction_manager.h",
26 "frame_sinks/frame_evictor.cc", 26 "frame_sinks/frame_evictor.cc",
27 "frame_sinks/frame_evictor.h", 27 "frame_sinks/frame_evictor.h",
28 "frame_sinks/frame_sink_manager_impl.cc", 28 "frame_sinks/frame_sink_manager_impl.cc",
29 "frame_sinks/frame_sink_manager_impl.h", 29 "frame_sinks/frame_sink_manager_impl.h",
30 "frame_sinks/gpu_compositor_frame_sink.cc", 30 "frame_sinks/gpu_compositor_frame_sink.cc",
31 "frame_sinks/gpu_compositor_frame_sink.h", 31 "frame_sinks/gpu_compositor_frame_sink.h",
32 "frame_sinks/gpu_compositor_frame_sink_delegate.h", 32 "frame_sinks/gpu_compositor_frame_sink_delegate.h",
33 "frame_sinks/gpu_root_compositor_frame_sink.cc", 33 "frame_sinks/gpu_root_compositor_frame_sink.cc",
34 "frame_sinks/gpu_root_compositor_frame_sink.h", 34 "frame_sinks/gpu_root_compositor_frame_sink.h",
35 "hit_test/hit_test_aggregator.cc",
36 "hit_test/hit_test_aggregator.h",
35 "viz_service_export.h", 37 "viz_service_export.h",
36 ] 38 ]
37 39
38 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ] 40 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ]
39 41
40 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 42 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
41 43
42 deps = [ 44 deps = [
43 "//components/viz/common", 45 "//components/viz/common",
44 46
45 # Note that dependency on //gpu/ipc/client is for GpuMemoryBufferImpl. This 47 # Note that dependency on //gpu/ipc/client is for GpuMemoryBufferImpl. This
46 # dependency should not be in public_deps. 48 # dependency should not be in public_deps.
47 "//gpu/ipc/client", 49 "//gpu/ipc/client",
48 "//gpu/ipc/service", 50 "//gpu/ipc/service",
49 "//ui/display/types", 51 "//ui/display/types",
50 ] 52 ]
51 53
52 public_deps = [ 54 public_deps = [
53 "//base", 55 "//base",
54 "//cc", 56 "//cc",
55 "//cc/ipc:interfaces", 57 "//cc/ipc:interfaces",
56 "//cc/surfaces", 58 "//cc/surfaces",
57 "//gpu/command_buffer/client:gles2_interface", 59 "//gpu/command_buffer/client:gles2_interface",
58 "//gpu/ipc:command_buffer", 60 "//gpu/ipc:command_buffer",
61 "//services/viz/public/interfaces",
59 ] 62 ]
60 63
61 if (is_mac) { 64 if (is_mac) {
62 sources += [ 65 sources += [
63 "display_compositor/compositor_overlay_candidate_validator_mac.h", 66 "display_compositor/compositor_overlay_candidate_validator_mac.h",
64 "display_compositor/compositor_overlay_candidate_validator_mac.mm", 67 "display_compositor/compositor_overlay_candidate_validator_mac.mm",
65 ] 68 ]
66 } 69 }
67 70
68 if (is_android) { 71 if (is_android) {
(...skipping 21 matching lines...) Expand all
90 ] 93 ]
91 } 94 }
92 } 95 }
93 96
94 # These are part of the components_unittests build target. 97 # These are part of the components_unittests build target.
95 source_set("unit_tests") { 98 source_set("unit_tests") {
96 testonly = true 99 testonly = true
97 sources = [ 100 sources = [
98 "display_compositor/buffer_queue_unittest.cc", 101 "display_compositor/buffer_queue_unittest.cc",
99 "display_compositor/host_shared_bitmap_manager_unittest.cc", 102 "display_compositor/host_shared_bitmap_manager_unittest.cc",
103 "hit_test/hit_test_aggregator_unittest.cc",
100 ] 104 ]
101 105
102 if (!use_aura && !is_mac) { 106 if (!use_aura && !is_mac) {
103 sources -= [ "display_compositor/buffer_queue_unittest.cc" ] 107 sources -= [ "display_compositor/buffer_queue_unittest.cc" ]
104 } 108 }
105 109
106 configs += [ 110 configs += [
107 "//build/config/compiler:no_size_t_to_int_warning", 111 "//build/config/compiler:no_size_t_to_int_warning",
108 "//third_party/khronos:khronos_headers", 112 "//third_party/khronos:khronos_headers",
109 ] 113 ]
110 114
111 deps = [ 115 deps = [
112 ":service", 116 ":service",
113 "//base", 117 "//base",
114 "//base/test:test_support", 118 "//base/test:test_support",
115 "//cc:test_support", 119 "//cc:test_support",
116 "//components/viz/common", 120 "//components/viz/common",
121 "//services/viz/public/interfaces",
117 "//testing/gmock", 122 "//testing/gmock",
118 "//testing/gtest", 123 "//testing/gtest",
119 "//ui/display/types", 124 "//ui/display/types",
120 ] 125 ]
121 } 126 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698