Chromium Code Reviews| Index: tools/create_sdk.py |
| diff --git a/tools/create_sdk.py b/tools/create_sdk.py |
| index fefd0c6ba4ce2601a8270658a58b45609b3b5425..c8e858415e0cae77d5353054331e713d721f56cc 100755 |
| --- a/tools/create_sdk.py |
| +++ b/tools/create_sdk.py |
| @@ -220,6 +220,17 @@ def Main(): |
| ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh', |
| '.gitignore')) |
| + # Copy libraries.dart to lib/_internal/libraries.dart for backwards |
| + # compatibility. |
| + # |
| + # TODO(sigmund): stop copying libraries.dart. Old versions (<=0.25.1) of the |
|
kevmoo
2015/07/01 00:00:21
so 0.25.1-alpha.4
Siggi Cherem (dart-lang)
2015/07/01 00:08:37
Done.
|
| + # analyzer package do not support the new location of this file. We should be |
| + # able to remove the old file once we release a newer version of analyzer and |
| + # popular frameworks have migrated to use it. |
| + copyfile(join(HOME, 'sdk', 'lib', '_internal', |
| + 'sdk_library_metadata', 'lib', 'libraries.dart'), |
| + join(LIB, '_internal', 'libraries.dart')) |
| + |
| # Create and copy tools. |
| UTIL = join(SDK_tmp, 'util') |
| os.makedirs(UTIL) |