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

Side by Side Diff: components/viz/service/BUILD.gn

Issue 2938953002: Implement HitTestAggregator (Closed)
Patch Set: Use two distinct buffers instead of one and remove in-place synchronization. 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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 config("viz_service_implementation") { 8 config("viz_service_implementation") {
9 } 9 }
10 10
(...skipping 19 matching lines...) Expand all
30 "frame_sinks/frame_eviction_manager.h", 30 "frame_sinks/frame_eviction_manager.h",
31 "frame_sinks/frame_evictor.cc", 31 "frame_sinks/frame_evictor.cc",
32 "frame_sinks/frame_evictor.h", 32 "frame_sinks/frame_evictor.h",
33 "frame_sinks/gpu_compositor_frame_sink.cc", 33 "frame_sinks/gpu_compositor_frame_sink.cc",
34 "frame_sinks/gpu_compositor_frame_sink.h", 34 "frame_sinks/gpu_compositor_frame_sink.h",
35 "frame_sinks/gpu_compositor_frame_sink_delegate.h", 35 "frame_sinks/gpu_compositor_frame_sink_delegate.h",
36 "frame_sinks/gpu_root_compositor_frame_sink.cc", 36 "frame_sinks/gpu_root_compositor_frame_sink.cc",
37 "frame_sinks/gpu_root_compositor_frame_sink.h", 37 "frame_sinks/gpu_root_compositor_frame_sink.h",
38 "frame_sinks/mojo_frame_sink_manager.cc", 38 "frame_sinks/mojo_frame_sink_manager.cc",
39 "frame_sinks/mojo_frame_sink_manager.h", 39 "frame_sinks/mojo_frame_sink_manager.h",
40 "hit_test/display_hit_test_data_factory.h",
41 "hit_test/display_hit_test_data_factory_local.cc",
42 "hit_test/display_hit_test_data_factory_local.h",
43 "hit_test/hit_test_aggregator.cc",
44 "hit_test/hit_test_aggregator.h",
40 "viz_service_export.h", 45 "viz_service_export.h",
41 ] 46 ]
42 47
43 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ] 48 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ]
44 49
45 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 50 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
46 51
47 public_deps = [ 52 public_deps = [
48 "//base", 53 "//base",
49 "//cc", 54 "//cc",
50 "//cc/ipc:interfaces", 55 "//cc/ipc:interfaces",
51 "//cc/surfaces", 56 "//cc/surfaces",
52 "//gpu/command_buffer/client", 57 "//gpu/command_buffer/client",
53 "//gpu/command_buffer/client:gles2_interface", 58 "//gpu/command_buffer/client:gles2_interface",
54 "//gpu/command_buffer/common", 59 "//gpu/command_buffer/common",
55 "//gpu/ipc:command_buffer", 60 "//gpu/ipc:command_buffer",
56 "//gpu/ipc/common:surface_handle_type", 61 "//gpu/ipc/common:surface_handle_type",
62 "//services/viz/hit_test/public/interfaces",
57 "//skia", 63 "//skia",
58 "//ui/display/types", 64 "//ui/display/types",
59 "//ui/gfx", 65 "//ui/gfx",
60 ] 66 ]
61 67
62 if (is_mac) { 68 if (is_mac) {
63 sources += [ 69 sources += [
64 "display_compositor/compositor_overlay_candidate_validator_mac.h", 70 "display_compositor/compositor_overlay_candidate_validator_mac.h",
65 "display_compositor/compositor_overlay_candidate_validator_mac.mm", 71 "display_compositor/compositor_overlay_candidate_validator_mac.mm",
66 ] 72 ]
(...skipping 18 matching lines...) Expand all
85 } 91 }
86 92
87 if (is_win) { 93 if (is_win) {
88 sources += [ 94 sources += [
89 "display_compositor/compositor_overlay_candidate_validator_win.cc", 95 "display_compositor/compositor_overlay_candidate_validator_win.cc",
90 "display_compositor/compositor_overlay_candidate_validator_win.h", 96 "display_compositor/compositor_overlay_candidate_validator_win.h",
91 ] 97 ]
92 } 98 }
93 } 99 }
94 100
101 test("hit_test_unit_tests") {
rjkroege 2017/06/27 00:00:07 currently the opinion is that hit_test_unit_tests
gklassen 2017/06/27 21:46:32 Done.
102 testonly = true
103 sources = [
104 "hit_test/hit_test_aggregator_unittest.cc",
105 ]
106 deps = [
107 ":service",
108 "//base",
109 "//base/test:test_support",
110 "//cc:test_support",
111 "//media",
112 "//mojo/edk/test:run_all_unittests",
113 "//services/viz/hit_test/public/interfaces",
114 "//skia",
115 "//testing/gmock",
116 "//testing/gtest",
117 "//ui/display/types",
118 "//ui/gl:test_support",
119 ]
120 }
121
95 # These are part of the components_unittests build target. 122 # These are part of the components_unittests build target.
96 source_set("unit_tests") { 123 source_set("unit_tests") {
97 testonly = true 124 testonly = true
98 sources = [ 125 sources = [
99 "display_compositor/buffer_queue_unittest.cc", 126 "display_compositor/buffer_queue_unittest.cc",
100 "display_compositor/host_shared_bitmap_manager_unittest.cc", 127 "display_compositor/host_shared_bitmap_manager_unittest.cc",
128 "hit_test/hit_test_aggregator_unittest.cc",
101 ] 129 ]
102 130
103 if (!use_aura && !is_mac) { 131 if (!use_aura && !is_mac) {
104 sources -= [ "display_compositor/buffer_queue_unittest.cc" ] 132 sources -= [ "display_compositor/buffer_queue_unittest.cc" ]
105 } 133 }
106 134
107 configs += [ 135 configs += [
108 "//build/config/compiler:no_size_t_to_int_warning", 136 "//build/config/compiler:no_size_t_to_int_warning",
109 "//third_party/khronos:khronos_headers", 137 "//third_party/khronos:khronos_headers",
110 ] 138 ]
111 139
112 deps = [ 140 deps = [
113 ":service", 141 ":service",
114 "//base", 142 "//base",
115 "//base/test:test_support", 143 "//base/test:test_support",
116 "//cc:test_support", 144 "//cc:test_support",
117 "//gpu/command_buffer/client", 145 "//gpu/command_buffer/client",
118 "//gpu/command_buffer/client:gles2_implementation", 146 "//gpu/command_buffer/client:gles2_implementation",
119 "//gpu/ipc:gl_in_process_context", 147 "//gpu/ipc:gl_in_process_context",
120 "//media", 148 "//media",
149 "//services/viz/hit_test/public/interfaces",
121 "//skia", 150 "//skia",
122 "//testing/gmock", 151 "//testing/gmock",
123 "//testing/gtest", 152 "//testing/gtest",
124 "//ui/display/types", 153 "//ui/display/types",
125 "//ui/gl:test_support", 154 "//ui/gl:test_support",
126 ] 155 ]
127 156
128 data_deps = [ 157 data_deps = [
129 "//third_party/mesa:osmesa", 158 "//third_party/mesa:osmesa",
130 ] 159 ]
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 "//skia", 218 "//skia",
190 "//testing/gmock", 219 "//testing/gmock",
191 "//testing/gtest", 220 "//testing/gtest",
192 "//ui/gl:test_support", 221 "//ui/gl:test_support",
193 ] 222 ]
194 223
195 data_deps = [ 224 data_deps = [
196 "//third_party/mesa:osmesa", 225 "//third_party/mesa:osmesa",
197 ] 226 ]
198 } 227 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698