skia2/experimental/skottie_ios/BUILD.gn
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

46 lines
1.4 KiB
Plaintext

# Copyright 2019 Google LLC.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../../gn/ios.gni")
if (is_ios && skia_use_metal) {
ios_app_bundle("skottie_ios") {
sources = [
"SkMetalViewBridge.h",
"SkMetalViewBridge.mm",
"SkottieMtkView.h",
"SkottieMtkView.mm",
"main.mm",
]
data_sources = [
"../../resources/skottie/skottie-3d-rotation-order.json",
"../../resources/skottie/skottie-camera-parent-3.json",
"../../resources/skottie/skottie-gradient-ramp.json",
"../../resources/skottie/skottie-linear-wipe-effect.json",
"../../resources/skottie/skottie-text-animator-1.json",
"../../resources/skottie/skottie-text-animator-2.json",
"../../resources/skottie/skottie-text-animator-3.json",
"../../resources/skottie/skottie-text-animator-4.json",
"../../resources/skottie/skottie-text-animator-5.json",
"../../resources/skottie/skottie-text-animator-8.json",
"../../resources/skottie/skottie-transform-effect.json",
"../../resources/skottie/skottie_sample_2.json",
]
deps = [
"../..:skia",
"../../modules/skottie",
]
cflags_objcc = [
"-std=c++14",
"-w",
]
libs = [
"Metal.framework",
"MetalKit.framework",
"UIKit.framework",
]
launchscreen = "../../platform_tools/ios/app/LaunchScreen.storyboard"
}
}