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 | 6 |
7 config("viz_service_implementation") { | 7 config("viz_service_implementation") { |
8 } | 8 } |
9 | 9 |
10 component("service") { | 10 component("service") { |
(...skipping 16 matching lines...) Expand all Loading... |
27 "frame_sinks/frame_eviction_manager.h", | 27 "frame_sinks/frame_eviction_manager.h", |
28 "frame_sinks/frame_evictor.cc", | 28 "frame_sinks/frame_evictor.cc", |
29 "frame_sinks/frame_evictor.h", | 29 "frame_sinks/frame_evictor.h", |
30 "frame_sinks/frame_sink_manager_impl.cc", | 30 "frame_sinks/frame_sink_manager_impl.cc", |
31 "frame_sinks/frame_sink_manager_impl.h", | 31 "frame_sinks/frame_sink_manager_impl.h", |
32 "frame_sinks/gpu_compositor_frame_sink.cc", | 32 "frame_sinks/gpu_compositor_frame_sink.cc", |
33 "frame_sinks/gpu_compositor_frame_sink.h", | 33 "frame_sinks/gpu_compositor_frame_sink.h", |
34 "frame_sinks/gpu_compositor_frame_sink_delegate.h", | 34 "frame_sinks/gpu_compositor_frame_sink_delegate.h", |
35 "frame_sinks/gpu_root_compositor_frame_sink.cc", | 35 "frame_sinks/gpu_root_compositor_frame_sink.cc", |
36 "frame_sinks/gpu_root_compositor_frame_sink.h", | 36 "frame_sinks/gpu_root_compositor_frame_sink.h", |
| 37 "hit_test/hit_test_aggregator.cc", |
| 38 "hit_test/hit_test_aggregator.h", |
37 "viz_service_export.h", | 39 "viz_service_export.h", |
38 ] | 40 ] |
39 | 41 |
40 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ] | 42 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ] |
41 | 43 |
42 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 44 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
43 | 45 |
44 deps = [ | 46 deps = [ |
45 "//components/viz/common", | 47 "//components/viz/common", |
46 | 48 |
47 # Note that dependency on //gpu/ipc/client is for GpuMemoryBufferImpl. This | 49 # Note that dependency on //gpu/ipc/client is for GpuMemoryBufferImpl. This |
48 # dependency should not be in public_deps. | 50 # dependency should not be in public_deps. |
49 "//gpu/ipc/client", | 51 "//gpu/ipc/client", |
50 "//gpu/ipc/service", | 52 "//gpu/ipc/service", |
51 "//ui/display/types", | 53 "//ui/display/types", |
52 ] | 54 ] |
53 | 55 |
54 public_deps = [ | 56 public_deps = [ |
55 "//base", | 57 "//base", |
56 "//cc", | 58 "//cc", |
57 "//cc/ipc:interfaces", | 59 "//cc/ipc:interfaces", |
58 "//cc/surfaces", | 60 "//cc/surfaces", |
59 "//gpu/command_buffer/client:gles2_interface", | 61 "//gpu/command_buffer/client:gles2_interface", |
60 "//gpu/ipc:command_buffer", | 62 "//gpu/ipc:command_buffer", |
| 63 "//services/viz/hit_test/public/interfaces", |
61 ] | 64 ] |
62 | 65 |
63 if (is_mac) { | 66 if (is_mac) { |
64 sources += [ | 67 sources += [ |
65 "display_embedder/compositor_overlay_candidate_validator_mac.h", | 68 "display_embedder/compositor_overlay_candidate_validator_mac.h", |
66 "display_embedder/compositor_overlay_candidate_validator_mac.mm", | 69 "display_embedder/compositor_overlay_candidate_validator_mac.mm", |
67 ] | 70 ] |
68 } | 71 } |
69 | 72 |
70 if (is_android) { | 73 if (is_android) { |
(...skipping 21 matching lines...) Expand all Loading... |
92 ] | 95 ] |
93 } | 96 } |
94 } | 97 } |
95 | 98 |
96 # These are part of the components_unittests build target. | 99 # These are part of the components_unittests build target. |
97 source_set("unit_tests") { | 100 source_set("unit_tests") { |
98 testonly = true | 101 testonly = true |
99 sources = [ | 102 sources = [ |
100 "display_embedder/buffer_queue_unittest.cc", | 103 "display_embedder/buffer_queue_unittest.cc", |
101 "display_embedder/server_shared_bitmap_manager_unittest.cc", | 104 "display_embedder/server_shared_bitmap_manager_unittest.cc", |
| 105 "hit_test/hit_test_aggregator_unittest.cc", |
102 ] | 106 ] |
103 | 107 |
104 if (!use_aura && !is_mac) { | 108 if (!use_aura && !is_mac) { |
105 sources -= [ "display_embedder/buffer_queue_unittest.cc" ] | 109 sources -= [ "display_embedder/buffer_queue_unittest.cc" ] |
106 } | 110 } |
107 | 111 |
108 configs += [ | 112 configs += [ |
109 "//build/config/compiler:no_size_t_to_int_warning", | 113 "//build/config/compiler:no_size_t_to_int_warning", |
110 "//third_party/khronos:khronos_headers", | 114 "//third_party/khronos:khronos_headers", |
111 ] | 115 ] |
112 | 116 |
113 deps = [ | 117 deps = [ |
114 ":service", | 118 ":service", |
115 "//base", | 119 "//base", |
116 "//base/test:test_support", | 120 "//base/test:test_support", |
117 "//cc:test_support", | 121 "//cc:test_support", |
118 "//components/viz/common", | 122 "//components/viz/common", |
| 123 "//gpu/command_buffer/client", |
| 124 "//gpu/command_buffer/client:gles2_implementation", |
| 125 "//gpu/ipc:gl_in_process_context", |
| 126 "//media", |
| 127 "//services/viz/hit_test/public/interfaces", |
| 128 "//skia", |
119 "//testing/gmock", | 129 "//testing/gmock", |
120 "//testing/gtest", | 130 "//testing/gtest", |
121 "//ui/display/types", | 131 "//ui/display/types", |
122 ] | 132 ] |
123 } | 133 } |
OLD | NEW |