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