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