1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
7 # Set to 1 to use Harfbuzz-NG instead of Harfbuzz.
8 # Under development: http://crbug.com/68551
12 ['use_harfbuzz_ng==0', {
14 '../../build/win_precompile.gypi',
18 'target_name': 'harfbuzz',
19 'type': 'static_library',
21 'contrib/harfbuzz-freetype.c',
22 'contrib/harfbuzz-unicode.c',
23 'contrib/harfbuzz-unicode-tables.c',
24 'src/harfbuzz-buffer.c',
25 'src/harfbuzz-stream.c',
26 'src/harfbuzz-dump.c',
27 'src/harfbuzz-gdef.c',
28 'src/harfbuzz-gpos.c',
29 'src/harfbuzz-gsub.c',
30 'src/harfbuzz-impl.c',
31 'src/harfbuzz-open.c',
32 'src/harfbuzz-shaper.cpp',
33 'src/harfbuzz-tibetan.c',
34 'src/harfbuzz-khmer.c',
35 'src/harfbuzz-indic.cpp',
36 'src/harfbuzz-greek.c',
37 'src/harfbuzz-hebrew.c',
38 'src/harfbuzz-arabic.c',
39 'src/harfbuzz-hangul.c',
40 'src/harfbuzz-myanmar.c',
41 'src/harfbuzz-thai.c',
47 'direct_dependent_settings': {
56 '../../third_party/freetype/freetype.gyp:ft2',
60 '../../build/linux/system.gyp:freetype2',
63 ['OS == "android" and clang == 0', {
64 # The Android NDK compilers in the GCC 4.2 and 4.6 toolchains will
65 # show a warning about incompatible pointer signedness, but this
66 # warning cannot be disabled through an individual flag. To stop
67 # showing it, disable all warnings. Coverage is provided through
68 # clang builders, as well as Linux non-clang builders.
69 # TODO(beverloo): Re-enable warnings once the toolchains provide a
70 # way of disabling the specific warning.
78 # "harfbuzz is in strict maintenace mode",
79 # see http://crbug.com/113708
90 }, { # else, use new harfbuzz
93 # Make the 'harfbuzz' target just shim through to the harfbuzz-ng
95 'target_name': 'harfbuzz',
98 '../harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng'
100 'export_dependent_settings': [
101 '../harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng'