Debian Codegraph @

experimental/minimal_ios_mtl_skia_app/BUILD.gn

raw
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
5 import("../../gn/ios.gni")
6
7 if (is_ios && skia_use_metal && skia_enable_ganesh) {
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++20",
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 }