Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Side by Side Diff: ui/gl/BUILD.gn

Issue 2491993002: ui/gl: Initialize the ANGLE Platform on all configurations (Closed)
Patch Set: Rebase on top of the renaming of ClearGLBindings Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/gl/egl_api_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 public_deps = [ 147 public_deps = [
148 "//base", 148 "//base",
149 "//third_party/mesa:mesa_headers", 149 "//third_party/mesa:mesa_headers",
150 "//ui/events/platform", 150 "//ui/events/platform",
151 "//ui/gfx", 151 "//ui/gfx",
152 "//ui/gfx/geometry", 152 "//ui/gfx/geometry",
153 ] 153 ]
154 154
155 if (use_egl) { 155 if (use_egl) {
156 sources += [ 156 sources += [
157 "angle_platform_impl.cc",
158 "angle_platform_impl.h",
157 "egl_util.cc", 159 "egl_util.cc",
158 "egl_util.h", 160 "egl_util.h",
159 "gl_bindings_autogen_egl.cc", 161 "gl_bindings_autogen_egl.cc",
160 "gl_bindings_autogen_egl.h", 162 "gl_bindings_autogen_egl.h",
161 "gl_context_egl.cc", 163 "gl_context_egl.cc",
162 "gl_context_egl.h", 164 "gl_context_egl.h",
163 "gl_egl_api_implementation.cc", 165 "gl_egl_api_implementation.cc",
164 "gl_egl_api_implementation.h", 166 "gl_egl_api_implementation.h",
165 "gl_fence_egl.cc", 167 "gl_fence_egl.cc",
166 "gl_fence_egl.h", 168 "gl_fence_egl.h",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 configs += [ 214 configs += [
213 "//build/config/linux:x11", 215 "//build/config/linux:x11",
214 "//build/config/linux:xcomposite", 216 "//build/config/linux:xcomposite",
215 "//build/config/linux:xext", 217 "//build/config/linux:xext",
216 ] 218 ]
217 219
218 deps += [ "//ui/gfx/x" ] 220 deps += [ "//ui/gfx/x" ]
219 } 221 }
220 if (is_win) { 222 if (is_win) {
221 sources += [ 223 sources += [
222 "angle_platform_impl.cc",
223 "angle_platform_impl.h",
224 "gl_bindings_autogen_wgl.cc", 224 "gl_bindings_autogen_wgl.cc",
225 "gl_bindings_autogen_wgl.h", 225 "gl_bindings_autogen_wgl.h",
226 "gl_context_wgl.cc", 226 "gl_context_wgl.cc",
227 "gl_context_wgl.h", 227 "gl_context_wgl.h",
228 "gl_surface_osmesa_win.cc", 228 "gl_surface_osmesa_win.cc",
229 "gl_surface_osmesa_win.h", 229 "gl_surface_osmesa_win.h",
230 "gl_surface_wgl.cc", 230 "gl_surface_wgl.cc",
231 "gl_surface_wgl.h", 231 "gl_surface_wgl.h",
232 "gl_wgl_api_implementation.cc", 232 "gl_wgl_api_implementation.cc",
233 "gl_wgl_api_implementation.h", 233 "gl_wgl_api_implementation.h",
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 sources = [ 435 sources = [
436 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 436 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
437 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 437 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
438 ] 438 ]
439 public_deps = [ 439 public_deps = [
440 ":surface_jni_headers", 440 ":surface_jni_headers",
441 ] 441 ]
442 jni_package = "ui/gl" 442 jni_package = "ui/gl"
443 } 443 }
444 } 444 }
OLDNEW
« no previous file with comments | « no previous file | ui/gl/egl_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698