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

Issue 2146093002: Support loading dart-ext from within a package when using a package map (Closed)

Created:
4 years, 5 months ago by Cutch
Modified:
4 years, 5 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, turnidge, rmacnak, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Support loading dart-ext from within a package when using a package map Fixes https://github.com/dart-lang/sdk/issues/26879 When a dart-ext is imported from within a package: library we need to fully resolve the package: to a file: (or whatever scheme:) so that we can locate the shared object for the extension file. This CL sends this request through the service isolate so that the package: can be resolved even when a package config is being used. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/05c1eac65d8678bc1f9fa688d0e119f56a3d0f90

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : self review #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -27 lines) Patch
M runtime/bin/loader.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/bin/loader.cc View 1 2 7 chunks +63 lines, -27 lines 4 comments Download
M runtime/bin/vmservice/loader.dart View 1 2 3 chunks +71 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Cutch
4 years, 5 months ago (2016-07-13 20:11:20 UTC) #4
Cutch
4 years, 5 months ago (2016-07-13 20:17:13 UTC) #5
siva
lgtm https://codereview.chromium.org/2146093002/diff/40001/runtime/bin/loader.cc File runtime/bin/loader.cc (right): https://codereview.chromium.org/2146093002/diff/40001/runtime/bin/loader.cc#newcode294 runtime/bin/loader.cc:294: const intptr_t _Dart_kImportExtension = 9; This is repeated ...
4 years, 5 months ago (2016-07-13 21:25:14 UTC) #6
Cutch
https://codereview.chromium.org/2146093002/diff/40001/runtime/bin/loader.cc File runtime/bin/loader.cc (right): https://codereview.chromium.org/2146093002/diff/40001/runtime/bin/loader.cc#newcode294 runtime/bin/loader.cc:294: const intptr_t _Dart_kImportExtension = 9; On 2016/07/13 21:25:14, siva ...
4 years, 5 months ago (2016-07-13 22:18:24 UTC) #7
Cutch
4 years, 5 months ago (2016-07-13 22:20:16 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
05c1eac65d8678bc1f9fa688d0e119f56a3d0f90 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698