skia2/experimental/minimal_ios_mtl_skia_app/BUILD.gn

29 lines
642 B
Plaintext
Raw Normal View History

# 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 = [
"../skottie_ios/SkMetalViewBridge.h",
"../skottie_ios/SkMetalViewBridge.mm",
"main.mm",
]
deps = [
"../..:skia",
]
cflags_objcc = [
"-std=c++14",
"-w",
]
libs = [
"Metal.framework",
"MetalKit.framework",
"UIKit.framework",
]
launchscreen = "../../platform_tools/ios/app/LaunchScreen.storyboard"
}
}