| 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 } | |
| 238 } | 234 } |
| 239 if (is_mac) { | 235 if (is_mac) { |
| 240 sources += [ | 236 sources += [ |
| 241 "gl_context_cgl.cc", | 237 "gl_context_cgl.cc", |
| 242 "gl_context_cgl.h", | 238 "gl_context_cgl.h", |
| 243 "gl_fence_apple.cc", | 239 "gl_fence_apple.cc", |
| 244 "gl_fence_apple.h", | 240 "gl_fence_apple.h", |
| 245 "gl_image_io_surface.h", | 241 "gl_image_io_surface.h", |
| 246 "gl_image_io_surface.mm", | 242 "gl_image_io_surface.mm", |
| 247 "scoped_cgl.cc", | 243 "scoped_cgl.cc", |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 sources = [ | 394 sources = [ |
| 399 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 395 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 400 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 396 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 401 ] | 397 ] |
| 402 public_deps = [ | 398 public_deps = [ |
| 403 ":surface_jni_headers", | 399 ":surface_jni_headers", |
| 404 ] | 400 ] |
| 405 jni_package = "ui/gl" | 401 jni_package = "ui/gl" |
| 406 } | 402 } |
| 407 } | 403 } |
| OLD | NEW |