| 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 "host_shared_bitmap_manager.cc", |
| 21 "host_shared_bitmap_manager.h", |
| 20 ] | 22 ] |
| 21 | 23 |
| 22 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 24 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 23 | 25 |
| 24 defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ] | 26 defines = [ "DISPLAY_COMPOSITOR_IMPLEMENTATION" ] |
| 25 | 27 |
| 26 deps = [ | 28 deps = [ |
| 27 "//base", | 29 "//base", |
| 28 "//cc", | 30 "//cc", |
| 29 "//cc/ipc:interfaces", | 31 "//cc/ipc:interfaces", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 "compositor_overlay_candidate_validator_win.h", | 68 "compositor_overlay_candidate_validator_win.h", |
| 67 ] | 69 ] |
| 68 } | 70 } |
| 69 } | 71 } |
| 70 | 72 |
| 71 # These are part of the components_unittests build target. | 73 # These are part of the components_unittests build target. |
| 72 source_set("unit_tests") { | 74 source_set("unit_tests") { |
| 73 testonly = true | 75 testonly = true |
| 74 sources = [ | 76 sources = [ |
| 75 "buffer_queue_unittest.cc", | 77 "buffer_queue_unittest.cc", |
| 78 "host_shared_bitmap_manager_unittest.cc", |
| 76 ] | 79 ] |
| 77 | 80 |
| 78 if (!use_aura && !is_mac) { | 81 if (!use_aura && !is_mac) { |
| 79 sources -= [ "buffer_queue_unittest.cc" ] | 82 sources -= [ "buffer_queue_unittest.cc" ] |
| 80 } | 83 } |
| 81 | 84 |
| 82 configs += [ | 85 configs += [ |
| 83 "//build/config/compiler:no_size_t_to_int_warning", | 86 "//build/config/compiler:no_size_t_to_int_warning", |
| 84 "//third_party/khronos:khronos_headers", | 87 "//third_party/khronos:khronos_headers", |
| 85 ] | 88 ] |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 "//skia", | 167 "//skia", |
| 165 "//testing/gmock", | 168 "//testing/gmock", |
| 166 "//testing/gtest", | 169 "//testing/gtest", |
| 167 "//ui/gl:test_support", | 170 "//ui/gl:test_support", |
| 168 ] | 171 ] |
| 169 | 172 |
| 170 data_deps = [ | 173 data_deps = [ |
| 171 "//third_party/mesa:osmesa", | 174 "//third_party/mesa:osmesa", |
| 172 ] | 175 ] |
| 173 } | 176 } |
| OLD | NEW |