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

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

Issue 779473002: gn format //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « third_party/elfutils/BUILD.gn ('k') | third_party/google_input_tools/closure.gni » ('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 = [
9 "include",
10 "src/include",
11 ]
9 } 12 }
10 13
11 shared_library("freetype2") { 14 shared_library("freetype2") {
12 output_name = "freetype" 15 output_name = "freetype"
13 output_extension = "so.6" 16 output_extension = "so.6"
14 17
15 sources = [ 18 sources = [
16 "src/src/autofit/autofit.c", 19 "src/src/autofit/autofit.c",
17 "src/src/base/ftbase.c", 20 "src/src/base/ftbase.c",
18 "src/src/base/ftbbox.c", 21 "src/src/base/ftbbox.c",
(...skipping 30 matching lines...) Expand all
49 "src/src/smooth/smooth.c", 52 "src/src/smooth/smooth.c",
50 "src/src/truetype/truetype.c", 53 "src/src/truetype/truetype.c",
51 "src/src/type1/type1.c", 54 "src/src/type1/type1.c",
52 "src/src/type42/type42.c", 55 "src/src/type42/type42.c",
53 "src/src/winfonts/winfnt.c", 56 "src/src/winfonts/winfnt.c",
54 ] 57 ]
55 58
56 defines = [ 59 defines = [
57 "FT_CONFIG_OPTION_SYSTEM_ZLIB", 60 "FT_CONFIG_OPTION_SYSTEM_ZLIB",
58 "FT2_BUILD_LIBRARY", 61 "FT2_BUILD_LIBRARY",
59
60 "FT_CONFIG_CONFIG_H=<ftconfig.h>", # See comments in README.chromium. 62 "FT_CONFIG_CONFIG_H=<ftconfig.h>", # See comments in README.chromium.
61 "FT_CONFIG_MODULES_H=<ftmodule.h>", # See comments in README.chromium. 63 "FT_CONFIG_MODULES_H=<ftmodule.h>", # See comments in README.chromium.
62 ] 64 ]
63 65
64 configs -= [ "//build/config/compiler:chromium_code" ] 66 configs -= [ "//build/config/compiler:chromium_code" ]
65 configs += [ "//build/config/compiler:no_chromium_code" ] 67 configs += [ "//build/config/compiler:no_chromium_code" ]
66 configs += [ ":freetype2_config" ] 68 configs += [ ":freetype2_config" ]
67 69
68 public_configs = [ ":freetype2_config" ] 70 public_configs = [ ":freetype2_config" ]
69 71
70 libs = [ "z" ] 72 libs = [ "z" ]
71 } 73 }
OLDNEW
« no previous file with comments | « third_party/elfutils/BUILD.gn ('k') | third_party/google_input_tools/closure.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698