• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 Google LLC.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("../../gn/ios.gni")
6
7if (is_ios && skia_use_metal) {
8  ios_app_bundle("minimal_ios_mtl_skia_app") {
9    sources = [
10      "../../tools/skottie_ios_app/GrContextHolder.h",
11      "../../tools/skottie_ios_app/GrContextHolder.mm",
12      "../../tools/skottie_ios_app/SkMetalViewBridge.h",
13      "../../tools/skottie_ios_app/SkMetalViewBridge.mm",
14      "main.mm",
15    ]
16    deps = [ "../..:skia" ]
17    cflags_objcc = [
18      "-std=c++14",
19      "-w",
20    ]
21    frameworks = [
22      "Metal.framework",
23      "MetalKit.framework",
24      "UIKit.framework",
25    ]
26    launchscreen = "../../platform_tools/ios/app/LaunchScreen.storyboard"
27  }
28}
29