Skip to content

[cfe] dart compile kernel --depfile does not include package_config.json #59637

@dcharkes

Description

@dcharkes

Steps to reproduce

dart compile kernel --packages=path/to/package_config.json --output=xyz.dill --depfile=xyz.dill.d xyz.dart

Expected result:

xyz.dill.d contains path/to/package_config.json

Actual result:

xyz.dill.d contains only the list of .dart files.

@johnniwinther @jensjoha @chloestefantsova Is the omission of the package_config intentional or an oversight? The kernel compilation would most likely need to be rerun when the contents of the file passed in --packages changes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions