skia2/experimental/skottie_ios
Brian Osman b47704b0bd Fix license comment in skottie_ios
Change-Id: I6591ca76578c5d43d43b87dde2582b19e6d1cf25
Bug: skia:9426
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/241879
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: Ravi Mistry <rmistry@google.com>
2019-09-16 20:43:27 +00:00
..
BUILD.gn experimental/skottie_ios: Skottie iOS/Metal App 2019-09-16 19:10:24 +00:00
main.mm Fix license comment in skottie_ios 2019-09-16 20:43:27 +00:00
README.md experimental/skottie_ios: Skottie iOS/Metal App 2019-09-16 19:10:24 +00:00
SkMetalViewBridge.h experimental/skottie_ios: Skottie iOS/Metal App 2019-09-16 19:10:24 +00:00
SkMetalViewBridge.mm experimental/skottie_ios: Skottie iOS/Metal App 2019-09-16 19:10:24 +00:00
SkottieMtkView.h experimental/skottie_ios: Skottie iOS/Metal App 2019-09-16 19:10:24 +00:00
SkottieMtkView.mm experimental/skottie_ios: Skottie iOS/Metal App 2019-09-16 19:10:24 +00:00

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