diff options
author | bashi@google.com <bashi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 11:34:19 +0000 |
---|---|---|
committer | bashi@google.com <bashi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 11:34:19 +0000 |
commit | 681d5ae61568fa5e5149027edad6a616bbfd081d (patch) | |
tree | 6d1824f16ecb26faf30740d1030e2c27aea9d497 /third_party/harfbuzz-ng/harfbuzz.gyp | |
parent | fb70ecf10de0dbc5065b677dc9235633afcbef38 (diff) | |
download | chromium_src-681d5ae61568fa5e5149027edad6a616bbfd081d.zip chromium_src-681d5ae61568fa5e5149027edad6a616bbfd081d.tar.gz chromium_src-681d5ae61568fa5e5149027edad6a616bbfd081d.tar.bz2 |
Update harfbuzz-ng to 1a5a91dc0d8bf4b72a2f22dc6300b06ad7000b79.
Preparing for using HarfBuzz-ng as a secondary text shaper on mac.
CoreText doesn't support OpenType features so we need additional
text shaper to support -webkit-font-feature-settings property.
I don't think this version is ready for transition on Linux because I
could see considerable performance regressions when I run cycler tests.
BUG=68551
TEST=None. This CL doesn't change build process for now.
Review URL: https://chromiumcodereview.appspot.com/9223010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/harfbuzz-ng/harfbuzz.gyp')
-rw-r--r-- | third_party/harfbuzz-ng/harfbuzz.gyp | 83 |
1 files changed, 62 insertions, 21 deletions
diff --git a/third_party/harfbuzz-ng/harfbuzz.gyp b/third_party/harfbuzz-ng/harfbuzz.gyp index c1ea3e4..ea8e48d 100644 --- a/third_party/harfbuzz-ng/harfbuzz.gyp +++ b/third_party/harfbuzz-ng/harfbuzz.gyp @@ -1,4 +1,4 @@ -# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -8,51 +8,79 @@ ], 'targets': [ { - 'target_name': 'harfbuzz', + 'target_name': 'harfbuzz-ng', 'type': 'static_library', + 'defines': [ + 'HAVE_OT', + 'HAVE_ICU', + ], 'sources': [ - 'src/hb-blob-private.h', - 'src/hb-blob.c', + 'src/hb-blob.cc', 'src/hb-blob.h', 'src/hb-buffer-private.hh', 'src/hb-buffer.cc', 'src/hb-buffer.h', - 'src/hb-common.c', + 'src/hb-common.cc', 'src/hb-common.h', - 'src/hb-font-private.h', + 'src/hb-fallback-shape-private.hh', + 'src/hb-fallback-shape.cc', + 'src/hb-font-private.hh', 'src/hb-font.cc', 'src/hb-font.h', - 'src/hb-ft.c', - 'src/hb-icu.c', - 'src/hb-language.c', - 'src/hb-language.h', - 'src/hb-object-private.h', + 'src/hb-glib.cc', + 'src/hb-glib.h', + 'src/hb-gobject-enums.cc', + 'src/hb-gobject-structs.cc', + 'src/hb-gobject.h', + 'src/hb-icu.cc', + 'src/hb-icu.h', + 'src/hb-mutex-private.hh', + 'src/hb-object-private.hh', 'src/hb-open-file-private.hh', 'src/hb-open-type-private.hh', - 'src/hb-ot-head-private.hh', + 'src/hb-ot-head-table.hh', + 'src/hb-ot-hhea-table.hh', + 'src/hb-ot-hmtx-table.hh', 'src/hb-ot-layout-common-private.hh', - 'src/hb-ot-layout-gdef-private.hh', - 'src/hb-ot-layout-gpos-private.hh', - 'src/hb-ot-layout-gsub-private.hh', + 'src/hb-ot-layout-gdef-table.hh', + 'src/hb-ot-layout-gpos-table.hh', + 'src/hb-ot-layout-gsub-table.hh', 'src/hb-ot-layout-gsubgpos-private.hh', 'src/hb-ot-layout-private.hh', 'src/hb-ot-layout.cc', + 'src/hb-ot-layout.h', 'src/hb-ot-map-private.hh', 'src/hb-ot-map.cc', - 'src/hb-ot-shape-complex-arabic-table.h', + 'src/hb-ot-maxp-table.hh', + 'src/hb-ot-name-table.hh', + 'src/hb-ot-shape-complex-arabic-table.hh', 'src/hb-ot-shape-complex-arabic.cc', + 'src/hb-ot-shape-complex-indic-machine.hh', + 'src/hb-ot-shape-complex-indic-table.hh', + 'src/hb-ot-shape-complex-indic.cc', + 'src/hb-ot-shape-complex-misc.cc', 'src/hb-ot-shape-complex-private.hh', + 'src/hb-ot-shape-normalize.cc', 'src/hb-ot-shape-private.hh', 'src/hb-ot-shape.cc', - 'src/hb-ot-tag.c', - 'src/hb-private.h', + 'src/hb-ot-shape.h', + 'src/hb-ot-tag.cc', + 'src/hb-ot-tag.h', + 'src/hb-ot.h', + 'src/hb-private.hh', 'src/hb-shape.cc', 'src/hb-shape.h', - 'src/hb-unicode-private.h', - 'src/hb-unicode.c', + 'src/hb-tt-font.cc', + 'src/hb-unicode-private.hh', + 'src/hb-unicode.cc', 'src/hb-unicode.h', + 'src/hb-version.h', 'src/hb.h', ], + 'sources/': [ + ['exclude', 'src/hb-glib\\.(cc|h)$'], + ['exclude', 'src/hb-gobject.*\\.(cc|h)$'], + ], 'include_dirs': [ 'src', ], @@ -62,9 +90,22 @@ ], }, 'dependencies': [ - '../../build/linux/system.gyp:freetype2', '../../third_party/icu/icu.gyp:icuuc', ], + 'conditions': [ + ['use_glib == 1', { + 'defines': [ + 'HAVE_GLIB', + ], + 'sources/': [ + ['include', 'src/hb-glib\\.(cc|h)$'], + ['include', 'src/hb-gobject.*\\.(cc|h)$'], + ], + 'dependencies': [ + '../../base/base.gyp:base', + ], + }], + ], }, ], } |