skia2/experimental/minimal_ios_mtl_skia_app
Hal Canary 8c500751cd experimental/minimal_mtl_app: more cleanup
Try to keep a consistent style for objective-C++ code.

Also, share code between both apps.

CQ_INCLUDE_TRYBOTS=skia.primary:Build-Mac-Clang-arm64-Debug-iOS_Metal,Build-Mac-Clang-arm64-Release-iOS_Metal

Change-Id: I4b749780c81319bd048f4295c21dfa91910e262d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/241042
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2019-10-01 14:40:55 +00:00
..
BUILD.gn experimental/minimal_mtl_app: more cleanup 2019-10-01 14:40:55 +00:00
main.mm experimental/minimal_mtl_app: more cleanup 2019-10-01 14:40:55 +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.