OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import 'package:sdk_library_metadata/libraries.dart' | 5 import 'package:sdk_library_metadata/libraries.dart' |
6 show LibraryInfo, libraries; | 6 show LibraryInfo, libraries; |
7 | 7 |
8 void main(_) { | 8 void main(_) { |
9 libraries.forEach((String name, LibraryInfo info) { | 9 libraries.forEach((String name, LibraryInfo info) { |
10 if (info.isVmLibrary) { | 10 print('"$name": sdk.resolve("lib/${info.path}"),'); |
11 print('"$name": sdk.resolve("lib/${info.path}"),'); | |
12 } | |
13 }); | 11 }); |
14 } | 12 } |
OLD | NEW |