Skip to content

alvivi/canvas-skia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

canvas-skia

Building Skia

brew install jpeg-turbo mozjpeg

And then: https://skia.org/user/build

Link brew installed libraries directly with gn flags. I spent 20 mins trying to link against webp, but it did not work. In the end I disabled webp support.

bin/gn gen out/Shared --args='is_official_build=true skia_use_libwebp=false  \
is_component_build=true extra_cflags=["-I/usr/local/opt/jpeg-turbo/include", \
"-I/usr/local/opt/icu4c/include"]                                            \
extra_ldflags=["-L/usr/local/opt/jpeg-turbo/lib",                            \
"-L/usr/local/opt/icu4c/lib"]'

About

Canvas 2D graphics API using Google Skia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published