Index: ui/gl/BUILD.gn |
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn |
index 238c677ea935d6324c82738d0da326f89ed0f498..35cce3c71fed68d1ce99b3ec3de1e8cf7995902f 100644 |
--- a/ui/gl/BUILD.gn |
+++ b/ui/gl/BUILD.gn |
@@ -380,6 +380,10 @@ test("gl_unittests") { |
"gpu_timing_unittest.cc", |
] |
+ if (use_egl && !use_ozone) { |
+ sources += [ "gl_surface_egl_unittest.cc" ] |
+ } |
+ |
if (use_egl) { |
sources += [ |
"egl_api_unittest.cc", |