Index: components/cronet/tools/hide_symbols.py |
diff --git a/components/cronet/tools/hide_symbols.py b/components/cronet/tools/hide_symbols.py |
index a66c108f58e983ce1ff63e8a63095962ecb6fa85..d0de6817405772035c051d5705740232b172b92f 100755 |
--- a/components/cronet/tools/hide_symbols.py |
+++ b/components/cronet/tools/hide_symbols.py |
@@ -89,6 +89,11 @@ def main(): |
options.input_libs, options.deps_lib, |
] |
subprocess.check_call(command) |
+ # Strip debug info from output lib so its size doesn't exceed 512mb. |
+ command = [ |
+ 'xcrun', 'strip', '-S', options.output_lib, |
+ ] |
+ subprocess.check_call(command) |
return |
if os.path.exists(options.output_lib): |