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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 "gl_egl_api_implementation.cc", | 192 "gl_egl_api_implementation.cc", |
193 "gl_egl_api_implementation.h", | 193 "gl_egl_api_implementation.h", |
194 "gl_surface_wgl.cc", | 194 "gl_surface_wgl.cc", |
195 "gl_surface_wgl.h", | 195 "gl_surface_wgl.h", |
196 "gl_wgl_api_implementation.cc", | 196 "gl_wgl_api_implementation.cc", |
197 "gl_wgl_api_implementation.h", | 197 "gl_wgl_api_implementation.h", |
198 ] | 198 ] |
199 | 199 |
200 libs = [ "dwmapi.lib" ] | 200 libs = [ "dwmapi.lib" ] |
201 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] | 201 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] |
202 | |
203 data_deps += [ | |
204 "//third_party/angle:libEGL", | |
205 "//third_party/angle:libGLESv2", | |
206 "//third_party/mesa:osmesa", | |
207 ] | |
208 } | 202 } |
209 if (is_mac) { | 203 if (is_mac) { |
210 sources += [ | 204 sources += [ |
211 "gl_context_cgl.cc", | 205 "gl_context_cgl.cc", |
212 "gl_context_cgl.h", | 206 "gl_context_cgl.h", |
213 "gl_fence_apple.cc", | 207 "gl_fence_apple.cc", |
214 "gl_fence_apple.h", | 208 "gl_fence_apple.h", |
215 "gl_image_io_surface.cc", | 209 "gl_image_io_surface.cc", |
216 "gl_image_io_surface.h", | 210 "gl_image_io_surface.h", |
217 "scoped_cgl.cc", | 211 "scoped_cgl.cc", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 deps = [ | 280 deps = [ |
287 ":surface_jni_headers", | 281 ":surface_jni_headers", |
288 ] | 282 ] |
289 sources = [ | 283 sources = [ |
290 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 284 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
291 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 285 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
292 ] | 286 ] |
293 jni_package = "ui/gl" | 287 jni_package = "ui/gl" |
294 } | 288 } |
295 } | 289 } |
OLD | NEW |