391f941949
Make sure graphite compiles standalone and not just if ganesh is also enabled. Bug: skia:12466 Change-Id: Ic843881a2a88c8d4b62f3a2ea38a10b6a86a12d4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/464817 Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
29 lines
793 B
Plaintext
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++14",
|
|
"-w",
|
|
]
|
|
frameworks = [
|
|
"Metal.framework",
|
|
"MetalKit.framework",
|
|
"UIKit.framework",
|
|
]
|
|
launchscreen = "../../platform_tools/ios/app/LaunchScreen.storyboard"
|
|
}
|
|
}
|