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

Unified Diff: tools/create_sdk.py

Issue 1408253006: Introduce "platform configurations" to replace categories and libraries.dart. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix create_sdk scripts according to review Created 5 years, 1 month 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 | « tests/utils/dummy_compiler_test.dart ('k') | no next file » | 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 bdb69f237ef15a66076d80487c13f98e9cddcbc4..11ff386ae831889bc98602e45d9218130a7bd0cc 100755
--- a/tools/create_sdk.py
+++ b/tools/create_sdk.py
@@ -39,6 +39,10 @@
# ......dart_native_api.h
# ......dart_tools_api.h
# ....lib/
+# ......dart_client.platform
+# ......dart_server.platform
+# ......dart_shared.platform
+# ......dart2dart.platform
# ......_internal/
# ......async/
# ......collection/
@@ -241,6 +245,13 @@ def Main():
ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh',
'.gitignore'))
+ # Copy the platform descriptors.
+ for file_name in ["dart_client.platform",
+ "dart_server.platform",
+ "dart_shared.platform",
+ "dart2dart.platform"]:
+ copyfile(join(HOME, 'sdk', 'lib', file_name), join(LIB, file_name));
+
# Copy libraries.dart to lib/_internal/libraries.dart for backwards
# compatibility.
#
« no previous file with comments | « tests/utils/dummy_compiler_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698