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