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

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

Issue 2189233003: Move last of platform dependent init from //ui/gl to //ui/gl/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix return values. Created 4 years, 4 months 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 | « gpu/config/gpu_info_collector.cc ('k') | ui/gl/gl.gyp » ('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/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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 "gl_image_memory.cc", 80 "gl_image_memory.cc",
81 "gl_image_memory.h", 81 "gl_image_memory.h",
82 "gl_image_ref_counted_memory.cc", 82 "gl_image_ref_counted_memory.cc",
83 "gl_image_ref_counted_memory.h", 83 "gl_image_ref_counted_memory.h",
84 "gl_image_shared_memory.cc", 84 "gl_image_shared_memory.cc",
85 "gl_image_shared_memory.h", 85 "gl_image_shared_memory.h",
86 "gl_image_stub.cc", 86 "gl_image_stub.cc",
87 "gl_image_stub.h", 87 "gl_image_stub.h",
88 "gl_implementation.cc", 88 "gl_implementation.cc",
89 "gl_implementation.h", 89 "gl_implementation.h",
90 "gl_implementation_android.cc",
91 "gl_implementation_mac.cc",
92 "gl_implementation_win.cc",
93 "gl_osmesa_api_implementation.cc", 90 "gl_osmesa_api_implementation.cc",
94 "gl_osmesa_api_implementation.h", 91 "gl_osmesa_api_implementation.h",
95 "gl_share_group.cc", 92 "gl_share_group.cc",
96 "gl_share_group.h", 93 "gl_share_group.h",
97 "gl_state_restorer.cc", 94 "gl_state_restorer.cc",
98 "gl_state_restorer.h", 95 "gl_state_restorer.h",
99 "gl_stub_api.cc", 96 "gl_stub_api.cc",
100 "gl_stub_api.h", 97 "gl_stub_api.h",
101 "gl_stub_api_base.h", 98 "gl_stub_api_base.h",
102 "gl_stub_autogen_gl.cc", 99 "gl_stub_autogen_gl.cc",
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 ] 165 ]
169 } 166 }
170 if (is_android || is_linux) { 167 if (is_android || is_linux) {
171 sources += [ 168 sources += [
172 "gl_implementation_osmesa.cc", 169 "gl_implementation_osmesa.cc",
173 "gl_implementation_osmesa.h", 170 "gl_implementation_osmesa.h",
174 ] 171 ]
175 } 172 }
176 if (use_x11) { 173 if (use_x11) {
177 sources += [ 174 sources += [
178 "gl_implementation_x11.cc",
179 "gl_surface_egl_x11.cc", 175 "gl_surface_egl_x11.cc",
180 "gl_surface_egl_x11.h", 176 "gl_surface_egl_x11.h",
181 "gl_surface_osmesa_x11.cc", 177 "gl_surface_osmesa_x11.cc",
182 "gl_surface_osmesa_x11.h", 178 "gl_surface_osmesa_x11.h",
183 ] 179 ]
184 180
185 data_deps = [ 181 data_deps = [
186 "//third_party/angle:libEGL", 182 "//third_party/angle:libEGL",
187 "//third_party/angle:libGLESv2", 183 "//third_party/angle:libGLESv2",
188 ] 184 ]
189 } 185 }
190 if (use_ozone) {
191 sources += [ "gl_implementation_ozone.cc" ]
192 }
193 if (use_glx) { 186 if (use_glx) {
194 sources += [ 187 sources += [
195 "gl_bindings_autogen_glx.cc", 188 "gl_bindings_autogen_glx.cc",
196 "gl_bindings_autogen_glx.h", 189 "gl_bindings_autogen_glx.h",
197 "gl_context_glx.cc", 190 "gl_context_glx.cc",
198 "gl_context_glx.h", 191 "gl_context_glx.h",
199 "gl_glx_api_implementation.cc", 192 "gl_glx_api_implementation.cc",
200 "gl_glx_api_implementation.h", 193 "gl_glx_api_implementation.h",
201 "gl_image_glx.cc", 194 "gl_image_glx.cc",
202 "gl_image_glx.h", 195 "gl_image_glx.h",
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 sources = [ 394 sources = [
402 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 395 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
403 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 396 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
404 ] 397 ]
405 public_deps = [ 398 public_deps = [
406 ":surface_jni_headers", 399 ":surface_jni_headers",
407 ] 400 ]
408 jni_package = "ui/gl" 401 jni_package = "ui/gl"
409 } 402 }
410 } 403 }
OLDNEW
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698