Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Unified Diff: third_party/harfbuzz/BUILD.gn

Issue 2200833010: GN: build sfntly, icu, harfbuzz (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-08-03 (Wednesday) 17:32:27 EDT Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gn/BUILDCONFIG.gn ('k') | third_party/icu/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/harfbuzz/BUILD.gn
diff --git a/third_party/harfbuzz/BUILD.gn b/third_party/harfbuzz/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..65706539b3d4cb7cca901db78c97034a52e31a9a
--- /dev/null
+++ b/third_party/harfbuzz/BUILD.gn
@@ -0,0 +1,64 @@
+# 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-blob.cc",
+ "../externals/harfbuzz/src/hb-buffer-serialize.cc",
+ "../externals/harfbuzz/src/hb-buffer.cc",
+ "../externals/harfbuzz/src/hb-common.cc",
+ "../externals/harfbuzz/src/hb-face.cc",
+ "../externals/harfbuzz/src/hb-fallback-shape.cc",
+ "../externals/harfbuzz/src/hb-font.cc",
+ "../externals/harfbuzz/src/hb-icu.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-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-table.cc",
+ "../externals/harfbuzz/src/hb-ot-shape-complex-indic.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-tibetan.cc",
+ "../externals/harfbuzz/src/hb-ot-shape-complex-use-table.cc",
+ "../externals/harfbuzz/src/hb-ot-shape-complex-use.cc",
+ "../externals/harfbuzz/src/hb-ot-shape-fallback.cc",
+ "../externals/harfbuzz/src/hb-ot-shape-normalize.cc",
+ "../externals/harfbuzz/src/hb-ot-shape.cc",
+ "../externals/harfbuzz/src/hb-ot-tag.cc",
+ "../externals/harfbuzz/src/hb-set.cc",
+ "../externals/harfbuzz/src/hb-shape-plan.cc",
+ "../externals/harfbuzz/src/hb-shape.cc",
+ "../externals/harfbuzz/src/hb-shaper.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" ]
+ }
+ testonly = true
+}
« no previous file with comments | « gn/BUILDCONFIG.gn ('k') | third_party/icu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698