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 assert(is_android, "This library is only used on Android") | |
6 | |
7 config("freetype_config") { | |
8 include_dirs = [ "include" ] | |
9 } | |
10 | |
11 source_set("freetype") { | |
12 sources = [ | |
13 # The following files are not sorted alphabetically, but in the | |
14 # same order as in Android.mk to ease maintenance. | |
15 "src/base/ftbbox.c", | |
16 "src/base/ftbitmap.c", | |
17 "src/base/ftfstype.c", | |
18 "src/base/ftglyph.c", | |
19 "src/base/ftlcdfil.c", | |
20 "src/base/ftstroke.c", | |
21 "src/base/fttype1.c", | |
22 "src/base/ftxf86.c", | |
23 "src/base/ftbase.c", | |
24 "src/base/ftsystem.c", | |
25 "src/base/ftinit.c", | |
26 "src/base/ftgasp.c", | |
27 "src/base/ftmm.c", | |
28 "src/gzip/ftgzip.c", | |
29 "src/raster/raster.c", | |
30 "src/sfnt/sfnt.c", | |
31 "src/smooth/smooth.c", | |
32 "src/autofit/autofit.c", | |
33 "src/truetype/truetype.c", | |
34 "src/cff/cff.c", | |
35 "src/psnames/psnames.c", | |
36 "src/pshinter/pshinter.c", | |
37 ] | |
38 | |
39 defines = [ | |
40 "FT2_BUILD_LIBRARY", | |
41 "DARWIN_NO_CARBON", | |
42 ] | |
43 | |
44 include_dirs = [ "build" ] | |
Xianzhu
2015/06/02 18:38:46
There seems an error in freetype.gyp about 'build'
bungeman-chromium
2015/06/02 19:10:24
hmmm... yes I had wondered about that. Apparently
| |
45 | |
46 public_configs = [ ":freetype_config" ] | |
47 | |
48 deps = [ | |
49 "//third_party/libpng", | |
50 "//third_party/zlib", | |
51 ] | |
52 } | |
OLD | NEW |