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