skia2/experimental/minimal_ios_mtl_skia_app/BUILD.gn
John Stiles 1d0d1e9f16 Update iOS test apps to require C++17.
Fixes these build breaks: http://screen/5kZxPUFhoSrwpZ8

Change-Id: Ib4c92c0c33c9b0fdd639092e901f475e6f6bc655
Bug: skia:12882
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502307
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-01-31 23:17:15 +00:00

29 lines
793 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 && skia_enable_gpu) {
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++17",
"-w",
]
frameworks = [
"Metal.framework",
"MetalKit.framework",
"UIKit.framework",
]
launchscreen = "../../platform_tools/ios/app/LaunchScreen.storyboard"
}
}