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/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 24 matching lines...) Expand all Loading... |
91 ] | 97 ] |
92 } | 98 } |
93 } | 99 } |
94 | 100 |
95 # These are part of the components_unittests build target. | 101 # These are part of the components_unittests build target. |
96 source_set("unit_tests") { | 102 source_set("unit_tests") { |
97 testonly = true | 103 testonly = true |
98 sources = [ | 104 sources = [ |
99 "display_compositor/buffer_queue_unittest.cc", | 105 "display_compositor/buffer_queue_unittest.cc", |
100 "display_compositor/host_shared_bitmap_manager_unittest.cc", | 106 "display_compositor/host_shared_bitmap_manager_unittest.cc", |
| 107 "hit_test/hit_test_aggregator_unittest.cc", |
101 ] | 108 ] |
102 | 109 |
103 if (!use_aura && !is_mac) { | 110 if (!use_aura && !is_mac) { |
104 sources -= [ "display_compositor/buffer_queue_unittest.cc" ] | 111 sources -= [ "display_compositor/buffer_queue_unittest.cc" ] |
105 } | 112 } |
106 | 113 |
107 configs += [ | 114 configs += [ |
108 "//build/config/compiler:no_size_t_to_int_warning", | 115 "//build/config/compiler:no_size_t_to_int_warning", |
109 "//third_party/khronos:khronos_headers", | 116 "//third_party/khronos:khronos_headers", |
110 ] | 117 ] |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 "//skia", | 196 "//skia", |
190 "//testing/gmock", | 197 "//testing/gmock", |
191 "//testing/gtest", | 198 "//testing/gtest", |
192 "//ui/gl:test_support", | 199 "//ui/gl:test_support", |
193 ] | 200 ] |
194 | 201 |
195 data_deps = [ | 202 data_deps = [ |
196 "//third_party/mesa:osmesa", | 203 "//third_party/mesa:osmesa", |
197 ] | 204 ] |
198 } | 205 } |
OLD | NEW |