Skip to content

Conversation

alexmarkov
Copy link
Contributor

This is a preparation to enable new global type flow analysis in Dart 2 AOT. Global analysis needs entry points JSON files in order to enumerate Dart entry points.

These entry points JSON files are generated while building Flutter engine (flutter/engine#4725, flutter/engine#4734) and uploaded into the cloud as a part of platform/mode-specific artifacts (https://chromium-review.googlesource.com/c/chromium/tools/build/+/944519).

This change adds artifact declarations for entry points JSON files into Flutter tools and passes them to Dart 2 front-end server (which passes them to the global type flow analysis).

@cbracken
Copy link
Member

cbracken commented Mar 6, 2018

lgtm

@alexmarkov alexmarkov merged commit 0edea88 into flutter:master Mar 6, 2018
@alexmarkov alexmarkov deleted the entry-points-artifacts branch March 6, 2018 22:50
alexmarkov added a commit that referenced this pull request Mar 7, 2018
alexmarkov added a commit that referenced this pull request Mar 7, 2018
* Revert "Pass entry points JSON files to front-end server (#15180)"

This reverts commit 0edea88.

Reason: buildbot failures on Mac.
alexmarkov added a commit to alexmarkov/flutter that referenced this pull request Mar 7, 2018
alexmarkov added a commit that referenced this pull request Mar 7, 2018
* Pass entry points JSON files to front-end server (#15180)

* Fix ios/debug build which uses 'flutter build aot': do not require entry points files and disable AOT transformations in this mode
DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
)

* Revert "Pass entry points JSON files to front-end server (flutter#15180)"

This reverts commit 0edea88.

Reason: buildbot failures on Mac.
DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
* Pass entry points JSON files to front-end server (flutter#15180)

* Fix ios/debug build which uses 'flutter build aot': do not require entry points files and disable AOT transformations in this mode
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants