skia2/experimental/minimal_ios_mtl_skia_app
Hal Canary 5d8b193868 fix build minimal_ios_mtl_skia_app
Change-Id: I9af324bec969a1f7feb84f8e5ea97b573c56694f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/260396
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
2019-12-16 19:44:36 +00:00
..
BUILD.gn fix build minimal_ios_mtl_skia_app 2019-12-16 19:44:36 +00:00
main.mm SkMetalDeviceToGrContext: no longer needs any Skia headers 2019-12-16 18:09:40 +00:00
README.md experimental/minimal_ios_mtl_skia_app 2019-09-17 15:18:26 +00:00

##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.