This reverts commit 98971f3c64.
This commit is contained in:
@@ -134,7 +134,4 @@ class _FuchsiaAttachCommand extends AttachCommand {
|
||||
Cache.flutterRoot = '$originalWorkingDirectory/third_party/dart-pkg/git/flutter';
|
||||
return super.runCommand();
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> updateCache() async {}
|
||||
}
|
||||
|
||||
@@ -84,6 +84,7 @@ BuildApp() {
|
||||
|
||||
local framework_path="${FLUTTER_ROOT}/bin/cache/artifacts/engine/${artifact_variant}"
|
||||
|
||||
AssertExists "${framework_path}"
|
||||
AssertExists "${project_path}"
|
||||
|
||||
local derived_dir="${SOURCE_ROOT}/Flutter"
|
||||
@@ -117,11 +118,6 @@ BuildApp() {
|
||||
flutter_podspec="${LOCAL_ENGINE}/Flutter.podspec"
|
||||
fi
|
||||
|
||||
# If the framework path does not exist, ensure that it is downloaded.
|
||||
if [[ ! -e "$1" ]]; then
|
||||
RunCommand "${FLUTTER_ROOT}/bin/flutter" precache --suppress-analytics
|
||||
fi
|
||||
|
||||
if [[ -e "${project_path}/.ios" ]]; then
|
||||
RunCommand rm -rf -- "${derived_dir}/engine"
|
||||
mkdir "${derived_dir}/engine"
|
||||
|
||||
Reference in New Issue
Block a user