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/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 use_egl = is_win || is_android || is_linux | 9 use_egl = is_win || is_android || is_linux |
10 use_glx = use_x11 | 10 use_glx = use_x11 |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 "gl_surface_osmesa_win.cc", | 216 "gl_surface_osmesa_win.cc", |
217 "gl_surface_osmesa_win.h", | 217 "gl_surface_osmesa_win.h", |
218 "gl_surface_wgl.cc", | 218 "gl_surface_wgl.cc", |
219 "gl_surface_wgl.h", | 219 "gl_surface_wgl.h", |
220 "gl_wgl_api_implementation.cc", | 220 "gl_wgl_api_implementation.cc", |
221 "gl_wgl_api_implementation.h", | 221 "gl_wgl_api_implementation.h", |
222 "vsync_provider_win.cc", | 222 "vsync_provider_win.cc", |
223 "vsync_provider_win.h", | 223 "vsync_provider_win.h", |
224 ] | 224 ] |
225 | 225 |
| 226 include_dirs = [ "//third_party/swiftshader/include" ] |
226 libs = [ "dwmapi.lib" ] | 227 libs = [ "dwmapi.lib" ] |
227 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] | 228 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] |
228 | 229 |
229 data_deps = [ | 230 data_deps = [ |
230 "//third_party/angle:libEGL", | 231 "//third_party/angle:libEGL", |
231 "//third_party/angle:libGLESv2", | 232 "//third_party/angle:libGLESv2", |
232 "//third_party/mesa:osmesa", | 233 "//third_party/mesa:osmesa", |
233 ] | 234 ] |
234 } | 235 } |
235 if (is_mac) { | 236 if (is_mac) { |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 sources = [ | 395 sources = [ |
395 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 396 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
396 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 397 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
397 ] | 398 ] |
398 public_deps = [ | 399 public_deps = [ |
399 ":surface_jni_headers", | 400 ":surface_jni_headers", |
400 ] | 401 ] |
401 jni_package = "ui/gl" | 402 jni_package = "ui/gl" |
402 } | 403 } |
403 } | 404 } |
OLD | NEW |