| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
| 7 import("//build/config/linux/pkg_config.gni") | 7 import("//build/config/linux/pkg_config.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//ui/ozone/ozone.gni") | 9 import("//ui/ozone/ozone.gni") |
| 10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 configs += [ | 214 configs += [ |
| 215 "//build/config/linux:x11", | 215 "//build/config/linux:x11", |
| 216 "//build/config/linux:xcomposite", | 216 "//build/config/linux:xcomposite", |
| 217 "//build/config/linux:xext", | 217 "//build/config/linux:xext", |
| 218 ] | 218 ] |
| 219 | 219 |
| 220 deps += [ "//ui/gfx/x" ] | 220 deps += [ "//ui/gfx/x" ] |
| 221 } | 221 } |
| 222 if (is_win) { | 222 if (is_win) { |
| 223 sources += [ | 223 sources += [ |
| 224 "gl_angle_util_win.cc", |
| 225 "gl_angle_util_win.h", |
| 224 "gl_bindings_autogen_wgl.cc", | 226 "gl_bindings_autogen_wgl.cc", |
| 225 "gl_bindings_autogen_wgl.h", | 227 "gl_bindings_autogen_wgl.h", |
| 226 "gl_context_wgl.cc", | 228 "gl_context_wgl.cc", |
| 227 "gl_context_wgl.h", | 229 "gl_context_wgl.h", |
| 228 "gl_surface_osmesa_win.cc", | 230 "gl_surface_osmesa_win.cc", |
| 229 "gl_surface_osmesa_win.h", | 231 "gl_surface_osmesa_win.h", |
| 230 "gl_surface_wgl.cc", | 232 "gl_surface_wgl.cc", |
| 231 "gl_surface_wgl.h", | 233 "gl_surface_wgl.h", |
| 232 "gl_wgl_api_implementation.cc", | 234 "gl_wgl_api_implementation.cc", |
| 233 "gl_wgl_api_implementation.h", | 235 "gl_wgl_api_implementation.h", |
| 234 "vsync_provider_win.cc", | 236 "vsync_provider_win.cc", |
| 235 "vsync_provider_win.h", | 237 "vsync_provider_win.h", |
| 236 ] | 238 ] |
| 237 | 239 |
| 238 libs = [ "dwmapi.lib" ] | 240 libs = [ "dwmapi.lib" ] |
| 239 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] | 241 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] |
| 240 | 242 |
| 241 data_deps = [ | 243 data_deps = [ |
| 242 "//third_party/angle:libEGL", | 244 "//third_party/angle:libEGL", |
| 243 "//third_party/angle:libGLESv2", | 245 "//third_party/angle:libGLESv2", |
| 244 "//third_party/mesa:osmesa", | 246 "//third_party/mesa:osmesa", |
| 245 ] | 247 ] |
| 248 |
| 249 deps += [ "//third_party/angle:includes" ] |
| 246 } | 250 } |
| 247 if (is_mac) { | 251 if (is_mac) { |
| 248 sources += [ | 252 sources += [ |
| 249 "gl_context_cgl.cc", | 253 "gl_context_cgl.cc", |
| 250 "gl_context_cgl.h", | 254 "gl_context_cgl.h", |
| 251 "gl_fence_apple.cc", | 255 "gl_fence_apple.cc", |
| 252 "gl_fence_apple.h", | 256 "gl_fence_apple.h", |
| 253 "gl_image_io_surface.h", | 257 "gl_image_io_surface.h", |
| 254 "gl_image_io_surface.mm", | 258 "gl_image_io_surface.mm", |
| 255 "scoped_cgl.cc", | 259 "scoped_cgl.cc", |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 sources = [ | 438 sources = [ |
| 435 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 439 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 436 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 440 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 437 ] | 441 ] |
| 438 public_deps = [ | 442 public_deps = [ |
| 439 ":surface_jni_headers", | 443 ":surface_jni_headers", |
| 440 ] | 444 ] |
| 441 jni_package = "ui/gl" | 445 jni_package = "ui/gl" |
| 442 } | 446 } |
| 443 } | 447 } |
| OLD | NEW |