Index: content/content_shell.gypi |
diff --git a/content/content_shell.gypi b/content/content_shell.gypi |
index 9501ff7a18f58844eb45352c18571874d29c5654..a33508b2997a44ec35a814d7cc37bf810ad205ae 100644 |
--- a/content/content_shell.gypi |
+++ b/content/content_shell.gypi |
@@ -534,10 +534,16 @@ |
'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
}, |
{ |
- 'action_name': 'copy_content_shell_content_view', |
+ 'action_name': 'copy_and_strip_so', |
'inputs': ['<(SHARED_LIB_DIR)/libcontent_shell_content_view.so'], |
'outputs': ['<(PRODUCT_DIR)/content_shell/libs/armeabi/libcontent_shell_content_view.so'], |
- 'action': ['cp', '<@(_inputs)', '<@(_outputs)'], |
+ 'action': [ |
+ '<!(/bin/echo -n $STRIP)', |
+ '--strip-unneeded', # All symbols not needed for relocation. |
+ '<@(_inputs)', |
+ '-o', |
+ '<@(_outputs)' |
+ ], |
}, |
{ |
'action_name': 'content_shell_apk', |