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

Unified Diff: tools/create_sdk.py

Issue 1216313002: keep old location of libraries.dart in the generated SDK (fixes 23755) (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/libraries.dart ('k') | utils/dartanalyzer/dartanalyzer.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_sdk.py
diff --git a/tools/create_sdk.py b/tools/create_sdk.py
index fefd0c6ba4ce2601a8270658a58b45609b3b5425..dd4fad7010771d568a27c945dde9ec6a63929593 100755
--- a/tools/create_sdk.py
+++ b/tools/create_sdk.py
@@ -220,6 +220,15 @@ def Main():
ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh',
'.gitignore'))
+ # TODO(sigmund): stop copying it once the public version of analyzer supports
+ # the new location of libraries.dart.
+ #
+ # Copy libraries.dart to lib/_internal/libraries.dart for backwards
+ # compatibility.
+ copyfile(join(HOME, 'sdk', 'lib', '_internal',
+ 'sdk_library_metadata', 'lib', 'libraries.dart'),
+ join(LIB, '_internal', 'libraries.dart'))
Siggi Cherem (dart-lang) 2015/06/30 23:31:24 turns out this was easier than keeping around 2 co
+
# Create and copy tools.
UTIL = join(SDK_tmp, 'util')
os.makedirs(UTIL)
« no previous file with comments | « sdk/lib/_internal/libraries.dart ('k') | utils/dartanalyzer/dartanalyzer.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698