Chromium Code Reviews
DescriptionAdd _embedder.yaml support to analyzer and analysis_server
- If a package has an '_embedder.yaml' file with an 'embedder_libs' key two things happen:
1) We do not use the DartUriResolver to resolve dart: libraries.
2) We use the EmbedderUriResolver to resolve all dart: libraries
- If multiple packages have an '_embedder.yaml' file we merge them.
- This might not be the final behaviour that we want but I'm not sure how to surface errors to the end user.
- The '_embedder.yaml' file has a top level key 'embedder_libs' which is a map from dart: library uri to source path. Other keys are ignored by the EmbedderUriResolver.
- Unit tests for analyzer
- Integration test for analysis_server.
R=pquitslund@google.com
Committed: https://github.com/dart-lang/sdk/commit/bb4d547a5dbfc1f4f7c2d49647aec9c408272347
Patch Set 1 #Patch Set 2 : #
Total comments: 13
Patch Set 3 : #
Total comments: 8
Patch Set 4 : #Patch Set 5 : #
Total comments: 6
Patch Set 6 : #
Total comments: 1
Messages
Total messages: 28 (6 generated)
|