From de85cc2e54a5109621ff589a940c7b454ffb4785 Mon Sep 17 00:00:00 2001 From: Anna Gringauze Date: Wed, 25 Mar 2020 17:51:06 -0700 Subject: [PATCH] use local engine and dwds --- bin/flutter | 2 +- examples/hello_world/pubspec.yaml | 6 ++++++ packages/flutter/pubspec.yaml | 6 ++++++ packages/flutter_tools/pubspec.yaml | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/bin/flutter b/bin/flutter index c2223df1ce3e9..b6cb055dc56c4 100755 --- a/bin/flutter +++ b/bin/flutter @@ -55,4 +55,4 @@ fi # To define `shared::execute()` function source "$BIN_DIR/internal/shared.sh" -shared::execute "$@" +shared::execute "--local-engine=host_debug_unopt" "$@" diff --git a/examples/hello_world/pubspec.yaml b/examples/hello_world/pubspec.yaml index 29bf170b55c90..9b640945b254e 100644 --- a/examples/hello_world/pubspec.yaml +++ b/examples/hello_world/pubspec.yaml @@ -14,6 +14,12 @@ dependencies: typed_data: 1.1.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" +dependency_overrides: + sky_engine: + path: /Users/annagrin/source/flutter/engine/src/out/host_debug_unopt/gen/dart-pkg/sky_engine + sky_services: + path: /Users/annagrin/source/flutter/engine/src/out/host_debug_unopt/gen/dart-pkg/sky_services + dev_dependencies: flutter_driver: sdk: flutter diff --git a/packages/flutter/pubspec.yaml b/packages/flutter/pubspec.yaml index e237baf9184a4..7d23c78429752 100644 --- a/packages/flutter/pubspec.yaml +++ b/packages/flutter/pubspec.yaml @@ -18,6 +18,12 @@ dependencies: sky_engine: sdk: flutter +dependency_overrides: + sky_engine: + path: /Users/annagrin/source/flutter/engine/src/out/host_debug_unopt/gen/dart-pkg/sky_engine + sky_services: + path: /Users/annagrin/source/flutter/engine/src/out/host_debug_unopt/gen/dart-pkg/sky_services + dev_dependencies: flutter_test: sdk: flutter diff --git a/packages/flutter_tools/pubspec.yaml b/packages/flutter_tools/pubspec.yaml index 531ceeaf35b50..c9ca4298d6fef 100644 --- a/packages/flutter_tools/pubspec.yaml +++ b/packages/flutter_tools/pubspec.yaml @@ -92,6 +92,10 @@ dependencies: watcher: 0.9.7+15 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" web_socket_channel: 1.1.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade" +dependency_overrides: + dwds: + path: ../../../../webdev/dwds + dev_dependencies: collection: 1.14.13 mockito: 4.1.1