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

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

Issue 612523005: Roll FreeType to 2.4.8 plus Ubuntu Precise patches. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « DEPS ('k') | third_party/freetype2/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
1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 assert(is_linux, "This file should only be depended on from Linux.") 5 assert(is_linux, "This file should only be depended on from Linux.")
6 6
7 config("freetype2_config") { 7 config("freetype2_config") {
8 include_dirs = [ "include", "src/include" ] 8 include_dirs = [ "include", "src/include" ]
9 } 9 }
10 10
11 shared_library("freetype2") { 11 shared_library("freetype2") {
12 output_name = "freetype" 12 output_name = "freetype"
13 output_extension = "so.6" 13 output_extension = "so.6"
14 14
15 sources = [ 15 sources = [
16 "src/src/autofit/autofit.c", 16 "src/src/autofit/autofit.c",
17 "src/src/base/ftbase.c", 17 "src/src/base/ftbase.c",
18 "src/src/base/ftbbox.c", 18 "src/src/base/ftbbox.c",
19 "src/src/base/ftbdf.c", 19 "src/src/base/ftbdf.c",
20 "src/src/base/ftbitmap.c", 20 "src/src/base/ftbitmap.c",
21 "src/src/base/ftcid.c", 21 "src/src/base/ftcid.c",
22 "src/src/base/ftdebug.c", 22 "src/src/base/ftdebug.c",
23 "src/src/base/ftfstype.c", 23 "src/src/base/ftfstype.c",
24 "src/src/base/ftgasp.c", 24 "src/src/base/ftgasp.c",
25 "src/src/base/ftglyph.c", 25 "src/src/base/ftglyph.c",
26 "src/src/base/ftgxval.c", 26 "src/src/base/ftgxval.c",
27 "src/src/base/ftinit.c", 27 "src/src/base/ftinit.c",
28 "src/src/base/ftlcdfil.c", 28 "src/src/base/ftlcdfil.c",
29 "src/src/base/ftmm.c",
29 "src/src/base/ftpfr.c", 30 "src/src/base/ftpfr.c",
30 "src/src/base/ftstroke.c", 31 "src/src/base/ftstroke.c",
31 "src/src/base/ftsynth.c", 32 "src/src/base/ftsynth.c",
32 "src/src/base/ftsystem.c", 33 "src/src/base/ftsystem.c",
33 "src/src/base/fttype1.c", 34 "src/src/base/fttype1.c",
34 "src/src/base/ftwinfnt.c", 35 "src/src/base/ftwinfnt.c",
35 "src/src/base/ftxf86.c", 36 "src/src/base/ftxf86.c",
36 "src/src/bdf/bdf.c", 37 "src/src/bdf/bdf.c",
37 "src/src/cff/cff.c", 38 "src/src/cff/cff.c",
38 "src/src/cid/type1cid.c", 39 "src/src/cid/type1cid.c",
(...skipping 12 matching lines...) Expand all
51 "src/src/type42/type42.c", 52 "src/src/type42/type42.c",
52 "src/src/winfonts/winfnt.c", 53 "src/src/winfonts/winfnt.c",
53 ] 54 ]
54 55
55 defines = [ 56 defines = [
56 "FT_CONFIG_OPTION_SYSTEM_ZLIB", 57 "FT_CONFIG_OPTION_SYSTEM_ZLIB",
57 "FT2_BUILD_LIBRARY", 58 "FT2_BUILD_LIBRARY",
58 59
59 "FT_CONFIG_CONFIG_H=<ftconfig.h>", # See comments in README.chromium. 60 "FT_CONFIG_CONFIG_H=<ftconfig.h>", # See comments in README.chromium.
60 "FT_CONFIG_MODULES_H=<ftmodule.h>", # See comments in README.chromium. 61 "FT_CONFIG_MODULES_H=<ftmodule.h>", # See comments in README.chromium.
61 "FT_CONFIG_OPTIONS_H=<ftoption.h>", # See comments in README.chromium.
62 ] 62 ]
63 63
64 configs -= [ "//build/config/compiler:chromium_code" ] 64 configs -= [ "//build/config/compiler:chromium_code" ]
65 configs += [ "//build/config/compiler:no_chromium_code" ] 65 configs += [ "//build/config/compiler:no_chromium_code" ]
66 configs += [ ":freetype2_config" ] 66 configs += [ ":freetype2_config" ]
67 67
68 public_configs = [ ":freetype2_config" ] 68 public_configs = [ ":freetype2_config" ]
69 69
70 libs = [ "z" ] 70 libs = [ "z" ]
71 } 71 }
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/freetype2/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698