|
Clean up code that locates SDK and SDK version.
This is prep work for SDK constraints. It moves the SDK
version-related code out of SdkSource (which will go away at some
point) into its own library.
I also removed the need for the DART_SDK env variable. It will
still be used if set (which the tests need), but if not set, Pub
will locate the SDK.
Clean up a few static warnings.
Committed: https://code.google.com/p/dart/source/detail?r=17433
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+80 lines, -112 lines) |
Patch |
 |
|
pkg/path/lib/path.dart
|
View
|
1
|
3 chunks |
+24 lines, -12 lines |
0 comments
|
Download
|
 |
|
utils/pub/pub.dart
|
View
|
|
4 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
|
utils/pub/root_source.dart
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
|
utils/pub/sdk.dart
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
|
utils/pub/sdk/pub
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
utils/pub/sdk/pub.bat
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
|
utils/pub/sdk_source.dart
|
View
|
|
3 chunks |
+7 lines, -32 lines |
0 comments
|
Download
|
 |
|
utils/pub/system_cache.dart
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
|
utils/tests/pub/install/hosted/check_out_test.dart
|
View
|
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
|
utils/tests/pub/install/hosted/check_out_transitive_test.dart
|
View
|
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
 |
|
utils/tests/pub/install/hosted/install_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
utils/tests/pub/install/hosted/install_transitive_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
utils/tests/pub/test_pub.dart
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|