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.
5 assert(is_android, "This library is only used on Android")
7 config("freetype_config") {
14 source_set("freetype") {
16 # The following files are not sorted alphabetically, but in the
17 # same order as in Android.mk to ease maintenance.
18 "src/src/base/ftbbox.c",
19 "src/src/base/ftbitmap.c",
20 "src/src/base/ftfntfmt.c",
21 "src/src/base/ftfstype.c",
22 "src/src/base/ftglyph.c",
23 "src/src/base/ftlcdfil.c",
24 "src/src/base/ftstroke.c",
25 "src/src/base/fttype1.c",
26 "src/src/base/ftbase.c",
27 "src/src/base/ftsystem.c",
28 "src/src/base/ftinit.c",
29 "src/src/base/ftgasp.c",
30 "src/src/base/ftmm.c",
31 "src/src/gzip/ftgzip.c",
32 "src/src/raster/raster.c",
33 "src/src/sfnt/sfnt.c",
34 "src/src/smooth/smooth.c",
35 "src/src/autofit/autofit.c",
36 "src/src/truetype/truetype.c",
38 "src/src/psnames/psnames.c",
39 "src/src/pshinter/pshinter.c",
45 # Long directory name to avoid accidentally using wrong headers.
46 "FT_CONFIG_MODULES_H=<freetype-android-config/ftmodule.h>",
47 "FT_CONFIG_OPTIONS_H=<freetype-android-config/ftoption.h>",
50 public_configs = [ ":freetype_config" ]
53 "//third_party/libpng",