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

Issue 198053009: Use real "package:" imports in pub's plugin-loading code. (Closed)

Created:
6 years, 9 months ago by nweiz
Modified:
6 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use real "package:" imports in pub's plugin-loading code. This works by providing the plugin-loading code to pub's barback instance as assets for a pseudo-package named "$pub". BUG=17506 R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=34056

Patch Set 1 #

Total comments: 9

Patch Set 2 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -35 lines) Patch
M sdk/lib/_internal/pub/asset/dart/transformer_isolate.dart View 4 chunks +19 lines, -9 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/build_environment.dart View 2 chunks +14 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart View 1 3 chunks +15 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/pub_package_provider.dart View 1 1 chunk +18 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/server.dart View 1 chunk +4 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/io.dart View 1 chunk +0 lines, -3 lines 0 comments Download
A + sdk/lib/_internal/pub/test/transformer/can_use_consume_primary_test.dart View 4 chunks +6 lines, -5 lines 0 comments Download
A + sdk/lib/_internal/pub/test/transformer/can_use_has_input_test.dart View 4 chunks +9 lines, -6 lines 0 comments Download
M tests/lib/analyzer/analyze_library.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
nweiz
6 years, 9 months ago (2014-03-18 18:26:27 UTC) #1
Bob Nystrom
A couple of suggestions, but otherwise very nice. LGTM. https://codereview.chromium.org/198053009/diff/1/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart File sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart (right): https://codereview.chromium.org/198053009/diff/1/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart#newcode45 sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart:45: ...
6 years, 9 months ago (2014-03-18 18:41:47 UTC) #2
janpech3466
6 years, 9 months ago (2014-03-18 19:52:31 UTC) #3
nweiz
https://codereview.chromium.org/198053009/diff/1/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart File sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart (right): https://codereview.chromium.org/198053009/diff/1/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart#newcode45 sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart:45: """; On 2014/03/18 18:41:47, Bob Nystrom wrote: > Indentation ...
6 years, 9 months ago (2014-03-18 19:55:12 UTC) #4
nweiz
Committed patchset #2 manually as r34056 (presubmit successful).
6 years, 9 months ago (2014-03-18 19:55:41 UTC) #5
Bob Nystrom
https://codereview.chromium.org/198053009/diff/1/sdk/lib/_internal/pub/lib/src/barback/pub_package_provider.dart File sdk/lib/_internal/pub/lib/src/barback/pub_package_provider.dart (right): https://codereview.chromium.org/198053009/diff/1/sdk/lib/_internal/pub/lib/src/barback/pub_package_provider.dart#newcode27 sdk/lib/_internal/pub/lib/src/barback/pub_package_provider.dart:27: var nativePath = path.joinAll(path.url.split(id.path)); On 2014/03/18 19:55:12, nweiz wrote: ...
6 years, 9 months ago (2014-03-18 20:05:25 UTC) #6
janpech3466
6 years, 9 months ago (2014-03-18 23:29:34 UTC) #7
Message was sent while issue was closed.
Good

Powered by Google App Engine
This is Rietveld 408576698