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

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

Issue 2938953002: Implement HitTestAggregator (Closed)
Patch Set: Use Shared Memory handles and mappings to manage buffers & other improvements based on reviewer com… 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/hit_test_aggregator.cc",
41 "hit_test/hit_test_aggregator.h",
40 "viz_service_export.h", 42 "viz_service_export.h",
41 ] 43 ]
42 44
43 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ] 45 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ]
44 46
45 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 47 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
46 48
47 public_deps = [ 49 public_deps = [
48 "//base", 50 "//base",
49 "//cc", 51 "//cc",
50 "//cc/ipc:interfaces", 52 "//cc/ipc:interfaces",
51 "//cc/surfaces", 53 "//cc/surfaces",
52 "//gpu/command_buffer/client", 54 "//gpu/command_buffer/client",
53 "//gpu/command_buffer/client:gles2_interface", 55 "//gpu/command_buffer/client:gles2_interface",
54 "//gpu/command_buffer/common", 56 "//gpu/command_buffer/common",
55 "//gpu/ipc:command_buffer", 57 "//gpu/ipc:command_buffer",
56 "//gpu/ipc/common:surface_handle_type", 58 "//gpu/ipc/common:surface_handle_type",
59 "//services/viz/hit_test/public/interfaces",
57 "//skia", 60 "//skia",
58 "//ui/display/types", 61 "//ui/display/types",
59 "//ui/gfx", 62 "//ui/gfx",
60 ] 63 ]
61 64
62 if (is_mac) { 65 if (is_mac) {
63 sources += [ 66 sources += [
64 "display_compositor/compositor_overlay_candidate_validator_mac.h", 67 "display_compositor/compositor_overlay_candidate_validator_mac.h",
65 "display_compositor/compositor_overlay_candidate_validator_mac.mm", 68 "display_compositor/compositor_overlay_candidate_validator_mac.mm",
66 ] 69 ]
(...skipping 18 matching lines...) Expand all
85 } 88 }
86 89
87 if (is_win) { 90 if (is_win) {
88 sources += [ 91 sources += [
89 "display_compositor/compositor_overlay_candidate_validator_win.cc", 92 "display_compositor/compositor_overlay_candidate_validator_win.cc",
90 "display_compositor/compositor_overlay_candidate_validator_win.h", 93 "display_compositor/compositor_overlay_candidate_validator_win.h",
91 ] 94 ]
92 } 95 }
93 } 96 }
94 97
98 test("hit_test_unit_tests") {
99 testonly = true
100 sources = [
101 "hit_test/hit_test_aggregator_unittest.cc",
102 ]
103 deps = [
104 ":service",
105 "//base",
106 "//base/test:test_support",
107 "//cc:test_support",
108 "//media",
109 "//mojo/edk/test:run_all_unittests",
110 "//services/viz/hit_test/public/interfaces",
111 "//skia",
112 "//testing/gmock",
113 "//testing/gtest",
114 "//ui/display/types",
115 "//ui/gl:test_support",
116 ]
117 }
118
95 # These are part of the components_unittests build target. 119 # These are part of the components_unittests build target.
96 source_set("unit_tests") { 120 source_set("unit_tests") {
97 testonly = true 121 testonly = true
98 sources = [ 122 sources = [
99 "display_compositor/buffer_queue_unittest.cc", 123 "display_compositor/buffer_queue_unittest.cc",
100 "display_compositor/host_shared_bitmap_manager_unittest.cc", 124 "display_compositor/host_shared_bitmap_manager_unittest.cc",
125 "hit_test/hit_test_aggregator_unittest.cc",
101 ] 126 ]
102 127
103 if (!use_aura && !is_mac) { 128 if (!use_aura && !is_mac) {
104 sources -= [ "display_compositor/buffer_queue_unittest.cc" ] 129 sources -= [ "display_compositor/buffer_queue_unittest.cc" ]
105 } 130 }
106 131
107 configs += [ 132 configs += [
108 "//build/config/compiler:no_size_t_to_int_warning", 133 "//build/config/compiler:no_size_t_to_int_warning",
109 "//third_party/khronos:khronos_headers", 134 "//third_party/khronos:khronos_headers",
110 ] 135 ]
111 136
112 deps = [ 137 deps = [
113 ":service", 138 ":service",
114 "//base", 139 "//base",
115 "//base/test:test_support", 140 "//base/test:test_support",
116 "//cc:test_support", 141 "//cc:test_support",
117 "//gpu/command_buffer/client", 142 "//gpu/command_buffer/client",
118 "//gpu/command_buffer/client:gles2_implementation", 143 "//gpu/command_buffer/client:gles2_implementation",
119 "//gpu/ipc:gl_in_process_context", 144 "//gpu/ipc:gl_in_process_context",
120 "//media", 145 "//media",
146 "//services/viz/hit_test/public/interfaces",
121 "//skia", 147 "//skia",
122 "//testing/gmock", 148 "//testing/gmock",
123 "//testing/gtest", 149 "//testing/gtest",
124 "//ui/display/types", 150 "//ui/display/types",
125 "//ui/gl:test_support", 151 "//ui/gl:test_support",
126 ] 152 ]
127 153
128 data_deps = [ 154 data_deps = [
129 "//third_party/mesa:osmesa", 155 "//third_party/mesa:osmesa",
130 ] 156 ]
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 "//skia", 215 "//skia",
190 "//testing/gmock", 216 "//testing/gmock",
191 "//testing/gtest", 217 "//testing/gtest",
192 "//ui/gl:test_support", 218 "//ui/gl:test_support",
193 ] 219 ]
194 220
195 data_deps = [ 221 data_deps = [
196 "//third_party/mesa:osmesa", 222 "//third_party/mesa:osmesa",
197 ] 223 ]
198 } 224 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698