-
Notifications
You must be signed in to change notification settings - Fork 6k
make it possible to disable debug symbols stripping #11265
Conversation
tools/gn
Outdated
@@ -262,6 +262,10 @@ def to_gn_args(args): | |||
if args.build_glfw_shell: | |||
gn_args['build_glfw_shell'] = True | |||
|
|||
gn_args['stripped_symbols'] = args.stripped | |||
|
|||
print(gn_args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, my bad. Sorry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
@@ -333,6 +337,10 @@ def parse_args(args): | |||
parser.add_argument('--bitcode', default=False, action='store_true', | |||
help='Enable bitcode for iOS targets.') | |||
|
|||
parser.add_argument('--stripped', default=True, action='store_true', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the flag name to something that indicates that this only affects the contents of flutter.jar
on Android? (e.g. --flutter-jar-unstripped
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the fact that it's not on iOS is probably more of a bug than a feature right? I think we should ideally not create one off features and stripping symbols is a generic feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…engine#11265) (#39291) [email protected]:flutter/engine.git/compare/59e14bc5f69e...fd25f80 git log 59e14bc..fd25f80 --no-merges --oneline 2019-08-26 [email protected] make it possible to disable debug symbols stripping (flutter/engine#11265) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
No description provided.