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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
7 import("//build/config/linux/pkg_config.gni") | 7 import("//build/config/linux/pkg_config.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//ui/ozone/ozone.gni") | 9 import("//ui/ozone/ozone.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 test("gl_unittests") { | 373 test("gl_unittests") { |
374 sources = [ | 374 sources = [ |
375 "gl_api_unittest.cc", | 375 "gl_api_unittest.cc", |
376 "gl_image_ref_counted_memory_unittest.cc", | 376 "gl_image_ref_counted_memory_unittest.cc", |
377 "gl_image_shared_memory_unittest.cc", | 377 "gl_image_shared_memory_unittest.cc", |
378 "gl_surface_format_unittest.cc", | 378 "gl_surface_format_unittest.cc", |
379 "gl_version_info_unittest.cc", | 379 "gl_version_info_unittest.cc", |
380 "gpu_timing_unittest.cc", | 380 "gpu_timing_unittest.cc", |
381 ] | 381 ] |
382 | 382 |
| 383 if (use_egl && !use_ozone) { |
| 384 sources += [ "gl_surface_egl_unittest.cc" ] |
| 385 } |
| 386 |
383 if (use_egl) { | 387 if (use_egl) { |
384 sources += [ | 388 sources += [ |
385 "egl_api_unittest.cc", | 389 "egl_api_unittest.cc", |
386 "test/egl_initialization_displays_unittest.cc", | 390 "test/egl_initialization_displays_unittest.cc", |
387 ] | 391 ] |
388 } | 392 } |
389 | 393 |
390 if (use_glx) { | 394 if (use_glx) { |
391 sources += [ "glx_api_unittest.cc" ] | 395 sources += [ "glx_api_unittest.cc" ] |
392 } | 396 } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 sources = [ | 451 sources = [ |
448 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 452 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
449 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 453 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
450 ] | 454 ] |
451 public_deps = [ | 455 public_deps = [ |
452 ":surface_jni_headers", | 456 ":surface_jni_headers", |
453 ] | 457 ] |
454 jni_package = "ui/gl" | 458 jni_package = "ui/gl" |
455 } | 459 } |
456 } | 460 } |
OLD | NEW |