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

Issue 2188033002: fix #607, add support for package config file

Created:
4 years, 4 months ago by Jennifer Messerly
Modified:
4 years, 4 months ago
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fix #607, add support for package config file

Patch Set 1 #

Patch Set 2 : add dependency #

Patch Set 3 : remove obsolete todo #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -21 lines) Patch
M lib/src/analyzer/context.dart View 1 2 10 chunks +46 lines, -17 lines 4 comments Download
M pubspec.yaml View 1 1 chunk +1 line, -0 lines 0 comments Download
M test/worker/worker_test.dart View 1 chunk +59 lines, -0 lines 0 comments Download
M tool/global_compile.dart View 3 chunks +14 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Jennifer Messerly
Hi Natalie & Phil, This CL adds support for .packages to DDC. Does this look ...
4 years, 4 months ago (2016-07-27 22:56:16 UTC) #2
nweiz
https://codereview.chromium.org/2188033002/diff/40001/lib/src/analyzer/context.dart File lib/src/analyzer/context.dart (right): https://codereview.chromium.org/2188033002/diff/40001/lib/src/analyzer/context.dart#newcode97 lib/src/analyzer/context.dart:97: 'cannot be used with --package-root.') It would be good ...
4 years, 4 months ago (2016-07-27 23:15:11 UTC) #3
Jennifer Messerly
In light of https://github.com/dart-lang/dev_compiler/issues/611, I may just rework this so we can use analyzer_cli code, ...
4 years, 4 months ago (2016-07-28 05:18:15 UTC) #4
pquitslund
On 2016/07/28 05:18:15, John Messerly wrote: > In light of https://github.com/dart-lang/dev_compiler/issues/611, I may just > ...
4 years, 4 months ago (2016-07-28 16:23:59 UTC) #6
Jennifer Messerly
On 2016/07/28 16:23:59, pquitslund wrote: > On 2016/07/28 05:18:15, John Messerly wrote: > > In ...
4 years, 4 months ago (2016-07-28 16:36:33 UTC) #7
Brian Wilkerson
4 years, 4 months ago (2016-07-29 17:07:40 UTC) #8
I'm slowly, but surely, making progress on getting a single unified API for
building a context based on a set of analysis roots (the things users open in
IDE's / editors for analysis by server). Happy to talk about how to make this
happen faster for DDC's use.

https://codereview.chromium.org/2188033002/diff/40001/lib/src/analyzer/contex...
File lib/src/analyzer/context.dart (right):

https://codereview.chromium.org/2188033002/diff/40001/lib/src/analyzer/contex...
lib/src/analyzer/context.dart:203: packages =
findPackagesFromFile(Directory.current.uri);
Almost. A '.packages' file in the initial directory trumps a 'packages'
directory, but a 'packages' directory in the initial directory is used before
any '.packages' files in parent directories.

Powered by Google App Engine
This is Rietveld 408576698