Index: gn/BUILDCONFIG.gn |
diff --git a/gn/BUILDCONFIG.gn b/gn/BUILDCONFIG.gn |
index 2daba294819e2329ddda91efad03e55d81b82f0c..d6833571c8a9c4e524a49ae671cb89f57114e398 100644 |
--- a/gn/BUILDCONFIG.gn |
+++ b/gn/BUILDCONFIG.gn |
@@ -73,6 +73,9 @@ set_defaults("shared_library") { |
set_defaults("component") { |
configs = default_configs |
+ if (!is_component_build) { |
+ complete_static_lib = true |
+ } |
} |
# For now, we support GCC-like toolchains, including Clang. |