Remove dead functions at link time on Mac.
ReleaseX64 stripped dart_precompiled 10.5MB -> 8.4MB (-20%) dart 12.1MB -> 11.5MB (-5%) R=iposva@google.com Review URL: https://codereview.chromium.org/1471063003 .
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
|
||||
'GCC_DEBUGGING_SYMBOLS': 'default', # -g
|
||||
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols
|
||||
'DEAD_CODE_STRIPPING': 'YES', # -Wl,-dead_strip
|
||||
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
|
||||
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden
|
||||
'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor
|
||||
|
||||
Reference in New Issue
Block a user