OLD | NEW |
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 import("//components/viz/viz.gni") | 6 import("//components/viz/viz.gni") |
7 | 7 |
8 config("viz_service_implementation") { | 8 config("viz_service_implementation") { |
9 } | 9 } |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "frame_sinks/frame_sink_manager.cc", | 43 "frame_sinks/frame_sink_manager.cc", |
44 "frame_sinks/frame_sink_manager.h", | 44 "frame_sinks/frame_sink_manager.h", |
45 "frame_sinks/frame_sink_manager_client.h", | 45 "frame_sinks/frame_sink_manager_client.h", |
46 "frame_sinks/frame_sink_manager_impl.cc", | 46 "frame_sinks/frame_sink_manager_impl.cc", |
47 "frame_sinks/frame_sink_manager_impl.h", | 47 "frame_sinks/frame_sink_manager_impl.h", |
48 "frame_sinks/gpu_compositor_frame_sink.cc", | 48 "frame_sinks/gpu_compositor_frame_sink.cc", |
49 "frame_sinks/gpu_compositor_frame_sink.h", | 49 "frame_sinks/gpu_compositor_frame_sink.h", |
50 "frame_sinks/gpu_compositor_frame_sink_delegate.h", | 50 "frame_sinks/gpu_compositor_frame_sink_delegate.h", |
51 "frame_sinks/gpu_root_compositor_frame_sink.cc", | 51 "frame_sinks/gpu_root_compositor_frame_sink.cc", |
52 "frame_sinks/gpu_root_compositor_frame_sink.h", | 52 "frame_sinks/gpu_root_compositor_frame_sink.h", |
| 53 "hit_test/hit_test_aggregator.cc", |
| 54 "hit_test/hit_test_aggregator.h", |
53 "viz_service_export.h", | 55 "viz_service_export.h", |
54 ] | 56 ] |
55 | 57 |
56 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ] | 58 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ] |
57 | 59 |
58 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ] | 60 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ] |
59 | 61 |
60 deps = [ | 62 deps = [ |
61 "//components/viz/common", | 63 "//components/viz/common", |
62 | 64 |
63 # Note that dependency on //gpu/ipc/client is for GpuMemoryBufferImpl. This | 65 # Note that dependency on //gpu/ipc/client is for GpuMemoryBufferImpl. This |
64 # dependency should not be in public_deps. | 66 # dependency should not be in public_deps. |
65 "//gpu/ipc/client", | 67 "//gpu/ipc/client", |
66 "//gpu/ipc/service", | 68 "//gpu/ipc/service", |
67 "//gpu/vulkan:features", | 69 "//gpu/vulkan:features", |
68 "//skia", | 70 "//skia", |
69 "//ui/display/types", | 71 "//ui/display/types", |
70 ] | 72 ] |
71 | 73 |
72 public_deps = [ | 74 public_deps = [ |
73 "//base", | 75 "//base", |
74 "//cc", | 76 "//cc", |
75 "//cc/ipc:interfaces", | 77 "//cc/ipc:interfaces", |
76 "//cc/surfaces", | 78 "//cc/surfaces", |
77 "//gpu/command_buffer/client:gles2_interface", | 79 "//gpu/command_buffer/client:gles2_interface", |
78 "//gpu/ipc:command_buffer", | 80 "//gpu/ipc:command_buffer", |
| 81 "//services/viz/hit_test/public/interfaces", |
79 "//ui/gfx", | 82 "//ui/gfx", |
80 "//ui/gfx/geometry", | 83 "//ui/gfx/geometry", |
81 "//ui/latency", | 84 "//ui/latency", |
82 ] | 85 ] |
83 | 86 |
84 if (is_mac) { | 87 if (is_mac) { |
85 sources += [ | 88 sources += [ |
86 "display_embedder/compositor_overlay_candidate_validator_mac.h", | 89 "display_embedder/compositor_overlay_candidate_validator_mac.h", |
87 "display_embedder/compositor_overlay_candidate_validator_mac.mm", | 90 "display_embedder/compositor_overlay_candidate_validator_mac.mm", |
88 ] | 91 ] |
(...skipping 30 matching lines...) Expand all Loading... |
119 sources = [ | 122 sources = [ |
120 "display/display_scheduler_unittest.cc", | 123 "display/display_scheduler_unittest.cc", |
121 "display/display_unittest.cc", | 124 "display/display_unittest.cc", |
122 "display/surface_aggregator_pixeltest.cc", | 125 "display/surface_aggregator_pixeltest.cc", |
123 "display/surface_aggregator_unittest.cc", | 126 "display/surface_aggregator_unittest.cc", |
124 "display_embedder/buffer_queue_unittest.cc", | 127 "display_embedder/buffer_queue_unittest.cc", |
125 "display_embedder/server_shared_bitmap_manager_unittest.cc", | 128 "display_embedder/server_shared_bitmap_manager_unittest.cc", |
126 "frame_sinks/compositor_frame_sink_support_unittest.cc", | 129 "frame_sinks/compositor_frame_sink_support_unittest.cc", |
127 "frame_sinks/direct_layer_tree_frame_sink_unittest.cc", | 130 "frame_sinks/direct_layer_tree_frame_sink_unittest.cc", |
128 "frame_sinks/frame_sink_manager_unittest.cc", | 131 "frame_sinks/frame_sink_manager_unittest.cc", |
| 132 "hit_test/hit_test_aggregator_unittest.cc", |
129 ] | 133 ] |
130 | 134 |
131 if (!use_aura && !is_mac) { | 135 if (!use_aura && !is_mac) { |
132 sources -= [ "display_embedder/buffer_queue_unittest.cc" ] | 136 sources -= [ "display_embedder/buffer_queue_unittest.cc" ] |
133 } | 137 } |
134 | 138 |
135 configs = [ | 139 configs = [ |
136 "//build/config/compiler:no_size_t_to_int_warning", | 140 "//build/config/compiler:no_size_t_to_int_warning", |
137 "//third_party/khronos:khronos_headers", | 141 "//third_party/khronos:khronos_headers", |
138 ] | 142 ] |
139 | 143 |
140 deps = [ | 144 deps = [ |
141 ":service", | 145 ":service", |
142 "//base", | 146 "//base", |
143 "//base/test:test_support", | 147 "//base/test:test_support", |
144 "//cc:test_support", | 148 "//cc:test_support", |
145 "//components/viz/common", | 149 "//components/viz/common", |
| 150 "//gpu/command_buffer/client", |
| 151 "//gpu/command_buffer/client:gles2_implementation", |
| 152 "//gpu/ipc:gl_in_process_context", |
| 153 "//media", |
| 154 "//services/viz/hit_test/public/interfaces", |
| 155 "//skia", |
146 "//testing/gmock", | 156 "//testing/gmock", |
147 "//testing/gtest", | 157 "//testing/gtest", |
148 "//ui/display/types", | 158 "//ui/display/types", |
149 ] | 159 ] |
150 } | 160 } |
151 | 161 |
152 viz_source_set("perf_tests") { | 162 viz_source_set("perf_tests") { |
153 testonly = true | 163 testonly = true |
154 sources = [ | 164 sources = [ |
155 "display/surface_aggregator_perftest.cc", | 165 "display/surface_aggregator_perftest.cc", |
156 ] | 166 ] |
157 | 167 |
158 deps = [ | 168 deps = [ |
159 ":service", | 169 ":service", |
160 "//base", | 170 "//base", |
161 "//cc:test_support", | 171 "//cc:test_support", |
162 "//cc/base", | 172 "//cc/base", |
163 "//testing/gtest", | 173 "//testing/gtest", |
164 "//testing/perf", | 174 "//testing/perf", |
165 ] | 175 ] |
166 } | 176 } |
OLD | NEW |