tree: a99a1b7d42d305b542e64cf1fb1b79e50a18ef4e [path history] [tgz]
  1. BUILD.gn
  2. main.mm
  3. README.md
experimental/minimal_ios_mtl_skia_app/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.