-
Notifications
You must be signed in to change notification settings - Fork 67
[native_assets_cli] HookOutput dependencies should not have to include any Dart files #1256
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
Comments
@jensjoha can the CFE output a list of dart source files? |
The frontend_server for instance lists the keys in |
We could even make
Most of our tools already support emitting We should be really optimizing for compile times in |
So we can roll to Flutter: * #1256
So we can roll to Flutter: * #1256
Bug: dart-lang/native#1256 Change-Id: Ife1e77d2372b2edbeae43902a1c616d1d446dbf4 Cq-Include-Trybots: luci.dart.try:pkg-linux-release-arm64-try,pkg-linux-debug-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/375461 Auto-Submit: Daco Harkes <[email protected]> Reviewed-by: Moritz Sümmermann <[email protected]> Commit-Queue: Moritz Sümmermann <[email protected]>
Roll deps to address: * dart-lang/native#1256 Cross-linking Dart standalone CL: https://dart-review.googlesource.com/c/sdk/+/375461 (no breaking API changes)
Guys, I’m not on your team!
Private and Confidential
Maximilian A. Kustermann
***@***.***
…On Mon 15. Jul 2024 at 10:14, Daco Harkes ***@***.***> wrote:
Closed #1256 <#1256> as
completed.
—
Reply to this email directly, view it on GitHub
<#1256 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABS4RZKYOHMBXTWT4DISVFDZMOAHHAVCNFSM6AAAAABKHMUOX2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGUYDCOBQHEZDQMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The compiler should know what Dart source files have been used running a Dart script. So we shouldn't request hook writers to list transitively all Dart files in
HookOutput.dependencies
.Currently the hook is run as
dart path/to/some/hook/<hookname>.dart --config=path/to/config.json
.In order to get a list of all Dart files used, we have multiple options:
.d
file (not preferred, I'd rather not depend on SDK internals.).--dependencies=path/to/deps.d
todart
.dart --dependencies=path/to/deps.d path/to/some/hook/<hookname>.dart --config=path/to/config.json
. This could be used for other use cases as well. (preferred)Then we can also get rid of the weird
dartBuildFiles
for theCBuilder
:Thanks @kustermann!
The text was updated successfully, but these errors were encountered: