OLD | NEW |
1 # Copyright (c) 2009 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 'includes': [ | 6 'includes': [ |
7 '../../build/win_precompile.gypi', | 7 '../../build/win_precompile.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'harfbuzz', | 11 'target_name': 'harfbuzz-ng', |
12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'defines': [ |
| 14 'HAVE_OT', |
| 15 'HAVE_ICU', |
| 16 ], |
13 'sources': [ | 17 'sources': [ |
14 'src/hb-blob-private.h', | 18 'src/hb-blob.cc', |
15 'src/hb-blob.c', | |
16 'src/hb-blob.h', | 19 'src/hb-blob.h', |
17 'src/hb-buffer-private.hh', | 20 'src/hb-buffer-private.hh', |
18 'src/hb-buffer.cc', | 21 'src/hb-buffer.cc', |
19 'src/hb-buffer.h', | 22 'src/hb-buffer.h', |
20 'src/hb-common.c', | 23 'src/hb-common.cc', |
21 'src/hb-common.h', | 24 'src/hb-common.h', |
22 'src/hb-font-private.h', | 25 'src/hb-fallback-shape-private.hh', |
| 26 'src/hb-fallback-shape.cc', |
| 27 'src/hb-font-private.hh', |
23 'src/hb-font.cc', | 28 'src/hb-font.cc', |
24 'src/hb-font.h', | 29 'src/hb-font.h', |
25 'src/hb-ft.c', | 30 'src/hb-glib.cc', |
26 'src/hb-icu.c', | 31 'src/hb-glib.h', |
27 'src/hb-language.c', | 32 'src/hb-gobject-enums.cc', |
28 'src/hb-language.h', | 33 'src/hb-gobject-structs.cc', |
29 'src/hb-object-private.h', | 34 'src/hb-gobject.h', |
| 35 'src/hb-icu.cc', |
| 36 'src/hb-icu.h', |
| 37 'src/hb-mutex-private.hh', |
| 38 'src/hb-object-private.hh', |
30 'src/hb-open-file-private.hh', | 39 'src/hb-open-file-private.hh', |
31 'src/hb-open-type-private.hh', | 40 'src/hb-open-type-private.hh', |
32 'src/hb-ot-head-private.hh', | 41 'src/hb-ot-head-table.hh', |
| 42 'src/hb-ot-hhea-table.hh', |
| 43 'src/hb-ot-hmtx-table.hh', |
33 'src/hb-ot-layout-common-private.hh', | 44 'src/hb-ot-layout-common-private.hh', |
34 'src/hb-ot-layout-gdef-private.hh', | 45 'src/hb-ot-layout-gdef-table.hh', |
35 'src/hb-ot-layout-gpos-private.hh', | 46 'src/hb-ot-layout-gpos-table.hh', |
36 'src/hb-ot-layout-gsub-private.hh', | 47 'src/hb-ot-layout-gsub-table.hh', |
37 'src/hb-ot-layout-gsubgpos-private.hh', | 48 'src/hb-ot-layout-gsubgpos-private.hh', |
38 'src/hb-ot-layout-private.hh', | 49 'src/hb-ot-layout-private.hh', |
39 'src/hb-ot-layout.cc', | 50 'src/hb-ot-layout.cc', |
| 51 'src/hb-ot-layout.h', |
40 'src/hb-ot-map-private.hh', | 52 'src/hb-ot-map-private.hh', |
41 'src/hb-ot-map.cc', | 53 'src/hb-ot-map.cc', |
42 'src/hb-ot-shape-complex-arabic-table.h', | 54 'src/hb-ot-maxp-table.hh', |
| 55 'src/hb-ot-name-table.hh', |
| 56 'src/hb-ot-shape-complex-arabic-table.hh', |
43 'src/hb-ot-shape-complex-arabic.cc', | 57 'src/hb-ot-shape-complex-arabic.cc', |
| 58 'src/hb-ot-shape-complex-indic-machine.hh', |
| 59 'src/hb-ot-shape-complex-indic-table.hh', |
| 60 'src/hb-ot-shape-complex-indic.cc', |
| 61 'src/hb-ot-shape-complex-misc.cc', |
44 'src/hb-ot-shape-complex-private.hh', | 62 'src/hb-ot-shape-complex-private.hh', |
| 63 'src/hb-ot-shape-normalize.cc', |
45 'src/hb-ot-shape-private.hh', | 64 'src/hb-ot-shape-private.hh', |
46 'src/hb-ot-shape.cc', | 65 'src/hb-ot-shape.cc', |
47 'src/hb-ot-tag.c', | 66 'src/hb-ot-shape.h', |
48 'src/hb-private.h', | 67 'src/hb-ot-tag.cc', |
| 68 'src/hb-ot-tag.h', |
| 69 'src/hb-ot.h', |
| 70 'src/hb-private.hh', |
49 'src/hb-shape.cc', | 71 'src/hb-shape.cc', |
50 'src/hb-shape.h', | 72 'src/hb-shape.h', |
51 'src/hb-unicode-private.h', | 73 'src/hb-tt-font.cc', |
52 'src/hb-unicode.c', | 74 'src/hb-unicode-private.hh', |
| 75 'src/hb-unicode.cc', |
53 'src/hb-unicode.h', | 76 'src/hb-unicode.h', |
| 77 'src/hb-version.h', |
54 'src/hb.h', | 78 'src/hb.h', |
55 ], | 79 ], |
| 80 'sources/': [ |
| 81 ['exclude', 'src/hb-glib\\.(cc|h)$'], |
| 82 ['exclude', 'src/hb-gobject.*\\.(cc|h)$'], |
| 83 ], |
56 'include_dirs': [ | 84 'include_dirs': [ |
57 'src', | 85 'src', |
58 ], | 86 ], |
59 'direct_dependent_settings': { | 87 'direct_dependent_settings': { |
60 'include_dirs': [ | 88 'include_dirs': [ |
61 'src', | 89 'src', |
62 ], | 90 ], |
63 }, | 91 }, |
64 'dependencies': [ | 92 'dependencies': [ |
65 '../../build/linux/system.gyp:freetype2', | |
66 '../../third_party/icu/icu.gyp:icuuc', | 93 '../../third_party/icu/icu.gyp:icuuc', |
67 ], | 94 ], |
| 95 'conditions': [ |
| 96 ['use_glib == 1', { |
| 97 'defines': [ |
| 98 'HAVE_GLIB', |
| 99 ], |
| 100 'sources/': [ |
| 101 ['include', 'src/hb-glib\\.(cc|h)$'], |
| 102 ['include', 'src/hb-gobject.*\\.(cc|h)$'], |
| 103 ], |
| 104 'dependencies': [ |
| 105 '../../base/base.gyp:base', |
| 106 ], |
| 107 }], |
| 108 ], |
68 }, | 109 }, |
69 ], | 110 ], |
70 } | 111 } |
OLD | NEW |