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("//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 Loading... |
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/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 24 matching lines...) Expand all Loading... |
91 ] | 94 ] |
92 } | 95 } |
93 } | 96 } |
94 | 97 |
95 # These are part of the components_unittests build target. | 98 # These are part of the components_unittests build target. |
96 source_set("unit_tests") { | 99 source_set("unit_tests") { |
97 testonly = true | 100 testonly = true |
98 sources = [ | 101 sources = [ |
99 "display_compositor/buffer_queue_unittest.cc", | 102 "display_compositor/buffer_queue_unittest.cc", |
100 "display_compositor/host_shared_bitmap_manager_unittest.cc", | 103 "display_compositor/host_shared_bitmap_manager_unittest.cc", |
| 104 "hit_test/hit_test_aggregator_unittest.cc", |
101 ] | 105 ] |
102 | 106 |
103 if (!use_aura && !is_mac) { | 107 if (!use_aura && !is_mac) { |
104 sources -= [ "display_compositor/buffer_queue_unittest.cc" ] | 108 sources -= [ "display_compositor/buffer_queue_unittest.cc" ] |
105 } | 109 } |
106 | 110 |
107 configs += [ | 111 configs += [ |
108 "//build/config/compiler:no_size_t_to_int_warning", | 112 "//build/config/compiler:no_size_t_to_int_warning", |
109 "//third_party/khronos:khronos_headers", | 113 "//third_party/khronos:khronos_headers", |
110 ] | 114 ] |
111 | 115 |
112 deps = [ | 116 deps = [ |
113 ":service", | 117 ":service", |
114 "//base", | 118 "//base", |
115 "//base/test:test_support", | 119 "//base/test:test_support", |
116 "//cc:test_support", | 120 "//cc:test_support", |
117 "//gpu/command_buffer/client", | 121 "//gpu/command_buffer/client", |
118 "//gpu/command_buffer/client:gles2_implementation", | 122 "//gpu/command_buffer/client:gles2_implementation", |
119 "//gpu/ipc:gl_in_process_context", | 123 "//gpu/ipc:gl_in_process_context", |
120 "//media", | 124 "//media", |
| 125 "//services/viz/public/interfaces", |
121 "//skia", | 126 "//skia", |
122 "//testing/gmock", | 127 "//testing/gmock", |
123 "//testing/gtest", | 128 "//testing/gtest", |
124 "//ui/display/types", | 129 "//ui/display/types", |
125 "//ui/gl:test_support", | 130 "//ui/gl:test_support", |
126 ] | 131 ] |
127 | 132 |
128 data_deps = [ | 133 data_deps = [ |
129 "//third_party/mesa:osmesa", | 134 "//third_party/mesa:osmesa", |
130 ] | 135 ] |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 "//skia", | 194 "//skia", |
190 "//testing/gmock", | 195 "//testing/gmock", |
191 "//testing/gtest", | 196 "//testing/gtest", |
192 "//ui/gl:test_support", | 197 "//ui/gl:test_support", |
193 ] | 198 ] |
194 | 199 |
195 data_deps = [ | 200 data_deps = [ |
196 "//third_party/mesa:osmesa", | 201 "//third_party/mesa:osmesa", |
197 ] | 202 ] |
198 } | 203 } |
OLD | NEW |