-
Notifications
You must be signed in to change notification settings - Fork 28.9k
AOT support for Linux Desktop I: switch Linux builds to assemble #41612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #41612 +/- ##
==========================================
- Coverage 60.92% 60.19% -0.74%
==========================================
Files 194 194
Lines 18920 18924 +4
==========================================
- Hits 11527 11391 -136
- Misses 7393 7533 +140
Continue to review full report at Codecov.
|
if (localEngine != null) '--local-engine=$localEngine', | ||
'assemble', | ||
'-dTargetPlatform=$targetPlatform', | ||
'-dBuildMode=$buildMode', |
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.
This will fail with non-debug builds for now since there are no profile or release targets.
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.
ack
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.
Actually, I updated to be hardcoded to debug so it doesn't crash on --release
@@ -18,6 +18,9 @@ Future<void> main(List<String> arguments) async { | |||
final String localEngine = Platform.environment['LOCAL_ENGINE']; | |||
final String flutterRoot = Platform.environment['FLUTTER_ROOT']; | |||
|
|||
final String flutterExecutable = path.join( |
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.
Move this after the localEngine check to avoid initializing and exiting early?
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.
Done
if (localEngine != null) '--local-engine=$localEngine', | ||
'assemble', | ||
'-dTargetPlatform=$targetPlatform', | ||
'-dBuildMode=$buildMode', |
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.
ack
I reverted this, see #42030 |
…ble (flutter#41612)" (flutter#42030) This reverts commit 3024053.
…ble (flutter#41612)" (flutter#42030)" (flutter#42038) This reverts commit 142a863.
Description
Updates linux desktop builds (debug only) to use assemble. Preparation for supporting an AOT build through the same mechanism. Removes linux support from unpack command.
#32921