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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
7 import("//build/config/linux/pkg_config.gni") | 7 import("//build/config/linux/pkg_config.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//ui/ozone/ozone.gni") | 9 import("//ui/ozone/ozone.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 if (use_x11) { | 179 if (use_x11) { |
180 sources += [ | 180 sources += [ |
181 "gl_surface_egl_x11.cc", | 181 "gl_surface_egl_x11.cc", |
182 "gl_surface_egl_x11.h", | 182 "gl_surface_egl_x11.h", |
183 "gl_surface_glx_x11.cc", | 183 "gl_surface_glx_x11.cc", |
184 "gl_surface_glx_x11.h", | 184 "gl_surface_glx_x11.h", |
185 "gl_surface_osmesa_x11.cc", | 185 "gl_surface_osmesa_x11.cc", |
186 "gl_surface_osmesa_x11.h", | 186 "gl_surface_osmesa_x11.h", |
187 ] | 187 ] |
188 | 188 |
| 189 deps += [ "//ui/base/x" ] |
| 190 |
189 data_deps = [ | 191 data_deps = [ |
190 "//third_party/angle:libEGL", | 192 "//third_party/angle:libEGL", |
191 "//third_party/angle:libGLESv2", | 193 "//third_party/angle:libGLESv2", |
192 ] | 194 ] |
193 } | 195 } |
194 if (use_glx) { | 196 if (use_glx) { |
195 sources += [ | 197 sources += [ |
196 "gl_bindings_autogen_glx.cc", | 198 "gl_bindings_autogen_glx.cc", |
197 "gl_bindings_autogen_glx.h", | 199 "gl_bindings_autogen_glx.h", |
198 "gl_context_glx.cc", | 200 "gl_context_glx.cc", |
199 "gl_context_glx.h", | 201 "gl_context_glx.h", |
200 "gl_glx_api_implementation.cc", | 202 "gl_glx_api_implementation.cc", |
201 "gl_glx_api_implementation.h", | 203 "gl_glx_api_implementation.h", |
202 "gl_image_glx.cc", | 204 "gl_image_glx.cc", |
203 "gl_image_glx.h", | 205 "gl_image_glx.h", |
204 "gl_surface_glx.cc", | 206 "gl_surface_glx.cc", |
205 "gl_surface_glx.h", | 207 "gl_surface_glx.h", |
| 208 "gl_visual_picker_glx.cc", |
| 209 "gl_visual_picker_glx.h", |
206 ] | 210 ] |
207 | 211 |
208 configs += [ | 212 configs += [ |
209 "//build/config/linux:x11", | 213 "//build/config/linux:x11", |
210 "//build/config/linux:xcomposite", | 214 "//build/config/linux:xcomposite", |
211 "//build/config/linux:xext", | 215 "//build/config/linux:xext", |
212 ] | 216 ] |
213 | 217 |
214 deps += [ "//ui/gfx/x" ] | 218 deps += [ "//ui/gfx/x" ] |
215 } | 219 } |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 sources = [ | 414 sources = [ |
411 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 415 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
412 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 416 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
413 ] | 417 ] |
414 public_deps = [ | 418 public_deps = [ |
415 ":surface_jni_headers", | 419 ":surface_jni_headers", |
416 ] | 420 ] |
417 jni_package = "ui/gl" | 421 jni_package = "ui/gl" |
418 } | 422 } |
419 } | 423 } |
OLD | NEW |