| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("compositor") { | 8 component("compositor") { |
| 9 sources = [ | 9 sources = [ |
| 10 "closure_animation_observer.cc", | 10 "closure_animation_observer.cc", |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 if (use_ozone) { | 137 if (use_ozone) { |
| 138 sources += [ "test/test_compositor_host_ozone.cc" ] | 138 sources += [ "test/test_compositor_host_ozone.cc" ] |
| 139 } else if (use_x11) { | 139 } else if (use_x11) { |
| 140 sources += [ "test/test_compositor_host_x11.cc" ] | 140 sources += [ "test/test_compositor_host_x11.cc" ] |
| 141 } | 141 } |
| 142 } | 142 } |
| 143 | 143 |
| 144 if (!is_android) { | 144 if (!is_android) { |
| 145 test("compositor_unittests") { | 145 test("compositor_unittests") { |
| 146 sources = [ | 146 sources = [ |
| 147 "compositor_unittest.cc", |
| 147 "layer_animation_element_unittest.cc", | 148 "layer_animation_element_unittest.cc", |
| 148 "layer_animation_sequence_unittest.cc", | 149 "layer_animation_sequence_unittest.cc", |
| 149 "layer_animator_unittest.cc", | 150 "layer_animator_unittest.cc", |
| 150 "layer_owner_unittest.cc", | 151 "layer_owner_unittest.cc", |
| 151 "layer_unittest.cc", | 152 "layer_unittest.cc", |
| 152 "run_all_unittests.cc", | 153 "run_all_unittests.cc", |
| 153 "transform_animation_curve_adapter_unittest.cc", | 154 "transform_animation_curve_adapter_unittest.cc", |
| 154 ] | 155 ] |
| 155 | 156 |
| 156 deps = [ | 157 deps = [ |
| (...skipping 11 matching lines...) Expand all Loading... |
| 168 "//ui/gfx/geometry", | 169 "//ui/gfx/geometry", |
| 169 "//ui/gl", | 170 "//ui/gl", |
| 170 "//ui/resources", | 171 "//ui/resources", |
| 171 ] | 172 ] |
| 172 | 173 |
| 173 if (is_linux) { | 174 if (is_linux) { |
| 174 deps += [ "//third_party/mesa:osmesa" ] | 175 deps += [ "//third_party/mesa:osmesa" ] |
| 175 } | 176 } |
| 176 } | 177 } |
| 177 } | 178 } |
| OLD | NEW |