391f941949
Make sure graphite compiles standalone and not just if ganesh is also enabled. Bug: skia:12466 Change-Id: Ic843881a2a88c8d4b62f3a2ea38a10b6a86a12d4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/464817 Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com> |
||
---|---|---|
.. | ||
BUILD.gn | ||
main.mm | ||
README.md |
##minimal_ios_mtl_skia_app
How to compile:
cd $SKIA_ROOT_DIRECTORY
mkdir -p out/ios_arm64_mtl
cat > out/ios_arm64_mtl/args.gn <<EOM
target_os="ios"
target_cpu="arm64"
skia_use_metal=true
skia_use_expat=false
skia_enable_pdf=false
EOM
tools/git-sync-deps
bin/gn gen out/ios_arm64_mtl
ninja -C out/ios_arm64_mtl minimal_ios_mtl_skia_app
Then install the out/ios_arm64_mtl/minimal_ios_mtl_skia_app.app
bundle.