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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 configs += [ | 176 configs += [ |
177 "//build/config/linux:x11", | 177 "//build/config/linux:x11", |
178 "//build/config/linux:xcomposite", | 178 "//build/config/linux:xcomposite", |
179 "//build/config/linux:xext", | 179 "//build/config/linux:xext", |
180 ] | 180 ] |
181 | 181 |
182 deps += [ "//ui/gfx/x" ] | 182 deps += [ "//ui/gfx/x" ] |
183 } | 183 } |
184 if (is_win) { | 184 if (is_win) { |
185 sources += [ | 185 sources += [ |
| 186 "angle_platform_impl.cc", |
| 187 "angle_platform_impl.h", |
186 "gl_bindings_autogen_wgl.cc", | 188 "gl_bindings_autogen_wgl.cc", |
187 "gl_bindings_autogen_wgl.h", | 189 "gl_bindings_autogen_wgl.h", |
188 "gl_context_wgl.cc", | 190 "gl_context_wgl.cc", |
189 "gl_context_wgl.h", | 191 "gl_context_wgl.h", |
190 "gl_egl_api_implementation.cc", | 192 "gl_egl_api_implementation.cc", |
191 "gl_egl_api_implementation.h", | 193 "gl_egl_api_implementation.h", |
192 "gl_surface_wgl.cc", | 194 "gl_surface_wgl.cc", |
193 "gl_surface_wgl.h", | 195 "gl_surface_wgl.h", |
194 "gl_wgl_api_implementation.cc", | 196 "gl_wgl_api_implementation.cc", |
195 "gl_wgl_api_implementation.h", | 197 "gl_wgl_api_implementation.h", |
196 ] | 198 ] |
197 | 199 |
| 200 deps += [ "//third_party/angle:libGLESv2" ] |
| 201 |
198 libs = [ "dwmapi.lib" ] | 202 libs = [ "dwmapi.lib" ] |
199 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] | 203 ldflags = [ "/DELAYLOAD:dwmapi.dll" ] |
200 } | 204 } |
201 if (is_mac) { | 205 if (is_mac) { |
202 sources += [ | 206 sources += [ |
203 "gl_context_cgl.cc", | 207 "gl_context_cgl.cc", |
204 "gl_context_cgl.h", | 208 "gl_context_cgl.h", |
205 "gl_fence_apple.cc", | 209 "gl_fence_apple.cc", |
206 "gl_fence_apple.h", | 210 "gl_fence_apple.h", |
207 "gl_image_io_surface.cc", | 211 "gl_image_io_surface.cc", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 deps = [ | 283 deps = [ |
280 ":surface_jni_headers", | 284 ":surface_jni_headers", |
281 ] | 285 ] |
282 sources = [ | 286 sources = [ |
283 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 287 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
284 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 288 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
285 ] | 289 ] |
286 jni_package = "ui/gl" | 290 jni_package = "ui/gl" |
287 } | 291 } |
288 } | 292 } |
OLD | NEW |