OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'sfntly', | 11 'target_name': 'sfntly', |
12 'type': 'static_library', | 12 'type': 'static_library', |
13 'sources': [ | 13 'sources': [ |
14 'cpp/src/sfntly/data/byte_array.cc', | 14 'src/cpp/src/sfntly/data/byte_array.cc', |
15 'cpp/src/sfntly/data/byte_array.h', | 15 'src/cpp/src/sfntly/data/byte_array.h', |
16 'cpp/src/sfntly/data/font_data.cc', | 16 'src/cpp/src/sfntly/data/font_data.cc', |
17 'cpp/src/sfntly/data/font_data.h', | 17 'src/cpp/src/sfntly/data/font_data.h', |
18 'cpp/src/sfntly/data/font_input_stream.cc', | 18 'src/cpp/src/sfntly/data/font_input_stream.cc', |
19 'cpp/src/sfntly/data/font_input_stream.h', | 19 'src/cpp/src/sfntly/data/font_input_stream.h', |
20 'cpp/src/sfntly/data/font_output_stream.cc', | 20 'src/cpp/src/sfntly/data/font_output_stream.cc', |
21 'cpp/src/sfntly/data/font_output_stream.h', | 21 'src/cpp/src/sfntly/data/font_output_stream.h', |
22 'cpp/src/sfntly/data/growable_memory_byte_array.cc', | 22 'src/cpp/src/sfntly/data/growable_memory_byte_array.cc', |
23 'cpp/src/sfntly/data/growable_memory_byte_array.h', | 23 'src/cpp/src/sfntly/data/growable_memory_byte_array.h', |
24 'cpp/src/sfntly/data/memory_byte_array.cc', | 24 'src/cpp/src/sfntly/data/memory_byte_array.cc', |
25 'cpp/src/sfntly/data/memory_byte_array.h', | 25 'src/cpp/src/sfntly/data/memory_byte_array.h', |
26 'cpp/src/sfntly/data/readable_font_data.cc', | 26 'src/cpp/src/sfntly/data/readable_font_data.cc', |
27 'cpp/src/sfntly/data/readable_font_data.h', | 27 'src/cpp/src/sfntly/data/readable_font_data.h', |
28 'cpp/src/sfntly/data/writable_font_data.cc', | 28 'src/cpp/src/sfntly/data/writable_font_data.cc', |
29 'cpp/src/sfntly/data/writable_font_data.h', | 29 'src/cpp/src/sfntly/data/writable_font_data.h', |
30 'cpp/src/sfntly/font.cc', | 30 'src/cpp/src/sfntly/font.cc', |
31 'cpp/src/sfntly/font.h', | 31 'src/cpp/src/sfntly/font.h', |
32 'cpp/src/sfntly/font_factory.cc', | 32 'src/cpp/src/sfntly/font_factory.cc', |
33 'cpp/src/sfntly/font_factory.h', | 33 'src/cpp/src/sfntly/font_factory.h', |
34 'cpp/src/sfntly/math/fixed1616.h', | 34 'src/cpp/src/sfntly/math/fixed1616.h', |
35 'cpp/src/sfntly/math/font_math.h', | 35 'src/cpp/src/sfntly/math/font_math.h', |
36 'cpp/src/sfntly/port/atomic.h', | 36 'src/cpp/src/sfntly/port/atomic.h', |
37 'cpp/src/sfntly/port/config.h', | 37 'src/cpp/src/sfntly/port/config.h', |
38 'cpp/src/sfntly/port/endian.h', | 38 'src/cpp/src/sfntly/port/endian.h', |
39 'cpp/src/sfntly/port/exception_type.h', | 39 'src/cpp/src/sfntly/port/exception_type.h', |
40 'cpp/src/sfntly/port/file_input_stream.cc', | 40 'src/cpp/src/sfntly/port/file_input_stream.cc', |
41 'cpp/src/sfntly/port/file_input_stream.h', | 41 'src/cpp/src/sfntly/port/file_input_stream.h', |
42 'cpp/src/sfntly/port/input_stream.h', | 42 'src/cpp/src/sfntly/port/input_stream.h', |
43 'cpp/src/sfntly/port/lock.cc', | 43 'src/cpp/src/sfntly/port/lock.cc', |
44 'cpp/src/sfntly/port/lock.h', | 44 'src/cpp/src/sfntly/port/lock.h', |
45 'cpp/src/sfntly/port/memory_input_stream.cc', | 45 'src/cpp/src/sfntly/port/memory_input_stream.cc', |
46 'cpp/src/sfntly/port/memory_input_stream.h', | 46 'src/cpp/src/sfntly/port/memory_input_stream.h', |
47 'cpp/src/sfntly/port/memory_output_stream.cc', | 47 'src/cpp/src/sfntly/port/memory_output_stream.cc', |
48 'cpp/src/sfntly/port/memory_output_stream.h', | 48 'src/cpp/src/sfntly/port/memory_output_stream.h', |
49 'cpp/src/sfntly/port/output_stream.h', | 49 'src/cpp/src/sfntly/port/output_stream.h', |
50 'cpp/src/sfntly/port/refcount.h', | 50 'src/cpp/src/sfntly/port/refcount.h', |
51 'cpp/src/sfntly/port/type.h', | 51 'src/cpp/src/sfntly/port/type.h', |
52 'cpp/src/sfntly/table/bitmap/big_glyph_metrics.cc', | 52 'src/cpp/src/sfntly/table/bitmap/big_glyph_metrics.cc', |
53 'cpp/src/sfntly/table/bitmap/big_glyph_metrics.h', | 53 'src/cpp/src/sfntly/table/bitmap/big_glyph_metrics.h', |
54 'cpp/src/sfntly/table/bitmap/bitmap_glyph.cc', | 54 'src/cpp/src/sfntly/table/bitmap/bitmap_glyph.cc', |
55 'cpp/src/sfntly/table/bitmap/bitmap_glyph.h', | 55 'src/cpp/src/sfntly/table/bitmap/bitmap_glyph.h', |
56 'cpp/src/sfntly/table/bitmap/bitmap_glyph_info.cc', | 56 'src/cpp/src/sfntly/table/bitmap/bitmap_glyph_info.cc', |
57 'cpp/src/sfntly/table/bitmap/bitmap_glyph_info.h', | 57 'src/cpp/src/sfntly/table/bitmap/bitmap_glyph_info.h', |
58 'cpp/src/sfntly/table/bitmap/bitmap_size_table.cc', | 58 'src/cpp/src/sfntly/table/bitmap/bitmap_size_table.cc', |
59 'cpp/src/sfntly/table/bitmap/bitmap_size_table.h', | 59 'src/cpp/src/sfntly/table/bitmap/bitmap_size_table.h', |
60 'cpp/src/sfntly/table/bitmap/composite_bitmap_glyph.cc', | 60 'src/cpp/src/sfntly/table/bitmap/composite_bitmap_glyph.cc', |
61 'cpp/src/sfntly/table/bitmap/composite_bitmap_glyph.h', | 61 'src/cpp/src/sfntly/table/bitmap/composite_bitmap_glyph.h', |
62 'cpp/src/sfntly/table/bitmap/ebdt_table.cc', | 62 'src/cpp/src/sfntly/table/bitmap/ebdt_table.cc', |
63 'cpp/src/sfntly/table/bitmap/ebdt_table.h', | 63 'src/cpp/src/sfntly/table/bitmap/ebdt_table.h', |
64 'cpp/src/sfntly/table/bitmap/eblc_table.cc', | 64 'src/cpp/src/sfntly/table/bitmap/eblc_table.cc', |
65 'cpp/src/sfntly/table/bitmap/eblc_table.h', | 65 'src/cpp/src/sfntly/table/bitmap/eblc_table.h', |
66 'cpp/src/sfntly/table/bitmap/ebsc_table.cc', | 66 'src/cpp/src/sfntly/table/bitmap/ebsc_table.cc', |
67 'cpp/src/sfntly/table/bitmap/ebsc_table.h', | 67 'src/cpp/src/sfntly/table/bitmap/ebsc_table.h', |
68 'cpp/src/sfntly/table/bitmap/glyph_metrics.cc', | 68 'src/cpp/src/sfntly/table/bitmap/glyph_metrics.cc', |
69 'cpp/src/sfntly/table/bitmap/glyph_metrics.h', | 69 'src/cpp/src/sfntly/table/bitmap/glyph_metrics.h', |
70 'cpp/src/sfntly/table/bitmap/index_sub_table.cc', | 70 'src/cpp/src/sfntly/table/bitmap/index_sub_table.cc', |
71 'cpp/src/sfntly/table/bitmap/index_sub_table.h', | 71 'src/cpp/src/sfntly/table/bitmap/index_sub_table.h', |
72 'cpp/src/sfntly/table/bitmap/index_sub_table_format1.cc', | 72 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format1.cc', |
73 'cpp/src/sfntly/table/bitmap/index_sub_table_format1.h', | 73 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format1.h', |
74 'cpp/src/sfntly/table/bitmap/index_sub_table_format2.cc', | 74 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format2.cc', |
75 'cpp/src/sfntly/table/bitmap/index_sub_table_format2.h', | 75 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format2.h', |
76 'cpp/src/sfntly/table/bitmap/index_sub_table_format3.cc', | 76 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format3.cc', |
77 'cpp/src/sfntly/table/bitmap/index_sub_table_format3.h', | 77 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format3.h', |
78 'cpp/src/sfntly/table/bitmap/index_sub_table_format4.cc', | 78 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format4.cc', |
79 'cpp/src/sfntly/table/bitmap/index_sub_table_format4.h', | 79 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format4.h', |
80 'cpp/src/sfntly/table/bitmap/index_sub_table_format5.cc', | 80 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format5.cc', |
81 'cpp/src/sfntly/table/bitmap/index_sub_table_format5.h', | 81 'src/cpp/src/sfntly/table/bitmap/index_sub_table_format5.h', |
82 'cpp/src/sfntly/table/bitmap/simple_bitmap_glyph.cc', | 82 'src/cpp/src/sfntly/table/bitmap/simple_bitmap_glyph.cc', |
83 'cpp/src/sfntly/table/bitmap/simple_bitmap_glyph.h', | 83 'src/cpp/src/sfntly/table/bitmap/simple_bitmap_glyph.h', |
84 'cpp/src/sfntly/table/bitmap/small_glyph_metrics.cc', | 84 'src/cpp/src/sfntly/table/bitmap/small_glyph_metrics.cc', |
85 'cpp/src/sfntly/table/bitmap/small_glyph_metrics.h', | 85 'src/cpp/src/sfntly/table/bitmap/small_glyph_metrics.h', |
86 'cpp/src/sfntly/table/byte_array_table_builder.cc', | 86 'src/cpp/src/sfntly/table/byte_array_table_builder.cc', |
87 'cpp/src/sfntly/table/byte_array_table_builder.h', | 87 'src/cpp/src/sfntly/table/byte_array_table_builder.h', |
88 'cpp/src/sfntly/table/core/cmap_table.cc', | 88 'src/cpp/src/sfntly/table/core/cmap_table.cc', |
89 'cpp/src/sfntly/table/core/cmap_table.h', | 89 'src/cpp/src/sfntly/table/core/cmap_table.h', |
90 'cpp/src/sfntly/table/core/font_header_table.cc', | 90 'src/cpp/src/sfntly/table/core/font_header_table.cc', |
91 'cpp/src/sfntly/table/core/font_header_table.h', | 91 'src/cpp/src/sfntly/table/core/font_header_table.h', |
92 'cpp/src/sfntly/table/core/horizontal_device_metrics_table.cc', | 92 'src/cpp/src/sfntly/table/core/horizontal_device_metrics_table.cc', |
93 'cpp/src/sfntly/table/core/horizontal_device_metrics_table.h', | 93 'src/cpp/src/sfntly/table/core/horizontal_device_metrics_table.h', |
94 'cpp/src/sfntly/table/core/horizontal_header_table.cc', | 94 'src/cpp/src/sfntly/table/core/horizontal_header_table.cc', |
95 'cpp/src/sfntly/table/core/horizontal_header_table.h', | 95 'src/cpp/src/sfntly/table/core/horizontal_header_table.h', |
96 'cpp/src/sfntly/table/core/horizontal_metrics_table.cc', | 96 'src/cpp/src/sfntly/table/core/horizontal_metrics_table.cc', |
97 'cpp/src/sfntly/table/core/horizontal_metrics_table.h', | 97 'src/cpp/src/sfntly/table/core/horizontal_metrics_table.h', |
98 'cpp/src/sfntly/table/core/maximum_profile_table.cc', | 98 'src/cpp/src/sfntly/table/core/maximum_profile_table.cc', |
99 'cpp/src/sfntly/table/core/maximum_profile_table.h', | 99 'src/cpp/src/sfntly/table/core/maximum_profile_table.h', |
100 'cpp/src/sfntly/table/core/name_table.cc', | 100 'src/cpp/src/sfntly/table/core/name_table.cc', |
101 'cpp/src/sfntly/table/core/name_table.h', | 101 'src/cpp/src/sfntly/table/core/name_table.h', |
102 'cpp/src/sfntly/table/core/os2_table.cc', | 102 'src/cpp/src/sfntly/table/core/os2_table.cc', |
103 'cpp/src/sfntly/table/core/os2_table.h', | 103 'src/cpp/src/sfntly/table/core/os2_table.h', |
104 'cpp/src/sfntly/table/font_data_table.cc', | 104 'src/cpp/src/sfntly/table/font_data_table.cc', |
105 'cpp/src/sfntly/table/font_data_table.h', | 105 'src/cpp/src/sfntly/table/font_data_table.h', |
106 'cpp/src/sfntly/table/generic_table_builder.cc', | 106 'src/cpp/src/sfntly/table/generic_table_builder.cc', |
107 'cpp/src/sfntly/table/generic_table_builder.h', | 107 'src/cpp/src/sfntly/table/generic_table_builder.h', |
108 'cpp/src/sfntly/table/header.cc', | 108 'src/cpp/src/sfntly/table/header.cc', |
109 'cpp/src/sfntly/table/header.h', | 109 'src/cpp/src/sfntly/table/header.h', |
110 'cpp/src/sfntly/table/subtable.cc', | 110 'src/cpp/src/sfntly/table/subtable.cc', |
111 'cpp/src/sfntly/table/subtable.h', | 111 'src/cpp/src/sfntly/table/subtable.h', |
112 'cpp/src/sfntly/table/subtable_container_table.h', | 112 'src/cpp/src/sfntly/table/subtable_container_table.h', |
113 'cpp/src/sfntly/table/table.cc', | 113 'src/cpp/src/sfntly/table/table.cc', |
114 'cpp/src/sfntly/table/table.h', | 114 'src/cpp/src/sfntly/table/table.h', |
115 'cpp/src/sfntly/table/table_based_table_builder.cc', | 115 'src/cpp/src/sfntly/table/table_based_table_builder.cc', |
116 'cpp/src/sfntly/table/table_based_table_builder.h', | 116 'src/cpp/src/sfntly/table/table_based_table_builder.h', |
117 'cpp/src/sfntly/table/truetype/glyph_table.cc', | 117 'src/cpp/src/sfntly/table/truetype/glyph_table.cc', |
118 'cpp/src/sfntly/table/truetype/glyph_table.h', | 118 'src/cpp/src/sfntly/table/truetype/glyph_table.h', |
119 'cpp/src/sfntly/table/truetype/loca_table.cc', | 119 'src/cpp/src/sfntly/table/truetype/loca_table.cc', |
120 'cpp/src/sfntly/table/truetype/loca_table.h', | 120 'src/cpp/src/sfntly/table/truetype/loca_table.h', |
121 'cpp/src/sfntly/tag.cc', | 121 'src/cpp/src/sfntly/tag.cc', |
122 'cpp/src/sfntly/tag.h', | 122 'src/cpp/src/sfntly/tag.h', |
123 'cpp/src/sample/chromium/font_subsetter.cc', | 123 'src/cpp/src/sample/chromium/font_subsetter.cc', |
124 'cpp/src/sample/chromium/font_subsetter.h', | 124 'src/cpp/src/sample/chromium/font_subsetter.h', |
125 'cpp/src/sample/chromium/subsetter_impl.cc', | 125 'src/cpp/src/sample/chromium/subsetter_impl.cc', |
126 'cpp/src/sample/chromium/subsetter_impl.h', | 126 'src/cpp/src/sample/chromium/subsetter_impl.h', |
127 ], | 127 ], |
128 'include_dirs': [ | 128 'include_dirs': [ |
129 'cpp/src', '../..', | 129 'src/cpp/src', |
130 ], | 130 ], |
131 # This macro must be define to suppress the use of exception | 131 # This macro must be define to suppress the use of exception |
132 'defines': [ | 132 'defines': [ |
133 'SFNTLY_NO_EXCEPTION', | 133 'SFNTLY_NO_EXCEPTION', |
134 ], | 134 ], |
135 'dependencies' : [ | 135 'dependencies' : [ |
136 '../icu/icu.gyp:icuuc', | 136 '../icu/icu.gyp:icuuc', |
137 ], | 137 ], |
138 # TODO(jschuh): http://crbug.com/167187 | 138 # TODO(jschuh): http://crbug.com/167187 |
139 'msvs_disabled_warnings': [ 4267 ], | 139 'msvs_disabled_warnings': [ 4267 ], |
140 }, | 140 }, |
141 ] | 141 ] |
142 } | 142 } |
OLD | NEW |