Index: ui/views/BUILD.gn |
diff --git a/ui/views/BUILD.gn b/ui/views/BUILD.gn |
index 21015b5cc5713229c1572530381cbfead81a9d26..4664336f9f23d8fcdd8224cf66c49b46de40125b 100644 |
--- a/ui/views/BUILD.gn |
+++ b/ui/views/BUILD.gn |
@@ -15,7 +15,10 @@ config("flags") { |
defines = [ "TOOLKIT_VIEWS=1" ] |
} |
-component("views") { |
+static_library("views") { |
+ # TODO(crbug.com/559766) this should be a component but |
+ # there are static initializers that get accidentally linked |
+ # into chrome from that need to be addressed first. |
all_dependent_configs = [ ":flags" ] |
sources = gypi_values.views_sources |