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 use_egl = is_win || is_android || is_linux | 8 use_egl = is_win || is_android || is_linux |
9 use_glx = use_x11 | 9 use_glx = use_x11 |
10 | 10 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 "gl_implementation_osmesa.cc", | 168 "gl_implementation_osmesa.cc", |
169 "gl_implementation_osmesa.h", | 169 "gl_implementation_osmesa.h", |
170 ] | 170 ] |
171 } | 171 } |
172 if (use_x11) { | 172 if (use_x11) { |
173 sources += [ | 173 sources += [ |
174 "gl_context_x11.cc", | 174 "gl_context_x11.cc", |
175 "gl_implementation_x11.cc", | 175 "gl_implementation_x11.cc", |
176 "gl_surface_egl_x11.cc", | 176 "gl_surface_egl_x11.cc", |
177 "gl_surface_egl_x11.h", | 177 "gl_surface_egl_x11.h", |
| 178 "gl_surface_osmesa_x11.cc", |
| 179 "gl_surface_osmesa_x11.h", |
178 "gl_surface_x11.cc", | 180 "gl_surface_x11.cc", |
179 ] | 181 ] |
180 | 182 |
181 data_deps = [ | 183 data_deps = [ |
182 "//third_party/angle:libEGL", | 184 "//third_party/angle:libEGL", |
183 "//third_party/angle:libGLESv2", | 185 "//third_party/angle:libGLESv2", |
184 ] | 186 ] |
185 } | 187 } |
186 if (use_ozone) { | 188 if (use_ozone) { |
187 sources += [ | 189 sources += [ |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 sources = [ | 400 sources = [ |
399 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 401 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
400 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 402 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
401 ] | 403 ] |
402 public_deps = [ | 404 public_deps = [ |
403 ":surface_jni_headers", | 405 ":surface_jni_headers", |
404 ] | 406 ] |
405 jni_package = "ui/gl" | 407 jni_package = "ui/gl" |
406 } | 408 } |
407 } | 409 } |
OLD | NEW |