OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/linux/pkg_config.gni") | 5 import("//build/config/linux/pkg_config.gni") |
6 | 6 |
7 # The GYP build supports system harfbuzz for non-official builds when using | 7 # The GYP build supports system harfbuzz for non-official builds when using |
8 # pangoft2 1.31.0 or greater (which pulls it in). | 8 # pangoft2 1.31.0 or greater (which pulls it in). |
9 # TODO(brettw) we can consider doing this as well, although the benefit is | 9 # TODO(brettw) we can consider doing this as well, although the benefit is |
10 # unclear and requires shelling out to a script to check the version. | 10 # unclear and requires shelling out to a script to check the version. |
(...skipping 29 matching lines...) Expand all Loading... |
40 } else { | 40 } else { |
41 config("harfbuzz-ng_config") { | 41 config("harfbuzz-ng_config") { |
42 include_dirs = [ "src" ] | 42 include_dirs = [ "src" ] |
43 } | 43 } |
44 | 44 |
45 static_library("harfbuzz-ng") { | 45 static_library("harfbuzz-ng") { |
46 sources = [ | 46 sources = [ |
47 "src/hb-atomic-private.hh", | 47 "src/hb-atomic-private.hh", |
48 "src/hb-blob.cc", | 48 "src/hb-blob.cc", |
49 "src/hb-blob.h", | 49 "src/hb-blob.h", |
50 "src/hb-buffer.cc", | |
51 "src/hb-buffer-deserialize-json.hh", | 50 "src/hb-buffer-deserialize-json.hh", |
52 "src/hb-buffer-deserialize-text.hh", | 51 "src/hb-buffer-deserialize-text.hh", |
53 "src/hb-buffer.h", | |
54 "src/hb-buffer-private.hh", | 52 "src/hb-buffer-private.hh", |
55 "src/hb-buffer-serialize.cc", | 53 "src/hb-buffer-serialize.cc", |
| 54 "src/hb-buffer.cc", |
| 55 "src/hb-buffer.h", |
56 "src/hb-cache-private.hh", | 56 "src/hb-cache-private.hh", |
57 "src/hb-common.cc", | 57 "src/hb-common.cc", |
58 "src/hb-common.h", | 58 "src/hb-common.h", |
59 "src/hb-deprecated.h", | 59 "src/hb-deprecated.h", |
| 60 "src/hb-face-private.hh", |
60 "src/hb-face.cc", | 61 "src/hb-face.cc", |
61 "src/hb-face.h", | 62 "src/hb-face.h", |
62 "src/hb-face-private.hh", | |
63 "src/hb-fallback-shape.cc", | 63 "src/hb-fallback-shape.cc", |
| 64 "src/hb-font-private.hh", |
64 "src/hb-font.cc", | 65 "src/hb-font.cc", |
65 "src/hb-font.h", | 66 "src/hb-font.h", |
66 "src/hb-font-private.hh", | |
67 "src/hb.h", | |
68 "src/hb-icu.cc", | 67 "src/hb-icu.cc", |
69 "src/hb-icu.h", | 68 "src/hb-icu.h", |
70 "src/hb-mutex-private.hh", | 69 "src/hb-mutex-private.hh", |
71 "src/hb-object-private.hh", | 70 "src/hb-object-private.hh", |
72 "src/hb-open-file-private.hh", | 71 "src/hb-open-file-private.hh", |
73 "src/hb-open-type-private.hh", | 72 "src/hb-open-type-private.hh", |
74 "src/hb-ot.h", | |
75 "src/hb-ot-head-table.hh", | 73 "src/hb-ot-head-table.hh", |
76 "src/hb-ot-hhea-table.hh", | 74 "src/hb-ot-hhea-table.hh", |
77 "src/hb-ot-hmtx-table.hh", | 75 "src/hb-ot-hmtx-table.hh", |
78 "src/hb-ot-layout.cc", | |
79 "src/hb-ot-layout-common-private.hh", | 76 "src/hb-ot-layout-common-private.hh", |
80 "src/hb-ot-layout-gdef-table.hh", | 77 "src/hb-ot-layout-gdef-table.hh", |
81 "src/hb-ot-layout-gpos-table.hh", | 78 "src/hb-ot-layout-gpos-table.hh", |
| 79 "src/hb-ot-layout-gsub-table.hh", |
82 "src/hb-ot-layout-gsubgpos-private.hh", | 80 "src/hb-ot-layout-gsubgpos-private.hh", |
83 "src/hb-ot-layout-gsub-table.hh", | 81 "src/hb-ot-layout-private.hh", |
| 82 "src/hb-ot-layout.cc", |
84 "src/hb-ot-layout.h", | 83 "src/hb-ot-layout.h", |
85 "src/hb-ot-layout-private.hh", | 84 "src/hb-ot-map-private.hh", |
86 "src/hb-ot-map.cc", | 85 "src/hb-ot-map.cc", |
87 "src/hb-ot-map-private.hh", | |
88 "src/hb-ot-maxp-table.hh", | 86 "src/hb-ot-maxp-table.hh", |
89 "src/hb-ot-name-table.hh", | 87 "src/hb-ot-name-table.hh", |
90 "src/hb-ot-shape.cc", | |
91 "src/hb-ot-shape-complex-arabic.cc", | |
92 "src/hb-ot-shape-complex-arabic-fallback.hh", | 88 "src/hb-ot-shape-complex-arabic-fallback.hh", |
93 "src/hb-ot-shape-complex-arabic-table.hh", | 89 "src/hb-ot-shape-complex-arabic-table.hh", |
| 90 "src/hb-ot-shape-complex-arabic.cc", |
94 "src/hb-ot-shape-complex-default.cc", | 91 "src/hb-ot-shape-complex-default.cc", |
95 "src/hb-ot-shape-complex-hangul.cc", | 92 "src/hb-ot-shape-complex-hangul.cc", |
96 "src/hb-ot-shape-complex-hebrew.cc", | 93 "src/hb-ot-shape-complex-hebrew.cc", |
97 "src/hb-ot-shape-complex-indic.cc", | |
98 "src/hb-ot-shape-complex-indic-machine.hh", | 94 "src/hb-ot-shape-complex-indic-machine.hh", |
99 "src/hb-ot-shape-complex-indic-private.hh", | 95 "src/hb-ot-shape-complex-indic-private.hh", |
100 "src/hb-ot-shape-complex-indic-table.cc", | 96 "src/hb-ot-shape-complex-indic-table.cc", |
| 97 "src/hb-ot-shape-complex-indic.cc", |
| 98 "src/hb-ot-shape-complex-myanmar-machine.hh", |
101 "src/hb-ot-shape-complex-myanmar.cc", | 99 "src/hb-ot-shape-complex-myanmar.cc", |
102 "src/hb-ot-shape-complex-myanmar-machine.hh", | |
103 "src/hb-ot-shape-complex-private.hh", | 100 "src/hb-ot-shape-complex-private.hh", |
| 101 "src/hb-ot-shape-complex-sea-machine.hh", |
104 "src/hb-ot-shape-complex-sea.cc", | 102 "src/hb-ot-shape-complex-sea.cc", |
105 "src/hb-ot-shape-complex-sea-machine.hh", | |
106 "src/hb-ot-shape-complex-thai.cc", | 103 "src/hb-ot-shape-complex-thai.cc", |
107 "src/hb-ot-shape-complex-tibetan.cc", | 104 "src/hb-ot-shape-complex-tibetan.cc", |
| 105 "src/hb-ot-shape-fallback-private.hh", |
108 "src/hb-ot-shape-fallback.cc", | 106 "src/hb-ot-shape-fallback.cc", |
109 "src/hb-ot-shape-fallback-private.hh", | 107 "src/hb-ot-shape-normalize-private.hh", |
| 108 "src/hb-ot-shape-normalize.cc", |
| 109 "src/hb-ot-shape-private.hh", |
| 110 "src/hb-ot-shape.cc", |
110 "src/hb-ot-shape.h", | 111 "src/hb-ot-shape.h", |
111 "src/hb-ot-shape-normalize.cc", | |
112 "src/hb-ot-shape-normalize-private.hh", | |
113 "src/hb-ot-shape-private.hh", | |
114 "src/hb-ot-tag.cc", | 112 "src/hb-ot-tag.cc", |
115 "src/hb-ot-tag.h", | 113 "src/hb-ot-tag.h", |
| 114 "src/hb-ot.h", |
116 "src/hb-private.hh", | 115 "src/hb-private.hh", |
| 116 "src/hb-set-private.hh", |
117 "src/hb-set.cc", | 117 "src/hb-set.cc", |
118 "src/hb-set.h", | 118 "src/hb-set.h", |
119 "src/hb-set-private.hh", | 119 "src/hb-shape-plan-private.hh", |
| 120 "src/hb-shape-plan.cc", |
| 121 "src/hb-shape-plan.h", |
120 "src/hb-shape.cc", | 122 "src/hb-shape.cc", |
121 "src/hb-shape.h", | 123 "src/hb-shape.h", |
122 "src/hb-shape-plan.cc", | |
123 "src/hb-shape-plan.h", | |
124 "src/hb-shape-plan-private.hh", | |
125 "src/hb-shaper.cc", | |
126 "src/hb-shaper-impl-private.hh", | 124 "src/hb-shaper-impl-private.hh", |
127 "src/hb-shaper-list.hh", | 125 "src/hb-shaper-list.hh", |
128 "src/hb-shaper-private.hh", | 126 "src/hb-shaper-private.hh", |
| 127 "src/hb-shaper.cc", |
| 128 "src/hb-unicode-private.hh", |
129 "src/hb-unicode.cc", | 129 "src/hb-unicode.cc", |
130 "src/hb-unicode.h", | 130 "src/hb-unicode.h", |
131 "src/hb-unicode-private.hh", | |
132 "src/hb-utf-private.hh", | 131 "src/hb-utf-private.hh", |
133 "src/hb-version.h", | 132 "src/hb-version.h", |
134 "src/hb-warning.cc", | 133 "src/hb-warning.cc", |
| 134 "src/hb.h", |
135 ] | 135 ] |
136 | 136 |
137 defines = [ | 137 defines = [ |
138 "HAVE_OT", | 138 "HAVE_OT", |
139 "HAVE_ICU", | 139 "HAVE_ICU", |
140 "HAVE_ICU_BUILTIN", | 140 "HAVE_ICU_BUILTIN", |
141 "HB_NO_MT", | 141 "HB_NO_MT", |
142 ] | 142 ] |
143 | 143 |
144 configs -= [ "//build/config/compiler:chromium_code" ] | 144 configs -= [ "//build/config/compiler:chromium_code" ] |
(...skipping 13 matching lines...) Expand all Loading... |
158 } | 158 } |
159 if (is_mac) { | 159 if (is_mac) { |
160 sources += [ | 160 sources += [ |
161 "src/hb-coretext.cc", | 161 "src/hb-coretext.cc", |
162 "src/hb-coretext.h", | 162 "src/hb-coretext.h", |
163 ] | 163 ] |
164 defines += [ "HAVE_CORETEXT" ] | 164 defines += [ "HAVE_CORETEXT" ] |
165 } | 165 } |
166 } | 166 } |
167 } | 167 } |
OLD | NEW |