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

Side by Side Diff: third_party/freetype/BUILD.gn

Issue 2780133002: Support for OpenType Font Variations on Windows (Closed)
Patch Set: Add Linux rebaseline Created 3 years, 8 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
OLDNEW
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 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 6
7 config("freetype_config") { 7 config("freetype_config") {
8 include_dirs = [ 8 include_dirs = [
9 "include", 9 "include",
10 "src/include", 10 "src/include",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 "src/src/base/ftfstype.c", 43 "src/src/base/ftfstype.c",
44 "src/src/base/ftgasp.c", 44 "src/src/base/ftgasp.c",
45 "src/src/base/ftglyph.c", 45 "src/src/base/ftglyph.c",
46 "src/src/base/ftinit.c", 46 "src/src/base/ftinit.c",
47 "src/src/base/ftlcdfil.c", 47 "src/src/base/ftlcdfil.c",
48 "src/src/base/ftmm.c", 48 "src/src/base/ftmm.c",
49 "src/src/base/ftstroke.c", 49 "src/src/base/ftstroke.c",
50 "src/src/base/ftsystem.c", 50 "src/src/base/ftsystem.c",
51 "src/src/base/fttype1.c", 51 "src/src/base/fttype1.c",
52 "src/src/cff/cff.c", 52 "src/src/cff/cff.c",
53 "src/src/cid/type1cid.c",
53 "src/src/gzip/ftgzip.c", 54 "src/src/gzip/ftgzip.c",
55 "src/src/psaux/psaux.c",
54 "src/src/pshinter/pshinter.c", 56 "src/src/pshinter/pshinter.c",
55 "src/src/psnames/psnames.c", 57 "src/src/psnames/psnames.c",
56 "src/src/raster/raster.c", 58 "src/src/raster/raster.c",
57 "src/src/sfnt/sfnt.c", 59 "src/src/sfnt/sfnt.c",
58 "src/src/smooth/smooth.c", 60 "src/src/smooth/smooth.c",
59 "src/src/truetype/truetype.c", 61 "src/src/truetype/truetype.c",
62 "src/src/type1/type1.c",
60 ] 63 ]
61 64
62 if (is_linux || is_chromecast) { 65 if (is_linux || is_chromecast) {
63 # Needed for content_shell on Linux and Chromecast, since fontconfig 66 # Needed for content_shell on Linux and Chromecast, since fontconfig
64 # requires FT_Get_BDF_Property. 67 # requires FT_Get_BDF_Property.
65 sources += [ "src/src/base/ftbdf.c" ] 68 sources += [ "src/src/base/ftbdf.c" ]
66 } 69 }
67 70
68 if (is_linux || is_chromecast) { 71 if (is_linux || is_chromecast) {
69 # Needed on Fedora whose libfreetype builds ftsynth.c containing 72 # Needed on Fedora whose libfreetype builds ftsynth.c containing
(...skipping 20 matching lines...) Expand all
90 configs -= [ "//build/config/compiler:chromium_code" ] 93 configs -= [ "//build/config/compiler:chromium_code" ]
91 configs += [ "//build/config/compiler:no_chromium_code" ] 94 configs += [ "//build/config/compiler:no_chromium_code" ]
92 95
93 configs += [ ":freetype-warnings" ] 96 configs += [ ":freetype-warnings" ]
94 97
95 deps = [ 98 deps = [
96 "//third_party/libpng", 99 "//third_party/libpng",
97 "//third_party/zlib", 100 "//third_party/zlib",
98 ] 101 ]
99 } 102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698