-
Notifications
You must be signed in to change notification settings - Fork 6k
[web] specify all defines used for html, ck, auto rendering modes #23433
Conversation
angjieli
left a comment
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.
LGTM
| "--libraries-file", | ||
| "org-dartlang-sdk:///flutter_web_sdk/libraries.json", | ||
| "--inline-source-map", | ||
| "-DFLUTTER_WEB_USE_SKIA=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.
Does autodetect use skia=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.
You can remove this. It doesn't matter once FLUTTER_WEB_AUTO_DETECT is specified.
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.
autodetect has higher precedence, it doesn't check skia at that point.
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.
OK, I'll leave it as set just so it is easier to change in the future.
|
This pull request is not suitable for automatic merging in its current state.
|
Description
Allow changing the default value of the flutter web rendering backends in debug mode by specifying all dart defines. Also updates the BUILD.gn comments to be clearer on what is getting built.