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

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

Issue 2775633006: Add unittests for gl_surface_egl to cover the changes in crrev.com/2698573002. (Closed)
Patch Set: Fix test failure on linux_chromium_chromeos_ozone_rel_ng Created 3 years, 8 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 | « no previous file | ui/gl/gl_surface_egl_unittest.cc » ('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/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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | ui/gl/gl_surface_egl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698