skia

https://skia.org/docs/user/download/

fetch skia

To build Skia as a static library in a build directory named out/Static:

bin/gn gen out/Static --args='is_official_build=true'

To build Skia as a shared library (DLL) in a build directory named out/Shared:

bin/gn gen out/Shared --args='is_official_build=true is_component_build=true'
bin/gn gen out/Shared --args='is_official_build=true is_component_build=true'
bin/gn gen out/Shared --args='is_debug=true is_component_build=true'

bin/gn gen out/Static --args='is_official_build=true'
bin/gn gen out/Static --args='is_debug=true'

没有gn.exe,手动复制

buildtools\win\gn.exe
autoninja -C out/static

not work on windows

If you find you don‘t have bin/gn, make sure you’ve run

python tools/git-sync-deps
posted @ 2023-08-19 11:38  fndefbwefsowpvqfx  阅读(22)  评论(0编辑  收藏  举报