Index: ui/gl/BUILD.gn |
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn |
index c63b290d2a27879d8f0ccf9ff0136725cfc6810b..827d105fb65e90c8724db7418b3ddf94394c5ead 100644 |
--- a/ui/gl/BUILD.gn |
+++ b/ui/gl/BUILD.gn |
@@ -285,14 +285,21 @@ source_set("gl_unittest_utils") { |
} |
source_set("test_support") { |
+ testonly = true |
sources = [ |
+ "test/gl_image_test_support.cc", |
+ "test/gl_image_test_support.h", |
+ "test/gl_image_test_template.h", |
"test/gl_surface_test_support.cc", |
"test/gl_surface_test_support.h", |
+ "test/gl_test_helper.cc", |
+ "test/gl_test_helper.h", |
] |
configs += [ "//third_party/khronos:khronos_headers" ] |
deps = [ |
+ "//testing/gtest", |
":gl", |
] |
@@ -317,6 +324,8 @@ group("gl_unittests_run") { |
test("gl_unittests") { |
sources = [ |
"gl_api_unittest.cc", |
+ "gl_image_ref_counted_memory_unittest.cc", |
+ "gl_image_shared_memory_unittest.cc", |
"gpu_timing_unittest.cc", |
"test/run_all_unittests.cc", |
] |
@@ -340,8 +349,10 @@ test("gl_unittests") { |
":test_support", |
"//base", |
"//base/test:test_support", |
+ "//skia", |
"//testing/gmock", |
"//testing/gtest", |
+ "//ui/gfx", |
] |
} |