OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 component("display_compositor") { | 8 component("display_compositor") { |
9 sources = [ | 9 sources = [ |
10 "buffer_queue.cc", | 10 "buffer_queue.cc", |
11 "buffer_queue.h", | 11 "buffer_queue.h", |
12 "compositor_overlay_candidate_validator.h", | 12 "compositor_overlay_candidate_validator.h", |
13 "display_compositor_export.h", | 13 "display_compositor_export.h", |
14 "gl_helper.cc", | 14 "gl_helper.cc", |
15 "gl_helper.h", | 15 "gl_helper.h", |
16 "gl_helper_readback_support.cc", | 16 "gl_helper_readback_support.cc", |
17 "gl_helper_readback_support.h", | 17 "gl_helper_readback_support.h", |
18 "gl_helper_scaling.cc", | 18 "gl_helper_scaling.cc", |
19 "gl_helper_scaling.h", | 19 "gl_helper_scaling.h", |
20 "gpu_compositor_frame_sink.cc", | 20 "gpu_compositor_frame_sink.cc", |
21 "gpu_compositor_frame_sink.h", | 21 "gpu_compositor_frame_sink.h", |
22 "gpu_compositor_frame_sink_delegate.h", | 22 "gpu_compositor_frame_sink_delegate.h", |
23 "gpu_root_compositor_frame_sink.cc", | 23 "gpu_root_compositor_frame_sink.cc", |
24 "gpu_root_compositor_frame_sink.h", | 24 "gpu_root_compositor_frame_sink.h", |
| 25 "host_shared_bitmap_manager.cc", |
| 26 "host_shared_bitmap_manager.h", |
25 ] | 27 ] |
26 | 28 |
27 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 29 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
28 | 30 |
29 defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ] | 31 defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ] |
30 | 32 |
31 deps = [ | 33 deps = [ |
32 "//base", | 34 "//base", |
33 "//cc", | 35 "//cc", |
34 "//cc/ipc:interfaces", | 36 "//cc/ipc:interfaces", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 "compositor_overlay_candidate_validator_win.h", | 73 "compositor_overlay_candidate_validator_win.h", |
72 ] | 74 ] |
73 } | 75 } |
74 } | 76 } |
75 | 77 |
76 # These are part of the components_unittests build target. | 78 # These are part of the components_unittests build target. |
77 source_set("unit_tests") { | 79 source_set("unit_tests") { |
78 testonly = true | 80 testonly = true |
79 sources = [ | 81 sources = [ |
80 "buffer_queue_unittest.cc", | 82 "buffer_queue_unittest.cc", |
| 83 "host_shared_bitmap_manager_unittest.cc", |
81 ] | 84 ] |
82 | 85 |
83 if (!use_aura && !is_mac) { | 86 if (!use_aura && !is_mac) { |
84 sources -= [ "buffer_queue_unittest.cc" ] | 87 sources -= [ "buffer_queue_unittest.cc" ] |
85 } | 88 } |
86 | 89 |
87 configs += [ | 90 configs += [ |
88 "//build/config/compiler:no_size_t_to_int_warning", | 91 "//build/config/compiler:no_size_t_to_int_warning", |
89 "//third_party/khronos:khronos_headers", | 92 "//third_party/khronos:khronos_headers", |
90 ] | 93 ] |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 "//skia", | 172 "//skia", |
170 "//testing/gmock", | 173 "//testing/gmock", |
171 "//testing/gtest", | 174 "//testing/gtest", |
172 "//ui/gl:test_support", | 175 "//ui/gl:test_support", |
173 ] | 176 ] |
174 | 177 |
175 data_deps = [ | 178 data_deps = [ |
176 "//third_party/mesa:osmesa", | 179 "//third_party/mesa:osmesa", |
177 ] | 180 ] |
178 } | 181 } |
OLD | NEW |