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

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

Issue 334173006: Clean up GLSurfaceCGL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 6 years, 6 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 | « content/content_common.gypi ('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/ui.gni") 5 import("//build/config/ui.gni")
6 if (is_android) { 6 if (is_android) {
7 import("//build/config/android/rules.gni") 7 import("//build/config/android/rules.gni")
8 } 8 }
9 9
10 gl_binding_output_dir = target_gen_dir 10 gl_binding_output_dir = target_gen_dir
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 libs = [ "dwmapi.lib" ] 192 libs = [ "dwmapi.lib" ]
193 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] 193 ldflags = [ "/DELAYLOAD:dwmapi.dll" ]
194 } 194 }
195 if (is_mac) { 195 if (is_mac) {
196 sources += [ 196 sources += [
197 "gl_context_cgl.cc", 197 "gl_context_cgl.cc",
198 "gl_context_cgl.h", 198 "gl_context_cgl.h",
199 "gl_image_io_surface.cc", 199 "gl_image_io_surface.cc",
200 "gl_image_io_surface.h", 200 "gl_image_io_surface.h",
201 "gl_surface_cgl.cc",
202 "gl_surface_cgl.h",
203 "scoped_cgl.cc", 201 "scoped_cgl.cc",
204 "scoped_cgl.h", 202 "scoped_cgl.h",
205 ] 203 ]
206 204
207 libs = [ "OpenGL.framework" ] 205 libs = [ "OpenGL.framework" ]
208 } 206 }
209 if (is_android) { 207 if (is_android) {
210 sources += [ 208 sources += [
211 "gl_egl_api_implementation.cc", 209 "gl_egl_api_implementation.cc",
212 "gl_egl_api_implementation.h", 210 "gl_egl_api_implementation.h",
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 generate_jni("gl_jni_headers") { 329 generate_jni("gl_jni_headers") {
332 deps = [ ":surface_jni_headers" ] 330 deps = [ ":surface_jni_headers" ]
333 forward_dependent_configs_from = [ ":surface_jni_headers" ] 331 forward_dependent_configs_from = [ ":surface_jni_headers" ]
334 sources = [ 332 sources = [
335 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 333 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
336 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 334 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
337 ] 335 ]
338 jni_package = "ui/gl" 336 jni_package = "ui/gl"
339 } 337 }
340 } 338 }
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698