6ddd4421ee
This this is enough to get Fuchsia going? Change-Id: Id6577ee6b4e3c2cbae5ec8c42f3e004712ea477c Reviewed-on: https://skia-review.googlesource.com/c/163442 Reviewed-by: Sanjay Chouksey <sanjayc@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Klein <mtklein@google.com>
57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
# Copyright 2018 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
config("public_config") {
|
|
include_dirs = [ "include" ]
|
|
}
|
|
|
|
component("sksg") {
|
|
import("sksg.gni")
|
|
public_configs = [ ":public_config" ]
|
|
sources = skia_sksg_sources
|
|
configs += [ "../../:skia_private" ]
|
|
deps = [
|
|
"../..:skia",
|
|
]
|
|
}
|
|
|
|
if (defined(is_skia_standalone)) {
|
|
source_set("tests") {
|
|
testonly = true
|
|
|
|
configs += [
|
|
"../..:skia_private",
|
|
"../..:tests_config", # TODO: refactor to make this nicer
|
|
]
|
|
sources = [
|
|
"tests/SGTest.cpp",
|
|
]
|
|
deps = [
|
|
":sksg",
|
|
"../..:gpu_tool_utils", # TODO: refactor to make this nicer
|
|
"../..:skia",
|
|
]
|
|
}
|
|
|
|
source_set("samples") {
|
|
if (target_cpu != "wasm") { # TODO: clean up wasm test
|
|
testonly = true
|
|
|
|
configs += [
|
|
"../..:skia_private",
|
|
"../..:samples_config", # TODO: refactor to make this nicer
|
|
]
|
|
sources = [
|
|
"samples/SampleSVGPong.cpp",
|
|
]
|
|
deps = [
|
|
":sksg",
|
|
"../..:samples",
|
|
"../..:skia",
|
|
]
|
|
}
|
|
}
|
|
}
|