932a2c0e3b
CQ_INCLUDE_TRYBOTS=skia.primary:Build-Mac-Clang-arm64-Debug-iOS_Metal,Build-Mac-Clang-arm64-Release-iOS_Metal Change-Id: I3cb9c7d9073fc0572f49fe1c48caf638e78e34f5 Resubmit-of: https://skia-review.googlesource.com/c/skia/+/238757 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/239121 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com> |
||
---|---|---|
.. | ||
BUILD.gn | ||
main.mm | ||
README.md | ||
SkMetalViewBridge.h | ||
SkMetalViewBridge.mm | ||
SkottieMtkView.h | ||
SkottieMtkView.mm |
##skottie_ios
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 skottie_ios
Then install the out/ios_arm64_mtl/skottie_ios.app
bundle.