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

Unified Diff: sky/tools/deploy_sdk.py

Issue 1022193002: Make the Sky pub package include our APK and teach sky_tool to install it (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add missing file Created 5 years, 9 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 | « sky/sdk/packages/sky/lib/sky_tool ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/deploy_sdk.py
diff --git a/sky/tools/deploy_sdk.py b/sky/tools/deploy_sdk.py
index 6ba476b4c703abf6b6ca4c01b4a0fd7368493e79..81bd4296e6e0412a1172dc6a0a31c69566b943d1 100755
--- a/sky/tools/deploy_sdk.py
+++ b/sky/tools/deploy_sdk.py
@@ -167,10 +167,6 @@ def main():
copy(os.path.join(build_dir, 'gen/sky'),
sdk_path('packages/sky/lib'), gen_filter)
- # Work around the fact that pub run doesn't work well right now.
- copy(src_path('sky/sdk/packages/sky/bin/sky'),
- sdk_path('packages/sky/lib/sky_tool'))
-
# Sky SDK additions:
copy_or_link(src_path('sky/engine/bindings/builtin.dart'),
sdk_path('packages/sky/sdk_additions/dart_sky_builtins.dart'))
@@ -192,9 +188,9 @@ def main():
sdk_path('packages/mojo/sdk_additions/dart_mojo_core.dart'))
if not skip_apks:
- ensure_dir_exists(sdk_path('apks'))
+ ensure_dir_exists(sdk_path('packages/sky/apks'))
shutil.copy(os.path.join(build_dir, 'apks', 'SkyDemo.apk'),
- sdk_path('apks'))
+ sdk_path('packages/sky/apks'))
if generate_licenses:
with open(sdk_path('LICENSES.sky'), 'w') as license_file:
« no previous file with comments | « sky/sdk/packages/sky/lib/sky_tool ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698