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/config.gni") | 7 import("//build/config/android/config.gni") |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 "$gl_binding_output_dir/gl_bindings_autogen_wgl.h", | 197 "$gl_binding_output_dir/gl_bindings_autogen_wgl.h", |
198 ] | 198 ] |
199 | 199 |
200 libs = [ "dwmapi.lib" ] | 200 libs = [ "dwmapi.lib" ] |
201 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] | 201 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] |
202 } | 202 } |
203 if (is_mac) { | 203 if (is_mac) { |
204 sources += [ | 204 sources += [ |
205 "gl_context_cgl.cc", | 205 "gl_context_cgl.cc", |
206 "gl_context_cgl.h", | 206 "gl_context_cgl.h", |
| 207 "gl_fence_apple.cc", |
| 208 "gl_fence_apple.h", |
207 "gl_image_io_surface.cc", | 209 "gl_image_io_surface.cc", |
208 "gl_image_io_surface.h", | 210 "gl_image_io_surface.h", |
209 "scoped_cgl.cc", | 211 "scoped_cgl.cc", |
210 "scoped_cgl.h", | 212 "scoped_cgl.h", |
211 ] | 213 ] |
212 | 214 |
213 libs = [ | 215 libs = [ |
214 "IOSurface.framework", | 216 "IOSurface.framework", |
215 "OpenGL.framework", | 217 "OpenGL.framework", |
216 ] | 218 ] |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 | 340 |
339 generate_jni("gl_jni_headers") { | 341 generate_jni("gl_jni_headers") { |
340 deps = [ ":surface_jni_headers" ] | 342 deps = [ ":surface_jni_headers" ] |
341 sources = [ | 343 sources = [ |
342 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 344 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
343 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 345 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
344 ] | 346 ] |
345 jni_package = "ui/gl" | 347 jni_package = "ui/gl" |
346 } | 348 } |
347 } | 349 } |
OLD | NEW |