OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'targets': [ | 6 'conditions': [ |
7 { | 7 ['use_harfbuzz_ng==0', { |
8 'target_name': 'harfbuzz', | 8 'targets': [ |
9 'type': '<(library)', | 9 { |
10 'sources': [ | 10 'target_name': 'harfbuzz', |
11 'contrib/harfbuzz-freetype.c', | 11 'type': '<(library)', |
12 'contrib/harfbuzz-unicode.c', | 12 'sources': [ |
13 'contrib/harfbuzz-unicode-tables.c', | 13 'contrib/harfbuzz-freetype.c', |
14 'src/harfbuzz-buffer.c', | 14 'contrib/harfbuzz-unicode.c', |
15 'src/harfbuzz-stream.c', | 15 'contrib/harfbuzz-unicode-tables.c', |
16 'src/harfbuzz-dump.c', | 16 'src/harfbuzz-buffer.c', |
17 'src/harfbuzz-gdef.c', | 17 'src/harfbuzz-stream.c', |
18 'src/harfbuzz-gpos.c', | 18 'src/harfbuzz-dump.c', |
19 'src/harfbuzz-gsub.c', | 19 'src/harfbuzz-gdef.c', |
20 'src/harfbuzz-impl.c', | 20 'src/harfbuzz-gpos.c', |
21 'src/harfbuzz-open.c', | 21 'src/harfbuzz-gsub.c', |
22 'src/harfbuzz-shaper.cpp', | 22 'src/harfbuzz-impl.c', |
23 'src/harfbuzz-tibetan.c', | 23 'src/harfbuzz-open.c', |
24 'src/harfbuzz-khmer.c', | 24 'src/harfbuzz-shaper.cpp', |
25 'src/harfbuzz-indic.cpp', | 25 'src/harfbuzz-tibetan.c', |
26 'src/harfbuzz-hebrew.c', | 26 'src/harfbuzz-khmer.c', |
27 'src/harfbuzz-arabic.c', | 27 'src/harfbuzz-indic.cpp', |
28 'src/harfbuzz-hangul.c', | 28 'src/harfbuzz-hebrew.c', |
29 'src/harfbuzz-myanmar.c', | 29 'src/harfbuzz-arabic.c', |
30 'src/harfbuzz-thai.c', | 30 'src/harfbuzz-hangul.c', |
| 31 'src/harfbuzz-myanmar.c', |
| 32 'src/harfbuzz-thai.c', |
| 33 ], |
| 34 'include_dirs': [ |
| 35 'contrib', |
| 36 'src', |
| 37 ], |
| 38 'direct_dependent_settings': { |
| 39 'include_dirs': [ |
| 40 'contrib', |
| 41 'src', |
| 42 ], |
| 43 }, |
| 44 'dependencies': [ |
| 45 '../../build/linux/system.gyp:freetype2', |
| 46 ], |
| 47 }, |
31 ], | 48 ], |
32 'include_dirs': [ | 49 }, { # else, use new harfbuzz |
33 'contrib', | 50 'targets': [ |
34 'src', | 51 { |
35 ], | 52 # Make the 'harfbuzz' target just shim through to the harfbuzz-ng |
36 'direct_dependent_settings': { | 53 # one. |
37 'include_dirs': [ | 54 'target_name': 'harfbuzz', |
38 'contrib', | 55 'type': 'settings', |
39 'src', | 56 'dependencies': [ |
40 ], | 57 '../harfbuzz-ng/harfbuzz.gyp:harfbuzz' |
41 }, | 58 ], |
42 'dependencies': [ | 59 'export_dependent_settings': [ |
43 '../../build/linux/system.gyp:freetype2', | 60 '../harfbuzz-ng/harfbuzz.gyp:harfbuzz' |
44 ], | 61 ], |
45 }, | 62 } |
46 ], | 63 ] |
| 64 }] |
| 65 ] |
47 } | 66 } |
48 | 67 |
49 # Local Variables: | 68 # Local Variables: |
50 # tab-width:2 | 69 # tab-width:2 |
51 # indent-tabs-mode:nil | 70 # indent-tabs-mode:nil |
52 # End: | 71 # End: |
53 # vim: set expandtab tabstop=2 shiftwidth=2: | 72 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |