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