2019-09-16 16:53:17 +00:00
|
|
|
# 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 = [
|
2019-12-18 21:26:19 +00:00
|
|
|
"../../tools/skottie_ios_app/GrContextHolder.h",
|
|
|
|
"../../tools/skottie_ios_app/GrContextHolder.mm",
|
2019-12-16 18:51:49 +00:00
|
|
|
"../../tools/skottie_ios_app/SkMetalViewBridge.h",
|
|
|
|
"../../tools/skottie_ios_app/SkMetalViewBridge.mm",
|
2019-09-16 16:53:17 +00:00
|
|
|
"main.mm",
|
|
|
|
]
|
2020-04-01 18:47:34 +00:00
|
|
|
deps = [ "../..:skia" ]
|
2019-09-16 16:53:17 +00:00
|
|
|
cflags_objcc = [
|
|
|
|
"-std=c++14",
|
|
|
|
"-w",
|
|
|
|
]
|
2021-01-15 13:20:33 +00:00
|
|
|
frameworks = [
|
2019-09-16 16:53:17 +00:00
|
|
|
"Metal.framework",
|
|
|
|
"MetalKit.framework",
|
|
|
|
"UIKit.framework",
|
|
|
|
]
|
|
|
|
launchscreen = "../../platform_tools/ios/app/LaunchScreen.storyboard"
|
|
|
|
}
|
|
|
|
}
|