| 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", |
| 35 "//cc/surfaces", | 37 "//cc/surfaces", |
| 38 "//components/display_compositor/interfaces", |
| 36 "//gpu/command_buffer/client", | 39 "//gpu/command_buffer/client", |
| 37 "//gpu/command_buffer/client:gles2_interface", | 40 "//gpu/command_buffer/client:gles2_interface", |
| 38 "//gpu/command_buffer/common", | 41 "//gpu/command_buffer/common", |
| 39 "//gpu/ipc/common:surface_handle_type", | 42 "//gpu/ipc/common:surface_handle_type", |
| 40 "//skia", | 43 "//skia", |
| 41 "//ui/display/types", | 44 "//ui/display/types", |
| 42 "//ui/gfx", | 45 "//ui/gfx", |
| 43 ] | 46 ] |
| 44 | 47 |
| 45 if (is_mac) { | 48 if (is_mac) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 71 "compositor_overlay_candidate_validator_win.h", | 74 "compositor_overlay_candidate_validator_win.h", |
| 72 ] | 75 ] |
| 73 } | 76 } |
| 74 } | 77 } |
| 75 | 78 |
| 76 # These are part of the components_unittests build target. | 79 # These are part of the components_unittests build target. |
| 77 source_set("unit_tests") { | 80 source_set("unit_tests") { |
| 78 testonly = true | 81 testonly = true |
| 79 sources = [ | 82 sources = [ |
| 80 "buffer_queue_unittest.cc", | 83 "buffer_queue_unittest.cc", |
| 84 "host_shared_bitmap_manager_unittest.cc", |
| 81 ] | 85 ] |
| 82 | 86 |
| 83 if (!use_aura && !is_mac) { | 87 if (!use_aura && !is_mac) { |
| 84 sources -= [ "buffer_queue_unittest.cc" ] | 88 sources -= [ "buffer_queue_unittest.cc" ] |
| 85 } | 89 } |
| 86 | 90 |
| 87 configs += [ | 91 configs += [ |
| 88 "//build/config/compiler:no_size_t_to_int_warning", | 92 "//build/config/compiler:no_size_t_to_int_warning", |
| 89 "//third_party/khronos:khronos_headers", | 93 "//third_party/khronos:khronos_headers", |
| 90 ] | 94 ] |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 "//skia", | 173 "//skia", |
| 170 "//testing/gmock", | 174 "//testing/gmock", |
| 171 "//testing/gtest", | 175 "//testing/gtest", |
| 172 "//ui/gl:test_support", | 176 "//ui/gl:test_support", |
| 173 ] | 177 ] |
| 174 | 178 |
| 175 data_deps = [ | 179 data_deps = [ |
| 176 "//third_party/mesa:osmesa", | 180 "//third_party/mesa:osmesa", |
| 177 ] | 181 ] |
| 178 } | 182 } |
| OLD | NEW |