-
Notifications
You must be signed in to change notification settings - Fork 6k
GN targets to create flutter_web_sdk. #31556
Conversation
This is required to separate the the linux builds and tests. Bug: flutter/flutter#81855
web_sdk/BUILD.gn
Outdated
|
|
||
| # Archives Flutter Web SDK | ||
| zip_bundle("flutter_web_sdk_archive") { | ||
| output = "flutter-web-sdk-${host_os}-${target_cpu}.zip" |
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.
The ${host_os}-${target_cpu} combo doesn't make sense. I think you want ${target_os}-${target_cpu}. Not sure why the ${target_cpu} part is included since I think these artifacts are arch generic, but maybe @yjbanov can explain.
If this is going to be coming up more even after this, we could consider making some of the definitions here public: https://github.com/flutter/engine/blob/main/common/config.gni#L87
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.
There are many artifacts for the different platforms that are using ${target_os}-${target_cpu} in their names. I'll go ahead and make the definition you pointed out public.
* GN targets to create flutter_web_sdk. (#31556) * Fix gn problem impacting fuchsia builds. (#31615) * Generate fonts in the expected location. (#31575) * Generate fonts in the expected location. Fonts-subset is generated directly in out/../zip_archives but the final destination is expected to be inside a folder like linux-x64. This PR generates the file directly in the expected path. Bug: flutter/flutter#81855 * Fix font zip tests. * Revert changes to run_tests.py * Update host_os_cpu_name variable to report darwin for mac. * Fix variable names. * Calculate prebuilts path using mac instead of darwin. * Add platform to fontset path. * Fix platforms map. * Add debugging. * Add win32 to the map of artifact locations. * Use full_platform_name instead of host_os_name. * Use x32 for windows font binaries. * Fix paths for debug version in windows. * Use x64 for win32. * Remove additional logging. * Add linux2 to map of platforms. Co-authored-by: godofredoc <[email protected]>
This is required to separate the the linux builds and tests.
Bug: flutter/flutter#81855
Pre-launch Checklist
writing and running engine tests.
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.