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 use_egl = is_win || is_android || is_linux | 8 use_egl = is_win || is_android || is_linux |
9 use_glx = use_x11 | 9 use_glx = use_x11 |
10 | 10 |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 configs += [ "//build/config/linux:x11" ] | 331 configs += [ "//build/config/linux:x11" ] |
332 deps += [ "//ui/platform_window/x11" ] | 332 deps += [ "//ui/platform_window/x11" ] |
333 } | 333 } |
334 } | 334 } |
335 | 335 |
336 test("gl_unittests") { | 336 test("gl_unittests") { |
337 sources = [ | 337 sources = [ |
338 "gl_api_unittest.cc", | 338 "gl_api_unittest.cc", |
339 "gl_image_ref_counted_memory_unittest.cc", | 339 "gl_image_ref_counted_memory_unittest.cc", |
340 "gl_image_shared_memory_unittest.cc", | 340 "gl_image_shared_memory_unittest.cc", |
| 341 "gl_version_info_unittest.cc", |
341 "gpu_timing_unittest.cc", | 342 "gpu_timing_unittest.cc", |
342 "test/run_all_unittests.cc", | 343 "test/run_all_unittests.cc", |
343 ] | 344 ] |
344 | 345 |
345 if (use_egl) { | 346 if (use_egl) { |
346 sources += [ | 347 sources += [ |
347 "egl_api_unittest.cc", | 348 "egl_api_unittest.cc", |
348 "test/egl_initialization_displays_unittest.cc", | 349 "test/egl_initialization_displays_unittest.cc", |
349 ] | 350 ] |
350 } | 351 } |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 sources = [ | 401 sources = [ |
401 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 402 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
402 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 403 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
403 ] | 404 ] |
404 public_deps = [ | 405 public_deps = [ |
405 ":surface_jni_headers", | 406 ":surface_jni_headers", |
406 ] | 407 ] |
407 jni_package = "ui/gl" | 408 jni_package = "ui/gl" |
408 } | 409 } |
409 } | 410 } |
OLD | NEW |