| 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 "callback_layer_animation_observer.cc", | 10 "callback_layer_animation_observer.cc", |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 "//gpu/command_buffer/client:gles2_c_lib", | 138 "//gpu/command_buffer/client:gles2_c_lib", |
| 139 "//gpu/command_buffer/client:gles2_implementation", | 139 "//gpu/command_buffer/client:gles2_implementation", |
| 140 "//gpu/command_buffer/common:gles2_utils", | 140 "//gpu/command_buffer/common:gles2_utils", |
| 141 "//gpu/skia_bindings", | 141 "//gpu/skia_bindings", |
| 142 "//skia", | 142 "//skia", |
| 143 "//testing/gtest", | 143 "//testing/gtest", |
| 144 "//ui/base", | 144 "//ui/base", |
| 145 "//ui/gfx", | 145 "//ui/gfx", |
| 146 "//ui/gfx/geometry", | 146 "//ui/gfx/geometry", |
| 147 "//ui/gl", | 147 "//ui/gl", |
| 148 "//ui/gl:test_support", |
| 148 ] | 149 ] |
| 149 | 150 |
| 150 if (use_x11) { | 151 if (use_x11) { |
| 151 configs += [ "//build/config/linux:x11" ] | 152 configs += [ "//build/config/linux:x11" ] |
| 152 deps += [ "//ui/gfx/x" ] | 153 deps += [ "//ui/gfx/x" ] |
| 153 } | 154 } |
| 154 | 155 |
| 155 if (use_ozone) { | 156 if (use_ozone) { |
| 156 sources += [ "test/test_compositor_host_ozone.cc" ] | 157 sources += [ "test/test_compositor_host_ozone.cc" ] |
| 157 } else if (use_x11) { | 158 } else if (use_x11) { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 "//ui/base", | 200 "//ui/base", |
| 200 "//ui/gfx", | 201 "//ui/gfx", |
| 201 "//ui/gfx/geometry", | 202 "//ui/gfx/geometry", |
| 202 "//ui/gl", | 203 "//ui/gl", |
| 203 "//ui/resources", | 204 "//ui/resources", |
| 204 ] | 205 ] |
| 205 if (is_linux) { | 206 if (is_linux) { |
| 206 deps += [ "//third_party/mesa:osmesa" ] | 207 deps += [ "//third_party/mesa:osmesa" ] |
| 207 } | 208 } |
| 208 } | 209 } |
| OLD | NEW |