diff --git ui/ozone/BUILD.gn ui/ozone/BUILD.gn
index bee32267d70ee..8975d1e77858b 100644
--- ui/ozone/BUILD.gn
+++ ui/ozone/BUILD.gn
@@ -401,6 +401,8 @@ action("generate_test_support_constructor_list") {
   ]
 
   deps = [ ":generate_ozone_platform_list" ]
+
+  visibility += [ "//cef:*" ]
 }
 
 test("ozone_unittests") {