From 938293d22c84cf3f1b6a26e880efa9214e4bc9fd Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Fri, 20 Mar 2015 14:35:14 -0700 Subject: [PATCH] Make the Sky pub package include our APK and teach sky_tool to install it I'm not sure this is the final long-term solution, but works for now. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1022193002 --- engine/src/flutter/tools/deploy_sdk.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/engine/src/flutter/tools/deploy_sdk.py b/engine/src/flutter/tools/deploy_sdk.py index 6ba476b4c7..81bd4296e6 100755 --- a/engine/src/flutter/tools/deploy_sdk.py +++ b/engine/src/flutter/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: