skia2/experimental/skrive/BUILD.gn
Florin Malita 579e63af00 [skrive] Reset the node system
Tacking another hierarchy on top of SkSG doesn't work well.

Let's start fresh.

TBR=
Change-Id: Ieb379b57e1a77df3c62048d3be7e81e1429f9b23
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/297807
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2020-06-19 20:00:55 +00:00

53 lines
1.1 KiB
Plaintext

# Copyright 2020 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../../gn/skia.gni")
if (skia_enable_skrive) {
config("public_config") {
defines = [ "SK_ENABLE_SKRIVE" ]
include_dirs = [ "include" ]
}
component("skrive") {
check_includes = false
import("skrive.gni")
public_configs = [ ":public_config" ]
public = skia_skrive_public
sources = skia_skrive_sources
configs += [ "../../:skia_private" ]
deps = [ "../..:skia" ]
}
if (defined(is_skia_standalone)) {
if (skia_enable_tools) {
source_set("tests") {
testonly = true
configs += [
"../..:skia_private",
"../..:tests_config",
]
sources = [
"tests/BinaryReader.cpp",
"tests/DomTypes.cpp",
"tests/JsonReader.cpp",
]
deps = [
":skrive",
"../..:gpu_tool_utils",
"../..:skia",
]
}
}
}
} else {
group("skrive") {
}
group("tests") {
}
}