| 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", | |
| 21 "gpu_compositor_frame_sink.h", | |
| 22 "gpu_compositor_frame_sink_delegate.h", | |
| 23 "gpu_display_compositor_frame_sink.cc", | |
| 24 "gpu_display_compositor_frame_sink.h", | |
| 25 "gpu_offscreen_compositor_frame_sink.cc", | |
| 26 "gpu_offscreen_compositor_frame_sink.h", | |
| 27 ] | 20 ] |
| 28 | 21 |
| 29 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 22 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 30 | 23 |
| 31 defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ] | 24 defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ] |
| 32 | 25 |
| 33 deps = [ | 26 deps = [ |
| 34 "//base", | 27 "//base", |
| 35 "//cc", | 28 "//cc", |
| 36 "//cc/ipc:internal_interfaces", | |
| 37 "//cc/surfaces", | |
| 38 "//gpu/command_buffer/client", | 29 "//gpu/command_buffer/client", |
| 39 "//gpu/command_buffer/client:gles2_interface", | 30 "//gpu/command_buffer/client:gles2_interface", |
| 40 "//gpu/command_buffer/common", | 31 "//gpu/command_buffer/common", |
| 41 "//gpu/ipc/common:surface_handle_type", | 32 "//gpu/ipc/common:surface_handle_type", |
| 42 "//skia", | 33 "//skia", |
| 43 "//ui/display/types", | 34 "//ui/display/types", |
| 44 "//ui/gfx", | 35 "//ui/gfx", |
| 45 ] | 36 ] |
| 46 | 37 |
| 47 if (is_mac) { | 38 if (is_mac) { |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 "//skia", | 162 "//skia", |
| 172 "//testing/gmock", | 163 "//testing/gmock", |
| 173 "//testing/gtest", | 164 "//testing/gtest", |
| 174 "//ui/gl:test_support", | 165 "//ui/gl:test_support", |
| 175 ] | 166 ] |
| 176 | 167 |
| 177 data_deps = [ | 168 data_deps = [ |
| 178 "//third_party/mesa:osmesa", | 169 "//third_party/mesa:osmesa", |
| 179 ] | 170 ] |
| 180 } | 171 } |
| OLD | NEW |