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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "//gpu/command_buffer/client:gl_in_process_context", | 137 "//gpu/command_buffer/client:gl_in_process_context", |
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:test_support", |
148 ] | 148 ] |
149 | 149 |
150 if (use_x11) { | 150 if (use_x11) { |
151 configs += [ "//build/config/linux:x11" ] | 151 configs += [ "//build/config/linux:x11" ] |
152 deps += [ "//ui/gfx/x" ] | 152 deps += [ "//ui/gfx/x" ] |
153 } | 153 } |
154 | 154 |
155 if (use_ozone) { | 155 if (use_ozone) { |
156 sources += [ "test/test_compositor_host_ozone.cc" ] | 156 sources += [ "test/test_compositor_host_ozone.cc" ] |
157 } else if (use_x11) { | 157 } else if (use_x11) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 "//ui/base", | 199 "//ui/base", |
200 "//ui/gfx", | 200 "//ui/gfx", |
201 "//ui/gfx/geometry", | 201 "//ui/gfx/geometry", |
202 "//ui/gl", | 202 "//ui/gl", |
203 "//ui/resources", | 203 "//ui/resources", |
204 ] | 204 ] |
205 if (is_linux) { | 205 if (is_linux) { |
206 deps += [ "//third_party/mesa:osmesa" ] | 206 deps += [ "//third_party/mesa:osmesa" ] |
207 } | 207 } |
208 } | 208 } |
OLD | NEW |