You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a8d355c
Browse filesBrowse the repository at this point in the historyBrowse files
[flutter_tools] Support default hooks config and canonical compiler URIs
- Allow custom extension target platforms whose `BuildTarget.resolveNativeAssetsConfig` returns `null` to complete `CopyAssets`, `KernelSnapshot`, `DartPluginRegistrantTarget`, `BuildHooks`, `LinkHooks`, and `InstallCodeAssets` for apps without Dart hooks, while throwing an actionable `ToolExit` if packages define hooks without `ExtensionTargetOs` and `ExtensionTargetArch`.
- Map custom extension target platforms to `TargetPlatform.unsupported` (with `platform: null` on `Artifact.flutterPatchedSdkPath`) in `KernelSnapshot` to avoid Xcode project flavor parsing.
- Emit canonical `file:` URI strings from `ExtensionNativeAssetsConfig.toEnvironmentDefines()` and resolve filesystem paths via the injected `FileSystem` in `cCompilerConfigFromDefines` and `resolveExtensionPluginsForPlatform` for Windows compatibility.
- Remove partial sibling-executable guessing in `_cCompilerConfigForCustomTarget` and require `cc`, `ar`, and `ld` together when configuring a C compiler via defines.
- Expose `BuiltInTargets.installCodeAssets`, preserve plugin error logging in `ExtensionBuildManager`, and validate `ExtensionBuildTarget.pluginPlatformKey` and `ExtensionNativeAssetsConfig` whitespace invariants.
Part of flutter#190755
Part of flutter#190754
0 commit comments