Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(763)

Side by Side Diff: ui/gl/BUILD.gn

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gfx/render_text_ozone.cc ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 defines += [ 228 defines += [
229 "GL_GLEXT_PROTOTYPES", 229 "GL_GLEXT_PROTOTYPES",
230 "EGL_EGLEXT_PROTOTYPES", 230 "EGL_EGLEXT_PROTOTYPES",
231 ] 231 ]
232 232
233 libs = [ "android" ] 233 libs = [ "android" ]
234 234
235 deps += [ ":gl_jni_headers" ] 235 deps += [ ":gl_jni_headers" ]
236 } 236 }
237 if (use_ozone) {
238 sources += [
239 "gl_context_ozone.cc",
240 "gl_egl_api_implementation.cc",
241 "gl_egl_api_implementation.h",
242 "gl_implementation_ozone.cc",
243 "gl_surface_ozone.cc",
244 ]
245 deps += [
246 "//ui/ozone",
247 "//ui/ozone:ozone_base",
248 ]
249 }
250 237
251 if (is_android && !is_android_webview_build) { 238 if (is_android && !is_android_webview_build) {
252 deps += [ "//ui/android:ui_java" ] 239 deps += [ "//ui/android:ui_java" ]
253 } 240 }
254 } 241 }
255 242
256 action("generate_gl_bindings") { 243 action("generate_gl_bindings") {
257 visibility = [ ":*" ] # Only targets in this file can see this. 244 visibility = [ ":*" ] # Only targets in this file can see this.
258 245
259 script = "generate_bindings.py" 246 script = "generate_bindings.py"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 deps = [ 326 deps = [
340 ":surface_jni_headers", 327 ":surface_jni_headers",
341 ] 328 ]
342 sources = [ 329 sources = [
343 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 330 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
344 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 331 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
345 ] 332 ]
346 jni_package = "ui/gl" 333 jni_package = "ui/gl"
347 } 334 }
348 } 335 }
OLDNEW
« no previous file with comments | « ui/gfx/render_text_ozone.cc ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698