skia2/third_party/harfbuzz/BUILD.gn
Hal Canary 1a5e3e8c2a DEPS: update Harfbuzz to 2.1.1
Change-Id: Ib6f55461a533ebb6dcf4857febd7f008d68bcfc8
Reviewed-on: https://skia-review.googlesource.com/c/171232
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
Auto-Submit: Hal Canary <halcanary@google.com>
2018-11-15 23:10:03 +00:00

78 lines
2.9 KiB
Plaintext

# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
declare_args() {
}
import("../third_party.gni")
third_party("harfbuzz") {
public_include_dirs = [
".",
"../externals/harfbuzz/src",
]
defines = [
"HAVE_ICU",
"HAVE_ICU_BUILTIN",
"HAVE_OT",
"HB_NO_MT",
]
deps = [
"//third_party/icu",
]
sources = [
"../externals/harfbuzz/src/hb-aat-layout.cc",
"../externals/harfbuzz/src/hb-aat-map.cc",
"../externals/harfbuzz/src/hb-blob.cc",
"../externals/harfbuzz/src/hb-buffer.cc",
"../externals/harfbuzz/src/hb-buffer-serialize.cc",
"../externals/harfbuzz/src/hb-common.cc",
"../externals/harfbuzz/src/hb-face.cc",
"../externals/harfbuzz/src/hb-font.cc",
"../externals/harfbuzz/src/hb-icu.cc",
"../externals/harfbuzz/src/hb-map.cc",
"../externals/harfbuzz/src/hb-ot-color.cc",
"../externals/harfbuzz/src/hb-ot-face.cc",
"../externals/harfbuzz/src/hb-ot-font.cc",
"../externals/harfbuzz/src/hb-ot-layout.cc",
"../externals/harfbuzz/src/hb-ot-map.cc",
"../externals/harfbuzz/src/hb-ot-math.cc",
"../externals/harfbuzz/src/hb-ot-name.cc",
"../externals/harfbuzz/src/hb-ot-name-language.cc",
"../externals/harfbuzz/src/hb-ot-shape.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-arabic.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-default.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-hangul.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-hebrew.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-indic.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-indic-table.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-khmer.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-myanmar.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-thai.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-use.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-use-table.cc",
"../externals/harfbuzz/src/hb-ot-shape-complex-vowel-constraints.cc",
"../externals/harfbuzz/src/hb-ot-shape-fallback.cc",
"../externals/harfbuzz/src/hb-ot-shape-normalize.cc",
"../externals/harfbuzz/src/hb-ot-tag.cc",
"../externals/harfbuzz/src/hb-ot-var.cc",
"../externals/harfbuzz/src/hb-set.cc",
"../externals/harfbuzz/src/hb-shape.cc",
"../externals/harfbuzz/src/hb-shape-plan.cc",
"../externals/harfbuzz/src/hb-shaper.cc",
"../externals/harfbuzz/src/hb-static.cc",
"../externals/harfbuzz/src/hb-subset.cc",
"../externals/harfbuzz/src/hb-subset-glyf.cc",
"../externals/harfbuzz/src/hb-subset-input.cc",
"../externals/harfbuzz/src/hb-subset-plan.cc",
"../externals/harfbuzz/src/hb-unicode.cc",
"../externals/harfbuzz/src/hb-warning.cc",
]
if (is_mac) {
sources += [ "../externals/harfbuzz/src/hb-coretext.cc" ]
defines += [ "HAVE_CORETEXT" ]
}
}