| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |