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

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

Issue 2001323002: Fix some TODO(GYP) in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 use_egl = is_win || is_android || is_linux 8 use_egl = is_win || is_android || is_linux
9 use_glx = use_x11 9 use_glx = use_x11
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 "gl_surface_egl.cc", 162 "gl_surface_egl.cc",
163 "gl_surface_egl.h", 163 "gl_surface_egl.h",
164 ] 164 ]
165 } 165 }
166 if (is_android || is_linux) { 166 if (is_android || is_linux) {
167 sources += [ 167 sources += [
168 "gl_implementation_osmesa.cc", 168 "gl_implementation_osmesa.cc",
169 "gl_implementation_osmesa.h", 169 "gl_implementation_osmesa.h",
170 ] 170 ]
171 } 171 }
172 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
173 deps += [ "//third_party/mesa:osmesa" ]
brettw 2016/05/23 22:06:26 This doesn't seem to be present in GYP at all and
174 }
175 if (use_x11) { 172 if (use_x11) {
176 sources += [ 173 sources += [
177 "gl_context_x11.cc", 174 "gl_context_x11.cc",
178 "gl_implementation_x11.cc", 175 "gl_implementation_x11.cc",
179 "gl_surface_egl_x11.cc", 176 "gl_surface_egl_x11.cc",
180 "gl_surface_egl_x11.h", 177 "gl_surface_egl_x11.h",
181 "gl_surface_x11.cc", 178 "gl_surface_x11.cc",
182 ] 179 ]
183 180
184 data_deps = [ 181 data_deps = [
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 sources = [ 398 sources = [
402 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 399 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
403 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 400 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
404 ] 401 ]
405 public_deps = [ 402 public_deps = [
406 ":surface_jni_headers", 403 ":surface_jni_headers",
407 ] 404 ]
408 jni_package = "ui/gl" 405 jni_package = "ui/gl"
409 } 406 }
410 } 407 }
OLDNEW
« third_party/libjingle/BUILD.gn ('K') | « ui/app_list/BUILD.gn ('k') | ui/ozone/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698