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

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

Issue 2726873002: Rename third_party/freetype-android to third_party/freetype (Closed)
Patch Set: DEPS Rebased Created 3 years, 9 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 | « third_party/freetype/.clang-format ('k') | third_party/freetype/OWNERS » ('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 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 if (is_linux || is_chromecast) { 58 if (is_linux || is_chromecast) {
59 # Needed for content_shell on Linux and Chromecast, since fontconfig require s FT_Get_BDF_Property. 59 # Needed for content_shell on Linux and Chromecast, since fontconfig require s FT_Get_BDF_Property.
60 sources += [ "src/src/base/ftbdf.c" ] 60 sources += [ "src/src/base/ftbdf.c" ]
61 } 61 }
62 62
63 defines = [ 63 defines = [
64 "FT2_BUILD_LIBRARY", 64 "FT2_BUILD_LIBRARY",
65 "DARWIN_NO_CARBON", 65 "DARWIN_NO_CARBON",
66 66
67 # Long directory name to avoid accidentally using wrong headers. 67 # Long directory name to avoid accidentally using wrong headers.
68 "FT_CONFIG_MODULES_H=<freetype-android-config/ftmodule.h>", 68 "FT_CONFIG_MODULES_H=<freetype-custom-config/ftmodule.h>",
69 "FT_CONFIG_OPTIONS_H=<freetype-android-config/ftoption.h>", 69 "FT_CONFIG_OPTIONS_H=<freetype-custom-config/ftoption.h>",
70 ] 70 ]
71 71
72 public_configs = [ ":freetype_config" ] 72 public_configs = [ ":freetype_config" ]
73 configs -= [ "//build/config/compiler:chromium_code" ] 73 configs -= [ "//build/config/compiler:chromium_code" ]
74 configs += [ 74 configs += [
75 "//build/config/compiler:no_chromium_code", 75 "//build/config/compiler:no_chromium_code",
76 ":freetype-warnings", 76 ":freetype-warnings",
77 ":freetype-visibility" 77 ":freetype-visibility",
78 ] 78 ]
79 79
80 deps = [ 80 deps = [
81 "//third_party/libpng", 81 "//third_party/libpng",
82 "//third_party/zlib", 82 "//third_party/zlib",
83 ] 83 ]
84 } 84 }
OLDNEW
« no previous file with comments | « third_party/freetype/.clang-format ('k') | third_party/freetype/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698