Skip to content

add support for _embedder.yaml file #1093

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

Merged
merged 1 commit into from
Feb 17, 2016
Merged

add support for _embedder.yaml file #1093

merged 1 commit into from
Feb 17, 2016

Conversation

keertip
Copy link
Collaborator

@keertip keertip commented Jan 27, 2016

closes #1067

@pq , currently using an alpha version of the analyzer. Will wait till a new version is released to land this.

@@ -128,7 +129,7 @@ class DartDoc {
List<LibraryElement> _parseLibraries(List<String> files) {
Set<LibraryElement> libraries = new Set();
DartSdk sdk = new DirectoryBasedDartSdk(new JavaFile(sdkDir.path));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might consider moving SDK creation into the else block in case there is embedder information and it isn't needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is used otherwise too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If that's the case, we need an EmbedderSdk in case there's embedded SDK info...

Maybe better to discuss in person?

@pq
Copy link
Member

pq commented Jan 27, 2016

LGTM % nits.

keertip added a commit that referenced this pull request Feb 17, 2016
add support for _embedder.yaml file
@keertip keertip merged commit 449b13e into dart-lang:master Feb 17, 2016
@keertip keertip deleted the embedder branch February 17, 2016 00:30
@@ -0,0 +1,4 @@
embedder_libs:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has changed. It's now embedded_libs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Find libraries listed in _embedder.yaml for doc generation
3 participants