-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).Dart language related items (some items might be better tracked at github.com/dart-lang/language).area-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).Cross-cutting, high-level issues (for tracking many other implementation issues, ...).type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Implement configuration specific imports [0] behind a flag.
Validate it, and then remove the flag, once the DEP committee has accepted it.
Agreed upon flag (so far): --conditional-directives
The implementation is already underway (checked when committed):
- VM: https://codereview.chromium.org/1380383002/
- dart2js: https://codereview.chromium.org/1388523002/
Still missing: environment variables for the existing libraries:
- VM: issue Set predefined environment variables for existing libraries in the VM #24587
- dart2js: issue Set predefined environment variables for existing libraries in dart2js #24586
Validate implementation by updating pkg/http
The analysis can be implemented in different phases.
- analyzer: Implement configuration specific imports in the analyzer #24579
- phase 0
- phase 1 - no longer planned.
- dart2js (optional): Implement analysis for configuration specific imports in dart2js. #24580 - no longer planned.
Once the DEP committee has accepted:
- remove flag
- Implement in DDC implement configuration specific imports dart-archive/dev_compiler#595
- Validate behavior for summaries and bazel Validate summary generation and bazel model for Config Specific Imports (CSI) #28247
[0] https://github.com/munificent/dep-interface-libraries/blob/master/Proposal.md
Solido
Metadata
Metadata
Assignees
Labels
area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).Dart language related items (some items might be better tracked at github.com/dart-lang/language).area-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).Cross-cutting, high-level issues (for tracking many other implementation issues, ...).type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug