Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split SkiaSharp package into smaller "Native Asset" packages #1758

Merged
merged 7 commits into from
Aug 6, 2021

Conversation

mattleibow
Copy link
Contributor

@mattleibow mattleibow commented Aug 5, 2021

Description of Change

Right now the SkiaSharp package is 120 MB and this takes forever to download, and things like .NET Interactive sometimes time out.

Previously the Page was about 30 MB and this was big, but not huge. In recent updates we have added more platforms and slowly seen the size rise. In order to add maccatalyst, we are going to push the size up even more.

So, to fix all this, the PR breaks out the platforms into chunks that get pulled in as needed. There is no need for a 30MB watchOS platform when we are building Android.

This PR is a bit dumb in that I just created lots of .nuspec files that probably will need maintenance. However, this can be automated but that is for a new PR.

Bugs Fixed

API Changes

None.

Behavioral Changes

MSBuild code that would directly work with assets in the SkiaSharp package will no longer work. They are still in the same location, but now in a new package ID.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Updated documentation

@mattleibow mattleibow marked this pull request as draft August 5, 2021 16:11
@mattleibow mattleibow marked this pull request as ready for review August 5, 2021 23:56
@mattleibow mattleibow changed the title Split up the huge SkiaSharp package into smaller "Native Asset" packages Split SkiaSharp package into smaller "Native Asset" packages Aug 6, 2021
@mattleibow mattleibow merged commit c1e169e into main Aug 6, 2021
@mattleibow mattleibow deleted the dev/split-nugets branch August 6, 2021 00:09
@mattleibow mattleibow added this to the v2.88.0 milestone May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[FEATURE] Split the SkiaSharp package into separate NativeAssets packages
1 participant