skia2/experimental/skrive/BUILD.gn
Florin Malita 1da2556a09 [skrive] Initial binary reader plumbing
TBR=
Change-Id: Ib94516bfba881fd3fdd7b09631f14366f6ac98da
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295573
Commit-Queue: Florin Malita <fmalita@chromium.org>
Commit-Queue: Florin Malita <fmalita@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
2020-06-11 17:24:25 +00:00

52 lines
1.0 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/JsonReader.cpp",
]
deps = [
":skrive",
"../..:gpu_tool_utils",
"../..:skia",
]
}
}
}
} else {
group("skrive") {
}
group("tests") {
}
}