867da4b96e
This should allow shaper to run on the no-deps bot. Change-Id: I2515875d4e9b428681c20877630b904c3229ecc5 Reviewed-on: https://skia-review.googlesource.com/c/194420 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
33 lines
719 B
Plaintext
33 lines
719 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") {
|
|
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" ]
|
|
}
|