Index: ui/resources/BUILD.gn |
diff --git a/ui/resources/BUILD.gn b/ui/resources/BUILD.gn |
index 538668cef9fd6b137fee4760450fee675b9926e2..b73e0db9c4a97c60d44f005305a693bd7d931841 100644 |
--- a/ui/resources/BUILD.gn |
+++ b/ui/resources/BUILD.gn |
@@ -128,7 +128,10 @@ repack("repack_ui_test_pak") { |
# copied, because it causes leaks from allocations within system libraries when |
# trying to load non-string resources. http://crbug.com/413034. |
repack("repack_ui_test_mac_locale_pack") { |
- visibility = [ ":ui_test_pak" ] |
+ visibility = [ |
+ ":ui_test_pak", |
+ "//:gn_visibility", # TODO(GYP): this shouldn't be necessary. |
+ ] |
sources = [ |
"$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |