Index: chromecast/BUILD.gn |
diff --git a/chromecast/BUILD.gn b/chromecast/BUILD.gn |
index 8e1c18e9b1ada95972901d72f36b892024d8a274..a08c11a0ca4c06cd3b65a329152dd32b9e779103 100644 |
--- a/chromecast/BUILD.gn |
+++ b/chromecast/BUILD.gn |
@@ -223,6 +223,10 @@ executable("cast_shell") { |
if (chromecast_branding != "public") { |
deps += [ "//chromecast/internal:cast_shell_internal" ] |
} |
+ |
+ # Whole archiving libgcc.a and libstdc++ is needed if dynamic share libs are |
+ # used, see b/25566835. |
+ configs += [ "//build/config/chromecast:executable_whole_archive_config" ] |
} |
repack("cast_shell_pak") { |