I tried compiling skia on Windows as suggested in https://skia.org/user/build
bin/gn gen out/Static --args='is_official_build=true'
ninja -C out/Static
Build fails to find libjpeg.h, libpng.h
Then I added following line in gn args
extra_cflags = ["-I ../../third_party/externals/libpng/", "-I ../../third_party/externals/libjpeg-turbo/"]
It still fails to find both the headers.
But the point is that I should not pass include path because it should be handled internally if JPEG/PNG is core part of skia.
How do I build it on Windows?
skia_use_system_libjpeg_turbo=false
and others like it. Windows does not have a system libjpeg library, so you MUST use the internal one (or manage it elsewhere) – Montfort