Roll src/third_party/WebKit 06cb9e9:a978ee5 (svn 202558:202559)
[chromium-blink-merge.git] / third_party / sfntly / sfntly.gyp
blobf76b8208361694de6ace657c31b753843c18be17
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'sfntly',
12       'type': 'static_library',
13       'sources': [
14         'cpp/src/sfntly/data/byte_array.cc',
15         'cpp/src/sfntly/data/byte_array.h',
16         'cpp/src/sfntly/data/font_data.cc',
17         'cpp/src/sfntly/data/font_data.h',
18         'cpp/src/sfntly/data/font_input_stream.cc',
19         'cpp/src/sfntly/data/font_input_stream.h',
20         'cpp/src/sfntly/data/font_output_stream.cc',
21         'cpp/src/sfntly/data/font_output_stream.h',
22         'cpp/src/sfntly/data/growable_memory_byte_array.cc',
23         'cpp/src/sfntly/data/growable_memory_byte_array.h',
24         'cpp/src/sfntly/data/memory_byte_array.cc',
25         'cpp/src/sfntly/data/memory_byte_array.h',
26         'cpp/src/sfntly/data/readable_font_data.cc',
27         'cpp/src/sfntly/data/readable_font_data.h',
28         'cpp/src/sfntly/data/writable_font_data.cc',
29         'cpp/src/sfntly/data/writable_font_data.h',
30         'cpp/src/sfntly/font.cc',
31         'cpp/src/sfntly/font.h',
32         'cpp/src/sfntly/font_factory.cc',
33         'cpp/src/sfntly/font_factory.h',
34         'cpp/src/sfntly/math/fixed1616.h',
35         'cpp/src/sfntly/math/font_math.h',
36         'cpp/src/sfntly/port/atomic.h',
37         'cpp/src/sfntly/port/config.h',
38         'cpp/src/sfntly/port/endian.h',
39         'cpp/src/sfntly/port/exception_type.h',
40         'cpp/src/sfntly/port/file_input_stream.cc',
41         'cpp/src/sfntly/port/file_input_stream.h',
42         'cpp/src/sfntly/port/input_stream.h',
43         'cpp/src/sfntly/port/lock.cc',
44         'cpp/src/sfntly/port/lock.h',
45         'cpp/src/sfntly/port/memory_input_stream.cc',
46         'cpp/src/sfntly/port/memory_input_stream.h',
47         'cpp/src/sfntly/port/memory_output_stream.cc',
48         'cpp/src/sfntly/port/memory_output_stream.h',
49         'cpp/src/sfntly/port/output_stream.h',
50         'cpp/src/sfntly/port/refcount.h',
51         'cpp/src/sfntly/port/type.h',
52         'cpp/src/sfntly/table/bitmap/big_glyph_metrics.cc',
53         'cpp/src/sfntly/table/bitmap/big_glyph_metrics.h',
54         'cpp/src/sfntly/table/bitmap/bitmap_glyph.cc',
55         'cpp/src/sfntly/table/bitmap/bitmap_glyph.h',
56         'cpp/src/sfntly/table/bitmap/bitmap_glyph_info.cc',
57         'cpp/src/sfntly/table/bitmap/bitmap_glyph_info.h',
58         'cpp/src/sfntly/table/bitmap/bitmap_size_table.cc',
59         'cpp/src/sfntly/table/bitmap/bitmap_size_table.h',
60         'cpp/src/sfntly/table/bitmap/composite_bitmap_glyph.cc',
61         'cpp/src/sfntly/table/bitmap/composite_bitmap_glyph.h',
62         'cpp/src/sfntly/table/bitmap/ebdt_table.cc',
63         'cpp/src/sfntly/table/bitmap/ebdt_table.h',
64         'cpp/src/sfntly/table/bitmap/eblc_table.cc',
65         'cpp/src/sfntly/table/bitmap/eblc_table.h',
66         'cpp/src/sfntly/table/bitmap/ebsc_table.cc',
67         'cpp/src/sfntly/table/bitmap/ebsc_table.h',
68         'cpp/src/sfntly/table/bitmap/glyph_metrics.cc',
69         'cpp/src/sfntly/table/bitmap/glyph_metrics.h',
70         'cpp/src/sfntly/table/bitmap/index_sub_table.cc',
71         'cpp/src/sfntly/table/bitmap/index_sub_table.h',
72         'cpp/src/sfntly/table/bitmap/index_sub_table_format1.cc',
73         'cpp/src/sfntly/table/bitmap/index_sub_table_format1.h',
74         'cpp/src/sfntly/table/bitmap/index_sub_table_format2.cc',
75         'cpp/src/sfntly/table/bitmap/index_sub_table_format2.h',
76         'cpp/src/sfntly/table/bitmap/index_sub_table_format3.cc',
77         'cpp/src/sfntly/table/bitmap/index_sub_table_format3.h',
78         'cpp/src/sfntly/table/bitmap/index_sub_table_format4.cc',
79         'cpp/src/sfntly/table/bitmap/index_sub_table_format4.h',
80         'cpp/src/sfntly/table/bitmap/index_sub_table_format5.cc',
81         'cpp/src/sfntly/table/bitmap/index_sub_table_format5.h',
82         'cpp/src/sfntly/table/bitmap/simple_bitmap_glyph.cc',
83         'cpp/src/sfntly/table/bitmap/simple_bitmap_glyph.h',
84         'cpp/src/sfntly/table/bitmap/small_glyph_metrics.cc',
85         'cpp/src/sfntly/table/bitmap/small_glyph_metrics.h',
86         'cpp/src/sfntly/table/byte_array_table_builder.cc',
87         'cpp/src/sfntly/table/byte_array_table_builder.h',
88         'cpp/src/sfntly/table/core/cmap_table.cc',
89         'cpp/src/sfntly/table/core/cmap_table.h',
90         'cpp/src/sfntly/table/core/font_header_table.cc',
91         'cpp/src/sfntly/table/core/font_header_table.h',
92         'cpp/src/sfntly/table/core/horizontal_device_metrics_table.cc',
93         'cpp/src/sfntly/table/core/horizontal_device_metrics_table.h',
94         'cpp/src/sfntly/table/core/horizontal_header_table.cc',
95         'cpp/src/sfntly/table/core/horizontal_header_table.h',
96         'cpp/src/sfntly/table/core/horizontal_metrics_table.cc',
97         'cpp/src/sfntly/table/core/horizontal_metrics_table.h',
98         'cpp/src/sfntly/table/core/maximum_profile_table.cc',
99         'cpp/src/sfntly/table/core/maximum_profile_table.h',
100         'cpp/src/sfntly/table/core/name_table.cc',
101         'cpp/src/sfntly/table/core/name_table.h',
102         'cpp/src/sfntly/table/core/os2_table.cc',
103         'cpp/src/sfntly/table/core/os2_table.h',
104         'cpp/src/sfntly/table/font_data_table.cc',
105         'cpp/src/sfntly/table/font_data_table.h',
106         'cpp/src/sfntly/table/generic_table_builder.cc',
107         'cpp/src/sfntly/table/generic_table_builder.h',
108         'cpp/src/sfntly/table/header.cc',
109         'cpp/src/sfntly/table/header.h',
110         'cpp/src/sfntly/table/subtable.cc',
111         'cpp/src/sfntly/table/subtable.h',
112         'cpp/src/sfntly/table/subtable_container_table.h',
113         'cpp/src/sfntly/table/table.cc',
114         'cpp/src/sfntly/table/table.h',
115         'cpp/src/sfntly/table/table_based_table_builder.cc',
116         'cpp/src/sfntly/table/table_based_table_builder.h',
117         'cpp/src/sfntly/table/truetype/glyph_table.cc',
118         'cpp/src/sfntly/table/truetype/glyph_table.h',
119         'cpp/src/sfntly/table/truetype/loca_table.cc',
120         'cpp/src/sfntly/table/truetype/loca_table.h',
121         'cpp/src/sfntly/tag.cc',
122         'cpp/src/sfntly/tag.h',
123         'cpp/src/sample/chromium/font_subsetter.cc',
124         'cpp/src/sample/chromium/font_subsetter.h',
125         'cpp/src/sample/chromium/subsetter_impl.cc',
126         'cpp/src/sample/chromium/subsetter_impl.h',
127       ],
128       'include_dirs': [
129         '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   ]