| 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 | 6 |
| 7 component("compositor") { | 7 component("compositor") { |
| 8 sources = [ | 8 sources = [ |
| 9 "closure_animation_observer.cc", | 9 "closure_animation_observer.cc", |
| 10 "closure_animation_observer.h", | 10 "closure_animation_observer.h", |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 configs += [ "//build/config/linux:x11" ] | 125 configs += [ "//build/config/linux:x11" ] |
| 126 deps += [ "//ui/gfx/x" ] | 126 deps += [ "//ui/gfx/x" ] |
| 127 } | 127 } |
| 128 | 128 |
| 129 if (use_ozone) { | 129 if (use_ozone) { |
| 130 sources += [ "test/test_compositor_host_ozone.cc" ] | 130 sources += [ "test/test_compositor_host_ozone.cc" ] |
| 131 } else if (use_x11) { | 131 } else if (use_x11) { |
| 132 sources += [ "test/test_compositor_host_x11.cc" ] | 132 sources += [ "test/test_compositor_host_x11.cc" ] |
| 133 } | 133 } |
| 134 } | 134 } |
| 135 | |
| 136 # TODO(GYP) enable this when all dependencies are complete and it links. | 135 # TODO(GYP) enable this when all dependencies are complete and it links. |
| 137 #test("compositor_unittests") { | 136 #test("compositor_unittests") { |
| 138 # sources = [ | 137 # sources = [ |
| 139 # "layer_animation_element_unittest.cc", | 138 # "layer_animation_element_unittest.cc", |
| 140 # "layer_animation_sequence_unittest.cc", | 139 # "layer_animation_sequence_unittest.cc", |
| 141 # "layer_animator_unittest.cc", | 140 # "layer_animator_unittest.cc", |
| 142 # "layer_owner_unittest.cc", | 141 # "layer_owner_unittest.cc", |
| 143 # "layer_unittest.cc", | 142 # "layer_unittest.cc", |
| 144 # "run_all_unittests.cc", | 143 # "run_all_unittests.cc", |
| 145 # "transform_animation_curve_adapter_unittest.cc", | 144 # "transform_animation_curve_adapter_unittest.cc", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 159 # "//ui/gfx", | 158 # "//ui/gfx", |
| 160 # "//ui/gfx/geometry", | 159 # "//ui/gfx/geometry", |
| 161 # "//ui/gl", | 160 # "//ui/gl", |
| 162 # "//ui/resources", | 161 # "//ui/resources", |
| 163 # ] | 162 # ] |
| 164 # | 163 # |
| 165 # if (is_linux) { | 164 # if (is_linux) { |
| 166 # deps += [ "//third_party/mesa:osmesa" ] | 165 # deps += [ "//third_party/mesa:osmesa" ] |
| 167 # } | 166 # } |
| 168 #} | 167 #} |
| OLD | NEW |