skia2/experimental/minimal_ios_mtl_skia_app/BUILD.gn
Hal Canary 8c500751cd experimental/minimal_mtl_app: more cleanup
Try to keep a consistent style for objective-C++ code.

Also, share code between both apps.

CQ_INCLUDE_TRYBOTS=skia.primary:Build-Mac-Clang-arm64-Debug-iOS_Metal,Build-Mac-Clang-arm64-Release-iOS_Metal

Change-Id: I4b749780c81319bd048f4295c21dfa91910e262d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/241042
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
2019-10-01 14:40:55 +00:00

29 lines
642 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 = [
"../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"
}
}