| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 ] | 224 ] |
| 225 | 225 |
| 226 libs = [ "dwmapi.lib" ] | 226 libs = [ "dwmapi.lib" ] |
| 227 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] | 227 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] |
| 228 | 228 |
| 229 data_deps = [ | 229 data_deps = [ |
| 230 "//third_party/angle:libEGL", | 230 "//third_party/angle:libEGL", |
| 231 "//third_party/angle:libGLESv2", | 231 "//third_party/angle:libGLESv2", |
| 232 "//third_party/mesa:osmesa", | 232 "//third_party/mesa:osmesa", |
| 233 ] | 233 ] |
| 234 |
| 235 if (is_official_build) { |
| 236 include_dirs = [ "//third_party/swiftshader/include" ] |
| 237 } |
| 234 } | 238 } |
| 235 if (is_mac) { | 239 if (is_mac) { |
| 236 sources += [ | 240 sources += [ |
| 237 "gl_context_cgl.cc", | 241 "gl_context_cgl.cc", |
| 238 "gl_context_cgl.h", | 242 "gl_context_cgl.h", |
| 239 "gl_fence_apple.cc", | 243 "gl_fence_apple.cc", |
| 240 "gl_fence_apple.h", | 244 "gl_fence_apple.h", |
| 241 "gl_image_io_surface.h", | 245 "gl_image_io_surface.h", |
| 242 "gl_image_io_surface.mm", | 246 "gl_image_io_surface.mm", |
| 243 "scoped_cgl.cc", | 247 "scoped_cgl.cc", |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 sources = [ | 398 sources = [ |
| 395 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 399 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 396 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 400 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 397 ] | 401 ] |
| 398 public_deps = [ | 402 public_deps = [ |
| 399 ":surface_jni_headers", | 403 ":surface_jni_headers", |
| 400 ] | 404 ] |
| 401 jni_package = "ui/gl" | 405 jni_package = "ui/gl" |
| 402 } | 406 } |
| 403 } | 407 } |
| OLD | NEW |