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

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

Issue 2384243003: ui: Add libsync GLFence implementation.
Patch Set: rebase Created 4 years, 1 month 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 | « ui/gfx/shared_event.cc ('k') | ui/gl/DEPS » ('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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 "gl_fence_egl.cc", 167 "gl_fence_egl.cc",
168 "gl_fence_egl.h", 168 "gl_fence_egl.h",
169 "gl_image_egl.cc", 169 "gl_image_egl.cc",
170 "gl_image_egl.h", 170 "gl_image_egl.h",
171 "gl_surface_egl.cc", 171 "gl_surface_egl.cc",
172 "gl_surface_egl.h", 172 "gl_surface_egl.h",
173 ] 173 ]
174 } 174 }
175 if (is_android || is_linux) { 175 if (is_android || is_linux) {
176 sources += [ 176 sources += [
177 "gl_fence_libsync.cc",
178 "gl_fence_libsync.h",
177 "gl_implementation_osmesa.cc", 179 "gl_implementation_osmesa.cc",
178 "gl_implementation_osmesa.h", 180 "gl_implementation_osmesa.h",
179 ] 181 ]
182 deps += [ "//third_party/libsync" ]
180 } 183 }
181 if (use_x11) { 184 if (use_x11) {
182 sources += [ 185 sources += [
183 "gl_surface_egl_x11.cc", 186 "gl_surface_egl_x11.cc",
184 "gl_surface_egl_x11.h", 187 "gl_surface_egl_x11.h",
185 "gl_surface_glx_x11.cc", 188 "gl_surface_glx_x11.cc",
186 "gl_surface_glx_x11.h", 189 "gl_surface_glx_x11.h",
187 "gl_surface_osmesa_x11.cc", 190 "gl_surface_osmesa_x11.cc",
188 "gl_surface_osmesa_x11.h", 191 "gl_surface_osmesa_x11.h",
189 ] 192 ]
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 sources = [ 419 sources = [
417 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 420 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
418 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 421 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
419 ] 422 ]
420 public_deps = [ 423 public_deps = [
421 ":surface_jni_headers", 424 ":surface_jni_headers",
422 ] 425 ]
423 jni_package = "ui/gl" 426 jni_package = "ui/gl"
424 } 427 }
425 } 428 }
OLDNEW
« no previous file with comments | « ui/gfx/shared_event.cc ('k') | ui/gl/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698