skia2/experimental/skottie_ios/README.md
Hal Canary 4119443532 experimental/skottie_ios: Skottie iOS/Metal App
To use, see instructions in experimental/skottie_ios/README.md .

No-Try: true
Change-Id: I4fb71576c5e38c7776d14561930b8c2598cfb48f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/240284
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2019-09-16 19:10:24 +00:00

586 B

##skottie_ios

How to compile:

cd $SKIA_ROOT_DIRECTORY

cat >> BUILD.gn <<EOM
if (is_ios && skia_use_metal) {
  group("skottie_ios") {
    deps = [ "experimental/skottie_ios" ]
  }
}
EOM

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.