[record_use] Add recorded uses to link hooks#184869
Conversation
a7e7dad to
34b91f3
Compare
34b91f3 to
cae5395
Compare
cae5395 to
15ec6b3
Compare
15ec6b3 to
3b3277a
Compare
|
An existing Git SHA, To re-trigger presubmits after closing or re-opeing a PR, or pushing a HEAD commit (i.e. with |
3b3277a to
2347966
Compare
2347966 to
bb34e07
Compare
bb34e07 to
0af70a5
Compare
reidbaker
left a comment
There was a problem hiding this comment.
I am not familiar with this work but the android changes are ok with me.
|
An existing Git SHA, To re-trigger presubmits after closing or re-opeing a PR, or pushing a HEAD commit (i.e. with |
flutter/flutter@2fa45e0...c1b14e9 2026-04-14 [email protected] Rebuild flutter tool skill (flutter/flutter#184975) 2026-04-14 [email protected] Roll Skia from 0851d988db03 to 4c382df6a25a (1 revision) (flutter/flutter#185025) 2026-04-14 [email protected] Roll Dart SDK from 5504504b38c2 to ee5afcef0596 (1 revision) (flutter/flutter#185024) 2026-04-14 [email protected] [ci] Split up integration.shard record_use_test.dart (flutter/flutter#185022) 2026-04-14 [email protected] Roll Skia from d34c84df4c37 to 0851d988db03 (3 revisions) (flutter/flutter#185012) 2026-04-14 [email protected] [record_use] Add recorded uses to link hooks (flutter/flutter#184869) 2026-04-14 [email protected] Roll Skia from 0e98a9c635bb to d34c84df4c37 (5 revisions) (flutter/flutter#185009) 2026-04-14 [email protected] Roll Dart SDK from ef28089d6533 to 5504504b38c2 (3 revisions) (flutter/flutter#185008) 2026-04-14 [email protected] Roll Fuchsia Linux SDK from K_2AkZL3Drs6cGE1q... to rB8LAuZL_DwHMssTU... (flutter/flutter#185007) 2026-04-14 [email protected] [fuchsia] Replace ambient-replace-as-executable with VmexResource. (flutter/flutter#184967) 2026-04-13 [email protected] [Impeller] Commands that don't specify their own viewports get the viewport of the render pass. (flutter/flutter#177473) 2026-04-13 [email protected] Roll Skia from bc1df263ff3f to 0e98a9c635bb (1 revision) (flutter/flutter#184995) 2026-04-13 [email protected] Update autosubmit guide with the emergency label (flutter/flutter#184993) 2026-04-13 [email protected] [flutter_tools] Cache pubspec reads and share PackageGraph/PackageConfig across workspace packages during pub get post-processing (flutter/flutter#184528) 2026-04-13 [email protected] Fix codesign verification test for SwiftPM Add to App (flutter/flutter#184980) 2026-04-13 [email protected] Preprovision Android NDK for flavored builds and reuse matching unflavored NDKs (flutter/flutter#183555) 2026-04-13 [email protected] Reland "Disable async mode with LLDB" (flutter/flutter#184970) 2026-04-13 [email protected] Roll Skia from 55ddd6bb8be5 to bc1df263ff3f (6 revisions) (flutter/flutter#184968) 2026-04-13 [email protected] Expose platform specific handles for multi-window API (flutter/flutter#184662) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Bug: * dart-lang/native#2690 Invokes the Dart compiler with `--recorded-uses` and pipes the result to the link hook invocation if the Flutter experiment is enabled. Testing: * Changes the existing integration test to expect the right number of translations (4 -> 2). * Enables the web integration test, as fixes have rolled from Dart to Flutter now. Implementation quirks: * Accessing the experiment flag required updating a bunch of tests to have the feature flags accessible. Does not yet: * Split the build and link hooks into separate targets. The build hooks can run in parallel with the Dart compilation, the link hooks can not. (So for now, when the experiment is enabled run the dart build hooks _after_ dart compilation instead of concurrently.) I'll follow up with a separate CL to reshuffle the targets.
Bug: * dart-lang/native#2690 Invokes the Dart compiler with `--recorded-uses` and pipes the result to the link hook invocation if the Flutter experiment is enabled. Testing: * Changes the existing integration test to expect the right number of translations (4 -> 2). * Enables the web integration test, as fixes have rolled from Dart to Flutter now. Implementation quirks: * Accessing the experiment flag required updating a bunch of tests to have the feature flags accessible. Does not yet: * Split the build and link hooks into separate targets. The build hooks can run in parallel with the Dart compilation, the link hooks can not. (So for now, when the experiment is enabled run the dart build hooks _after_ dart compilation instead of concurrently.) I'll follow up with a separate CL to reshuffle the targets.
…r#11506) flutter/flutter@2fa45e0...c1b14e9 2026-04-14 [email protected] Rebuild flutter tool skill (flutter/flutter#184975) 2026-04-14 [email protected] Roll Skia from 0851d988db03 to 4c382df6a25a (1 revision) (flutter/flutter#185025) 2026-04-14 [email protected] Roll Dart SDK from 5504504b38c2 to ee5afcef0596 (1 revision) (flutter/flutter#185024) 2026-04-14 [email protected] [ci] Split up integration.shard record_use_test.dart (flutter/flutter#185022) 2026-04-14 [email protected] Roll Skia from d34c84df4c37 to 0851d988db03 (3 revisions) (flutter/flutter#185012) 2026-04-14 [email protected] [record_use] Add recorded uses to link hooks (flutter/flutter#184869) 2026-04-14 [email protected] Roll Skia from 0e98a9c635bb to d34c84df4c37 (5 revisions) (flutter/flutter#185009) 2026-04-14 [email protected] Roll Dart SDK from ef28089d6533 to 5504504b38c2 (3 revisions) (flutter/flutter#185008) 2026-04-14 [email protected] Roll Fuchsia Linux SDK from K_2AkZL3Drs6cGE1q... to rB8LAuZL_DwHMssTU... (flutter/flutter#185007) 2026-04-14 [email protected] [fuchsia] Replace ambient-replace-as-executable with VmexResource. (flutter/flutter#184967) 2026-04-13 [email protected] [Impeller] Commands that don't specify their own viewports get the viewport of the render pass. (flutter/flutter#177473) 2026-04-13 [email protected] Roll Skia from bc1df263ff3f to 0e98a9c635bb (1 revision) (flutter/flutter#184995) 2026-04-13 [email protected] Update autosubmit guide with the emergency label (flutter/flutter#184993) 2026-04-13 [email protected] [flutter_tools] Cache pubspec reads and share PackageGraph/PackageConfig across workspace packages during pub get post-processing (flutter/flutter#184528) 2026-04-13 [email protected] Fix codesign verification test for SwiftPM Add to App (flutter/flutter#184980) 2026-04-13 [email protected] Preprovision Android NDK for flavored builds and reuse matching unflavored NDKs (flutter/flutter#183555) 2026-04-13 [email protected] Reland "Disable async mode with LLDB" (flutter/flutter#184970) 2026-04-13 [email protected] Roll Skia from 55ddd6bb8be5 to bc1df263ff3f (6 revisions) (flutter/flutter#184968) 2026-04-13 [email protected] Expose platform specific handles for multi-window API (flutter/flutter#184662) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…r#11506) flutter/flutter@2fa45e0...c1b14e9 2026-04-14 [email protected] Rebuild flutter tool skill (flutter/flutter#184975) 2026-04-14 [email protected] Roll Skia from 0851d988db03 to 4c382df6a25a (1 revision) (flutter/flutter#185025) 2026-04-14 [email protected] Roll Dart SDK from 5504504b38c2 to ee5afcef0596 (1 revision) (flutter/flutter#185024) 2026-04-14 [email protected] [ci] Split up integration.shard record_use_test.dart (flutter/flutter#185022) 2026-04-14 [email protected] Roll Skia from d34c84df4c37 to 0851d988db03 (3 revisions) (flutter/flutter#185012) 2026-04-14 [email protected] [record_use] Add recorded uses to link hooks (flutter/flutter#184869) 2026-04-14 [email protected] Roll Skia from 0e98a9c635bb to d34c84df4c37 (5 revisions) (flutter/flutter#185009) 2026-04-14 [email protected] Roll Dart SDK from ef28089d6533 to 5504504b38c2 (3 revisions) (flutter/flutter#185008) 2026-04-14 [email protected] Roll Fuchsia Linux SDK from K_2AkZL3Drs6cGE1q... to rB8LAuZL_DwHMssTU... (flutter/flutter#185007) 2026-04-14 [email protected] [fuchsia] Replace ambient-replace-as-executable with VmexResource. (flutter/flutter#184967) 2026-04-13 [email protected] [Impeller] Commands that don't specify their own viewports get the viewport of the render pass. (flutter/flutter#177473) 2026-04-13 [email protected] Roll Skia from bc1df263ff3f to 0e98a9c635bb (1 revision) (flutter/flutter#184995) 2026-04-13 [email protected] Update autosubmit guide with the emergency label (flutter/flutter#184993) 2026-04-13 [email protected] [flutter_tools] Cache pubspec reads and share PackageGraph/PackageConfig across workspace packages during pub get post-processing (flutter/flutter#184528) 2026-04-13 [email protected] Fix codesign verification test for SwiftPM Add to App (flutter/flutter#184980) 2026-04-13 [email protected] Preprovision Android NDK for flavored builds and reuse matching unflavored NDKs (flutter/flutter#183555) 2026-04-13 [email protected] Reland "Disable async mode with LLDB" (flutter/flutter#184970) 2026-04-13 [email protected] Roll Skia from 55ddd6bb8be5 to bc1df263ff3f (6 revisions) (flutter/flutter#184968) 2026-04-13 [email protected] Expose platform specific handles for multi-window API (flutter/flutter#184662) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Bug:
Invokes the Dart compiler with
--recorded-usesand pipes the result to the link hook invocation if the Flutter experiment is enabled.Testing:
Implementation quirks:
Does not yet: