Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Issue 2009303002: Embedder support refactoring (phase 1). (Closed)

Created:
4 years, 7 months ago by pquitslund
Modified:
4 years, 7 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org, danrubel
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Embedder support refactoring (phase 1). A bunch of changes to pave the way for emebdder SDK summary creation. * Moves _embedder.yaml processing into the embedder SDK (out of the resolver). * Changes EmbedderUriResolver to compose rather than extend a DartUriResolver. * Fixes the wierd handling (dropping to add back) of `dart:` URIs. * Fixes the incorrect overriding docs for `SDKLibraryImpl.shortName`. * Updates embedder test to include a definition of `dart:core` in anticipation of adding some embedder SDK tests. Some API work TODO in a follow-up CL (notably the way we check for the presence of embedders by querying the resolver is odd). BUG= R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/53fe39137fb7601d2ea3596a8a6407815c383e8f

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -83 lines) Patch
M pkg/analysis_server/lib/src/analysis_server.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analysis_server/lib/src/context_manager.dart View 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/analysis_server/test/context_manager_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/source/embedder.dart View 9 chunks +64 lines, -57 lines 0 comments Download
M pkg/analyzer/lib/src/generated/sdk.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M pkg/analyzer/test/source/embedder_test.dart View 8 chunks +21 lines, -14 lines 2 comments Download
M pkg/analyzer_cli/lib/src/driver.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
pquitslund
4 years, 7 months ago (2016-05-25 17:29:10 UTC) #2
Brian Wilkerson
lgtm https://codereview.chromium.org/2009303002/diff/1/pkg/analyzer/test/source/embedder_test.dart File pkg/analyzer/test/source/embedder_test.dart (right): https://codereview.chromium.org/2009303002/diff/1/pkg/analyzer/test/source/embedder_test.dart#newcode53 pkg/analyzer/test/source/embedder_test.dart:53: expect(resolver.length, 5); Seems strange, if there are five ...
4 years, 7 months ago (2016-05-25 17:45:57 UTC) #3
pquitslund
Thanks! https://codereview.chromium.org/2009303002/diff/1/pkg/analyzer/test/source/embedder_test.dart File pkg/analyzer/test/source/embedder_test.dart (right): https://codereview.chromium.org/2009303002/diff/1/pkg/analyzer/test/source/embedder_test.dart#newcode53 pkg/analyzer/test/source/embedder_test.dart:53: expect(resolver.length, 5); On 2016/05/25 17:45:56, Brian Wilkerson wrote: ...
4 years, 7 months ago (2016-05-25 17:52:00 UTC) #4
pquitslund
Committed patchset #1 (id:1) manually as 53fe39137fb7601d2ea3596a8a6407815c383e8f (presubmit successful).
4 years, 7 months ago (2016-05-25 17:53:00 UTC) #6
pquitslund
4 years, 7 months ago (2016-05-25 18:53:13 UTC) #7
Message was sent while issue was closed.
FYI @danrubel: in case this has any impact on fletch...

Powered by Google App Engine
This is Rietveld 408576698