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

Issue 11412237: Fix dart_analyzer finding SDK after core_runtime.dart rename (Closed)

Created:
8 years ago by Jennifer Messerly
Modified:
8 years ago
Reviewers:
dgrove, keertip
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix dart_analyzer after core_runtime.dart rename--it was having trouble finding the SDK if you didn't name your folder "dart-sdk". So it worked in the Editor, but not on buildbots that use the SDK like https://drone.io/. Also uses the same techique as "pub" to get the script directory. I think they had to harden it to handle symlinks and such. Committed: https://code.google.com/p/dart/source/detail?r=15563

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M compiler/scripts/dart_analyzer.bat View 3 chunks +3 lines, -3 lines 0 comments Download
M compiler/scripts/dart_analyzer.sh View 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Jennifer Messerly
8 years ago (2012-11-29 02:09:53 UTC) #1
Jennifer Messerly
Hopefully you guys have more context but the SDK doesn't have core_runtime anymore. "core.dart" seemed ...
8 years ago (2012-11-29 02:11:15 UTC) #2
keertip
8 years ago (2012-11-29 21:46:48 UTC) #3
LGTM! Thanks for the fix.

Powered by Google App Engine
This is Rietveld 408576698