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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 "//third_party/angle:libGLESv2", | 207 "//third_party/angle:libGLESv2", |
208 "//third_party/mesa:osmesa", | 208 "//third_party/mesa:osmesa", |
209 ] | 209 ] |
210 } | 210 } |
211 if (is_mac) { | 211 if (is_mac) { |
212 sources += [ | 212 sources += [ |
213 "gl_context_cgl.cc", | 213 "gl_context_cgl.cc", |
214 "gl_context_cgl.h", | 214 "gl_context_cgl.h", |
215 "gl_fence_apple.cc", | 215 "gl_fence_apple.cc", |
216 "gl_fence_apple.h", | 216 "gl_fence_apple.h", |
217 "gl_image_io_surface.cc", | |
218 "gl_image_io_surface.h", | 217 "gl_image_io_surface.h", |
| 218 "gl_image_io_surface.mm", |
219 "scoped_cgl.cc", | 219 "scoped_cgl.cc", |
220 "scoped_cgl.h", | 220 "scoped_cgl.h", |
221 ] | 221 ] |
222 | 222 |
223 libs = [ | 223 libs = [ |
224 "IOSurface.framework", | 224 "IOSurface.framework", |
225 "OpenGL.framework", | 225 "OpenGL.framework", |
| 226 "Quartz.framework", |
226 ] | 227 ] |
227 } | 228 } |
228 if (is_android) { | 229 if (is_android) { |
229 sources += [ | 230 sources += [ |
230 "gl_egl_api_implementation.cc", | 231 "gl_egl_api_implementation.cc", |
231 "gl_egl_api_implementation.h", | 232 "gl_egl_api_implementation.h", |
232 "gl_image_surface_texture.cc", | 233 "gl_image_surface_texture.cc", |
233 "gl_image_surface_texture.h", | 234 "gl_image_surface_texture.h", |
234 ] | 235 ] |
235 | 236 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 deps = [ | 339 deps = [ |
339 ":surface_jni_headers", | 340 ":surface_jni_headers", |
340 ] | 341 ] |
341 sources = [ | 342 sources = [ |
342 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 343 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
343 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 344 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
344 ] | 345 ] |
345 jni_package = "ui/gl" | 346 jni_package = "ui/gl" |
346 } | 347 } |
347 } | 348 } |
OLD | NEW |