c25f4e9eaa
`gn check` passes. We will work towards removing `check_includes = false`. Change-Id: I0ab396fadaf31a166921bdea334b2cfedca23dcd Reviewed-on: https://skia-review.googlesource.com/c/skia/+/195363 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
34 lines
744 B
Plaintext
34 lines
744 B
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.
|
|
|
|
import("../../gn/skia.gni")
|
|
|
|
config("public_config") {
|
|
include_dirs = [ "include" ]
|
|
defines = []
|
|
if (skia_use_icu) {
|
|
defines += [ "SK_SHAPER_HARFBUZZ_AVAILABLE" ]
|
|
}
|
|
}
|
|
|
|
component("skshaper") {
|
|
check_includes = false
|
|
import("skshaper.gni")
|
|
public_configs = [ ":public_config" ]
|
|
public = skia_shaper_public
|
|
deps = [
|
|
"../..:skia",
|
|
]
|
|
sources = skia_shaper_primitive_sources
|
|
if (skia_use_icu && skia_use_harfbuzz) {
|
|
sources += skia_shaper_harfbuzz_sources
|
|
deps += [
|
|
"//third_party/harfbuzz",
|
|
"//third_party/icu",
|
|
]
|
|
}
|
|
configs += [ "../../:skia_private" ]
|
|
}
|