| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 all_dependent_configs = [ ":gl_config" ] | 137 all_dependent_configs = [ ":gl_config" ] |
| 138 | 138 |
| 139 public_configs = [ "//third_party/khronos:khronos_headers" ] | 139 public_configs = [ "//third_party/khronos:khronos_headers" ] |
| 140 | 140 |
| 141 deps = [ | 141 deps = [ |
| 142 "//base/third_party/dynamic_annotations", | 142 "//base/third_party/dynamic_annotations", |
| 143 ] | 143 ] |
| 144 public_deps = [ | 144 public_deps = [ |
| 145 "//base", | 145 "//base", |
| 146 "//third_party/mesa:mesa_headers", | 146 "//third_party/mesa:mesa_headers", |
| 147 "//ui/base/", | |
| 148 "//ui/events/platform", | 147 "//ui/events/platform", |
| 149 "//ui/gfx", | 148 "//ui/gfx", |
| 150 "//ui/gfx/geometry", | 149 "//ui/gfx/geometry", |
| 151 ] | 150 ] |
| 152 | 151 |
| 153 if (use_egl) { | 152 if (use_egl) { |
| 154 sources += [ | 153 sources += [ |
| 155 "egl_util.cc", | 154 "egl_util.cc", |
| 156 "egl_util.h", | 155 "egl_util.h", |
| 157 "gl_bindings_autogen_egl.cc", | 156 "gl_bindings_autogen_egl.cc", |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 sources = [ | 404 sources = [ |
| 406 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 405 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
| 407 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 406 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
| 408 ] | 407 ] |
| 409 public_deps = [ | 408 public_deps = [ |
| 410 ":surface_jni_headers", | 409 ":surface_jni_headers", |
| 411 ] | 410 ] |
| 412 jni_package = "ui/gl" | 411 jni_package = "ui/gl" |
| 413 } | 412 } |
| 414 } | 413 } |
| OLD | NEW |