26ae40f668
This reverts commite923ae1be4
. Original change's description: > Revert "[skrive] Initial parser plumbing" > > This reverts commit00a96f2c99
. > > Reason for revert: breaking wuffs > > Original change's description: > > [skrive] Initial parser plumbing > > > > TBR= > > Change-Id: If96d81840b5bb3bc8c6e26f8aacca4d9dd8896e3 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/293677 > > Reviewed-by: Florin Malita <fmalita@chromium.org> > > Commit-Queue: Florin Malita <fmalita@chromium.org> > > TBR=fmalita@chromium.org,reed@google.com > > Change-Id: I63258d560cc8ee8d069e6417d987342a74a3f0c2 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295001 > Reviewed-by: Florin Malita <fmalita@chromium.org> > Commit-Queue: Florin Malita <fmalita@chromium.org> TBR=fmalita@chromium.org,reed@google.com # Not skipping CQ checks because this is a reland. Change-Id: I0a671bb7476ee92c365fbea1f156c73c6954fe40 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295003 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
49 lines
992 B
Plaintext
49 lines
992 B
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/JsonReader.cpp" ]
|
|
|
|
deps = [
|
|
":skrive",
|
|
"../..:gpu_tool_utils",
|
|
"../..:skia",
|
|
]
|
|
}
|
|
}
|
|
}
|
|
} else {
|
|
group("skrive") {
|
|
}
|
|
group("tests") {
|
|
}
|
|
}
|