• stuartmorgan's avatar
    Set TargetFile define for resident builds (#92511) · ed61608a
    stuartmorgan authored
    Dart plugin registration generation depends on the target main file
    being set as a define so that it's available in the environment, but the
    resident runner wasn't setting it. That worked for initial builds
    because of the re-entrant call to `assemble` (which does set it), but
    caused Hot Restart to always re-generate the wrapper using
    lib/main.dart.
    
    This ensures that the define is set in that codepath as well.
    
    Fixes https://github.com/flutter/flutter/issues/91535
    ed61608a
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...