When entry_point and reflection_entry_point are the same file, we generate .ng_deps.dart files prior to removing the import to reflection_capabilities.dart, so the generated file transitively imports dart:mirrors.
We might be able to avoid this by moving the transform phase removing the import earlier in the process, otherwise we'll need to special-case reflection_capabilities.dart, which is less than ideal.
When
entry_pointandreflection_entry_pointare the same file, we generate.ng_deps.dartfiles prior to removing the import toreflection_capabilities.dart, so the generated file transitively importsdart:mirrors.We might be able to avoid this by moving the transform phase removing the import earlier in the process, otherwise we'll need to special-case
reflection_capabilities.dart, which is less than ideal.