Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: components/cronet/tools/hide_symbols.py

Issue 2935103002: [Cronet] Strip debug symbols from i386 static framework for iOS. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698