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