| 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", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 if (use_ozone) { | 50 if (use_ozone) { |
| 51 sources += [ | 51 sources += [ |
| 52 "compositor_overlay_candidate_validator_ozone.cc", | 52 "compositor_overlay_candidate_validator_ozone.cc", |
| 53 "compositor_overlay_candidate_validator_ozone.h", | 53 "compositor_overlay_candidate_validator_ozone.h", |
| 54 ] | 54 ] |
| 55 | 55 |
| 56 deps += [ "//ui/ozone" ] | 56 deps += [ "//ui/ozone" ] |
| 57 } | 57 } |
| 58 } | 58 } |
| 59 | 59 |
| 60 # These are part of the components_unittests build target. |
| 60 source_set("unit_tests") { | 61 source_set("unit_tests") { |
| 61 testonly = true | 62 testonly = true |
| 62 sources = [ | 63 sources = [ |
| 63 "buffer_queue_unittest.cc", | 64 "buffer_queue_unittest.cc", |
| 64 ] | 65 ] |
| 65 | 66 |
| 66 if (!use_aura && !is_mac) { | 67 if (!use_aura && !is_mac) { |
| 67 sources -= [ "buffer_queue_unittest.cc" ] | 68 sources -= [ "buffer_queue_unittest.cc" ] |
| 68 } | 69 } |
| 69 | 70 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 "//skia", | 152 "//skia", |
| 152 "//testing/gmock", | 153 "//testing/gmock", |
| 153 "//testing/gtest", | 154 "//testing/gtest", |
| 154 "//ui/gl:test_support", | 155 "//ui/gl:test_support", |
| 155 ] | 156 ] |
| 156 | 157 |
| 157 data_deps = [ | 158 data_deps = [ |
| 158 "//third_party/mesa:osmesa", | 159 "//third_party/mesa:osmesa", |
| 159 ] | 160 ] |
| 160 } | 161 } |
| OLD | NEW |