Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Side by Side Diff: BUILD.gn

Issue 1159323004: Add BUILD.gn for third_party/freetype (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Add BUILD.gn to README.chromium. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 public_configs = [ ":freetype_config" ]
45
46 deps = [
47 "//third_party/libpng",
48 "//third_party/zlib",
49 ]
50 }
OLDNEW
« no previous file with comments | « no previous file | README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698