skia2/experimental/minimal_ios_mtl_skia_app/BUILD.gn
Mike Klein 4f4c064d5b roll gn to latest
Nice periodically, and this version also has a Mac arm64 binary.

Refine a few visibility rules from ":*" (any target in this file)
to "./*" (any target in any .gn file anywhere under this directory).

Use frameworks over libs where now required.

Change-Id: Ic19e1533e2810d18ae4684645d8555b422320b7f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/354536
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2021-01-15 15:34:00 +00:00

29 lines
774 B
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("minimal_ios_mtl_skia_app") {
sources = [
"../../tools/skottie_ios_app/GrContextHolder.h",
"../../tools/skottie_ios_app/GrContextHolder.mm",
"../../tools/skottie_ios_app/SkMetalViewBridge.h",
"../../tools/skottie_ios_app/SkMetalViewBridge.mm",
"main.mm",
]
deps = [ "../..:skia" ]
cflags_objcc = [
"-std=c++14",
"-w",
]
frameworks = [
"Metal.framework",
"MetalKit.framework",
"UIKit.framework",
]
launchscreen = "../../platform_tools/ios/app/LaunchScreen.storyboard"
}
}