By moving the call to Load() up in SearchProvider::Start(), we are giving a chance...
[chromium-blink-merge.git] / third_party / harfbuzz-ng / harfbuzz.gyp
blobaf5d0fc327cd110932f46957ce33b4a641720daa
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.
6   'variables': {
7     'use_system_harfbuzz%': 0,
8   },
9   'includes': [
10     '../../build/win_precompile.gypi',
11   ],
12   'conditions': [
13     ['use_system_harfbuzz==0', {
14       'targets': [
15         {
16           'target_name': 'harfbuzz-ng',
17           'type': 'static_library',
18           'defines': [
19             'HAVE_OT',
20             'HAVE_ICU',
21             'HB_NO_MT',
22           ],
23           'sources': [
24             'src/hb-atomic-private.hh',
25             'src/hb-blob.cc',
26             'src/hb-blob.h',
27             'src/hb-buffer-private.hh',
28             'src/hb-buffer.cc',
29             'src/hb-buffer.h',
30             'src/hb-cache-private.hh',
31             'src/hb-common.cc',
32             'src/hb-common.h',
33             'src/hb-fallback-shape.cc',
34             'src/hb-font-private.hh',
35             'src/hb-font.cc',
36             'src/hb-font.h',
37             'src/hb-icu.cc',
38             'src/hb-icu.h',
39             'src/hb-mutex-private.hh',
40             'src/hb-object-private.hh',
41             'src/hb-open-file-private.hh',
42             'src/hb-open-type-private.hh',
43             'src/hb-ot-head-table.hh',
44             'src/hb-ot-hhea-table.hh',
45             'src/hb-ot-hmtx-table.hh',
46             'src/hb-ot-layout-common-private.hh',
47             'src/hb-ot-layout-gdef-table.hh',
48             'src/hb-ot-layout-gpos-table.hh',
49             'src/hb-ot-layout-gsub-table.hh',
50             'src/hb-ot-layout-gsubgpos-private.hh',
51             'src/hb-ot-layout-private.hh',
52             'src/hb-ot-layout.cc',
53             'src/hb-ot-layout.h',
54             'src/hb-ot-map-private.hh',
55             'src/hb-ot-map.cc',
56             'src/hb-ot-maxp-table.hh',
57             'src/hb-ot-name-table.hh',
58             'src/hb-ot-shape-complex-arabic-fallback.hh',
59             'src/hb-ot-shape-complex-arabic-table.hh',
60             'src/hb-ot-shape-complex-arabic.cc',
61             'src/hb-ot-shape-complex-default.cc',
62             'src/hb-ot-shape-complex-indic-machine.hh',
63             'src/hb-ot-shape-complex-indic-private.hh',
64             'src/hb-ot-shape-complex-indic-table.hh',
65             'src/hb-ot-shape-complex-indic.cc',
66             'src/hb-ot-shape-complex-private.hh',
67             'src/hb-ot-shape-complex-thai.cc',
68             'src/hb-ot-shape-fallback-private.hh',
69             'src/hb-ot-shape-fallback.cc',
70             'src/hb-ot-shape-normalize-private.hh',
71             'src/hb-ot-shape-normalize.cc',
72             'src/hb-ot-shape-private.hh',
73             'src/hb-ot-shape.cc',
74             'src/hb-ot-tag.cc',
75             'src/hb-ot-tag.h',
76             'src/hb-ot.h',
77             'src/hb-private.hh',
78             'src/hb-set-private.hh',
79             'src/hb-set.cc',
80             'src/hb-set.h',
81             'src/hb-shape-plan-private.hh',
82             'src/hb-shape-plan.cc',
83             'src/hb-shape-plan.h',
84             'src/hb-shape.cc',
85             'src/hb-shape.h',
86             'src/hb-shaper-impl-private.hh',
87             'src/hb-shaper-list.hh',
88             'src/hb-shaper-private.hh',
89             'src/hb-shaper.cc',
90             'src/hb-tt-font.cc',
91             'src/hb-unicode-private.hh',
92             'src/hb-unicode.cc',
93             'src/hb-unicode.h',
94             'src/hb-utf-private.hh',
95             'src/hb-version.h',
96             'src/hb-warning.cc',
97             'src/hb.h',
98           ],
99           'include_dirs': [
100             'src',
101           ],
102           'direct_dependent_settings': {
103             'include_dirs': [
104               'src',
105             ],
106           },
107           'dependencies': [
108             '../../third_party/icu/icu.gyp:icuuc',
109           ],
110           'conditions': [
111             ['clang==1', {
112               'xcode_settings': {
113                 'WARNING_CFLAGS': [
114                   '-Wno-unused-value',
115                 ],
116               },
117               'cflags': [
118                 '-Wno-unused-value',
119               ]
120             }],
121           ],
122         },
123       ],
124     }, { # use_system_harfbuzz == 1
125       'targets': [
126         {
127           'target_name': 'harfbuzz-ng',
128           'type': 'none',
129           'cflags': [
130             '<!@(pkg-config --cflags harfbuzz)',
131           ],
132           'direct_dependent_settings': {
133             'cflags': [
134               '<!@(pkg-config --cflags harfbuzz)',
135             ],
136           },
137           'link_settings': {
138             'ldflags': [
139               '<!@(pkg-config --libs-only-L --libs-only-other harfbuzz)',
140             ],
141             'libraries': [
142               '<!@(pkg-config --libs-only-l harfbuzz)',
143             ],
144           },
145         },
146       ],
147     }],
148   ],