-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesa: typographyText rendering, possibly libtxtText rendering, possibly libtxte: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for WebCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webperf: app sizePerformance issues related to app size (binary/code size) or disk spacePerformance issues related to app size (binary/code size) or disk spaceplatform-webWeb applications specificallyWeb applications specifically
Description
flutter/packages/flutter_tools/lib/src/flutter_cache.dart
Lines 209 to 222 in 46c7fd1
| // If the flutter_web_sdk folder doesn't already contain CanvasKit, then | |
| // download it from CIPD. | |
| // TODO(hterkelsen): This whole section can be removed when we are always building | |
| // CanvasKit as part of flutter_web_sdk. See https://github.com/flutter/flutter/issues/113073 | |
| final File expectedCanvasKitFile = fileSystem.file(fileSystem.path.join(location.path, 'canvaskit', 'canvaskit.wasm')); | |
| if (!expectedCanvasKitFile.existsSync()) { | |
| final String canvasKitVersion = cache.getVersionFor('canvaskit')!; | |
| final String canvasKitUrl = '${cache.cipdBaseUrl}/flutter/web/canvaskit_bundle/+/$canvasKitVersion'; | |
| return artifactUpdater.downloadZipArchive( | |
| 'Downloading CanvasKit...', | |
| Uri.parse(canvasKitUrl), | |
| location, | |
| ); | |
| } |
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: sizeReducing IPA/APK/JS sizesReducing IPA/APK/JS sizesa: typographyText rendering, possibly libtxtText rendering, possibly libtxte: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for WebCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webperf: app sizePerformance issues related to app size (binary/code size) or disk spacePerformance issues related to app size (binary/code size) or disk spaceplatform-webWeb applications specificallyWeb applications specifically