skia linux 编译命令

197次阅读
没有评论

共计 3450 个字符,预计需要花费 9 分钟才能阅读完成。

./bin/gn gen out/Release-linux-x64  --args="is_official_build=true target_cpu=\"x64\" skia_use_system_expat=false  skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false skia_use_sfntly=false skia_use_system_freetype2=false skia_use_system_harfbuzz=false skia_pdf_subset_harfbuzz=true skia_use_system_icu=false skia_enable_skottie=true skia_use_fontconfig=false skia_use_egl=false skia_use_wuffs=false skia_use_xps=false skia_use_libwebp_decode=false skia_use_libpng_decode=false skia_use_libpng_encode=false skia_use_libjpeg_turbo_decode=false skia_use_libjpeg_turbo_encode=false skia_use_dng_sdk=false extra_cflags_cc=[\"-fno-exceptions\", \"-fno-rtti\",\"-D_GLIBCXX_USE_CXX11_ABI=0\"] cc=\"gcc-9\" cxx=\"g++-9\""



./bin/gn gen out/Release-linux-x64  --args="is_official_build=true target_cpu=\"x64\"   skia_use_system_libpng=false skia_use_system_zlib=false skia_use_sfntly=false skia_use_system_freetype2=false skia_use_system_harfbuzz=false skia_pdf_subset_harfbuzz=true skia_use_system_icu=false skia_enable_skottie=true skia_use_fontconfig=false skia_use_egl=false skia_use_wuffs=false skia_use_xps=false skia_use_libwebp_decode=false skia_use_libpng_decode=false skia_use_libpng_encode=true skia_use_libjpeg_turbo_decode=false skia_use_libjpeg_turbo_encode=false skia_use_dng_sdk=false skia_enable_pdf=false skia_use_libwebp_decode=false skia_use_libwebp_encode=false  skia_use_expat=false extra_cflags_cc=[\"-fno-exceptions\",  \"-fno-rtti\",\"-D_GLIBCXX_USE_CXX11_ABI=0\"] extra_cflags=[\"-O2\"] cc=\"gcc-9\" cxx=\"g++-9\""

../depot_tools/ninja -C out/Release-linux-x64 skia modules

 

windows

bin\gn gen out\StaticLLVMSkiaOnlyWithImage --args="is_official_build=true skia_use_icu=false skia_use_expat=false skia_use_libwebp_decode=false skia_use_libwebp_encode=false skia_use_xps=false skia_enable_pdf=false is_debug=false skia_use_freetype=false skia_use_libjpeg_turbo_decode=false skia_use_libjpeg_turbo_encode=false skia_use_libpng_decode=false skia_use_libpng_encode=false skia_use_zlib=false skia_enable_skottie=false skia_use_wuffs=false clang_win=\"C:\LLVM\" cc=\"clang\" cxx=\"clang\" skia_use_harfbuzz=false skia_enable_skshaper=false skia_use_sfntly=false skia_enable_gpu=false skia_use_vulkan=false skia_use_gl=false skia_enable_svg=false skia_enable_discrete_gpu=false" 



bin\gn gen out\StaticLLVMSkiaOnlyWithImage --args="is_official_build=true  target_cpu=\"x64\" skia_use_system_expat=false  skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false skia_use_sfntly=false skia_use_system_harfbuzz=false skia_pdf_subset_harfbuzz=true skia_use_system_icu=false skia_enable_skottie=true skia_use_direct3d=false   skia_enable_gpu=false skia_use_vulkan=false skia_use_gl=false skia_enable_svg=false  extra_cflags=[\"-DSK_FONT_HOST_USE_SYSTEM_SETTINGS\", \"/MD\"]"

debug
bin\gn gen out\StaticLLVMSkiaOnlyWithImageDebug --args="is_official_build=false skia_use_icu=false skia_use_expat=false skia_use_libwebp_decode=false skia_use_libwebp_encode=false skia_use_xps=false skia_enable_pdf=false is_debug=false skia_use_freetype=false skia_use_libjpeg_turbo_decode=false skia_use_libjpeg_turbo_encode=false skia_use_libpng_decode=false skia_use_libpng_encode=false skia_use_zlib=false skia_enable_skottie=false skia_use_wuffs=false clang_win=\"C:\LLVM\" cc=\"clang\" cxx=\"clang\" skia_use_harfbuzz=false skia_enable_skshaper=false skia_use_sfntly=false skia_enable_gpu=false skia_use_vulkan=false skia_use_gl=false skia_enable_svg=false skia_enable_discrete_gpu=false extra_cflags=[\"/D_DEBUG\", \"/Od\"]" 

 

正文完
 
admin
版权声明:本站原创文章,由 admin 2024-03-09发表,共计3450字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)
验证码