OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 declare_args() { | 6 declare_args() { |
7 } | 7 } |
8 | 8 |
9 import("../third_party.gni") | 9 import("../third_party.gni") |
10 | 10 |
11 third_party("sfntly") { | 11 third_party("sfntly") { |
12 public_include_dirs = [ "../externals/sfntly/cpp/src" ] | 12 public_include_dirs = [ "../externals/sfntly/cpp/src" ] |
13 defines = [ "SFNTLY_NO_EXCEPTION" ] | 13 defines = [ "SFNTLY_NO_EXCEPTION" ] |
14 deps = [ | 14 deps = [ |
15 "//third_party/icu", | 15 "//third_party/icu", |
16 ] | 16 ] |
17 libs = [ "pthread" ] | |
18 sources = [ | 17 sources = [ |
19 "../externals/sfntly/cpp/src/sample/chromium/font_subsetter.cc", | 18 "../externals/sfntly/cpp/src/sample/chromium/font_subsetter.cc", |
20 "../externals/sfntly/cpp/src/sample/chromium/subsetter_impl.cc", | 19 "../externals/sfntly/cpp/src/sample/chromium/subsetter_impl.cc", |
21 "../externals/sfntly/cpp/src/sfntly/data/byte_array.cc", | 20 "../externals/sfntly/cpp/src/sfntly/data/byte_array.cc", |
22 "../externals/sfntly/cpp/src/sfntly/data/font_data.cc", | 21 "../externals/sfntly/cpp/src/sfntly/data/font_data.cc", |
23 "../externals/sfntly/cpp/src/sfntly/data/font_input_stream.cc", | 22 "../externals/sfntly/cpp/src/sfntly/data/font_input_stream.cc", |
24 "../externals/sfntly/cpp/src/sfntly/data/font_output_stream.cc", | 23 "../externals/sfntly/cpp/src/sfntly/data/font_output_stream.cc", |
25 "../externals/sfntly/cpp/src/sfntly/data/growable_memory_byte_array.cc", | 24 "../externals/sfntly/cpp/src/sfntly/data/growable_memory_byte_array.cc", |
26 "../externals/sfntly/cpp/src/sfntly/data/memory_byte_array.cc", | 25 "../externals/sfntly/cpp/src/sfntly/data/memory_byte_array.cc", |
27 "../externals/sfntly/cpp/src/sfntly/data/readable_font_data.cc", | 26 "../externals/sfntly/cpp/src/sfntly/data/readable_font_data.cc", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 "../externals/sfntly/cpp/src/sfntly/table/table.cc", | 64 "../externals/sfntly/cpp/src/sfntly/table/table.cc", |
66 "../externals/sfntly/cpp/src/sfntly/table/table_based_table_builder.cc", | 65 "../externals/sfntly/cpp/src/sfntly/table/table_based_table_builder.cc", |
67 "../externals/sfntly/cpp/src/sfntly/table/truetype/glyph_table.cc", | 66 "../externals/sfntly/cpp/src/sfntly/table/truetype/glyph_table.cc", |
68 "../externals/sfntly/cpp/src/sfntly/table/truetype/loca_table.cc", | 67 "../externals/sfntly/cpp/src/sfntly/table/truetype/loca_table.cc", |
69 "../externals/sfntly/cpp/src/sfntly/tag.cc", | 68 "../externals/sfntly/cpp/src/sfntly/tag.cc", |
70 "../externals/sfntly/cpp/src/sfntly/tools/subsetter/glyph_table_subsetter.cc
", | 69 "../externals/sfntly/cpp/src/sfntly/tools/subsetter/glyph_table_subsetter.cc
", |
71 "../externals/sfntly/cpp/src/sfntly/tools/subsetter/subsetter.cc", | 70 "../externals/sfntly/cpp/src/sfntly/tools/subsetter/subsetter.cc", |
72 "../externals/sfntly/cpp/src/sfntly/tools/subsetter/table_subsetter_impl.cc"
, | 71 "../externals/sfntly/cpp/src/sfntly/tools/subsetter/table_subsetter_impl.cc"
, |
73 ] | 72 ] |
74 } | 73 } |
OLD | NEW |