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

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

Issue 2872333002: Build FreeType with HarfBuzz support (Closed)
Patch Set: Always link harbuzz-ng-ft and fix mac component build Created 3 years, 7 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 | « content/shell/BUILD.gn ('k') | third_party/freetype/include/freetype-custom-config/ftoption.h » ('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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 ] 104 ]
105 105
106 if (is_win && is_component_build) { 106 if (is_win && is_component_build) {
107 # Used for managing declspec(dllimport/export) visibility. 107 # Used for managing declspec(dllimport/export) visibility.
108 defines += [ "FT2_BUILD_DLL" ] 108 defines += [ "FT2_BUILD_DLL" ]
109 } 109 }
110 110
111 public_configs = [ ":freetype_config" ] 111 public_configs = [ ":freetype_config" ]
112 configs -= [ "//build/config/compiler:chromium_code" ] 112 configs -= [ "//build/config/compiler:chromium_code" ]
113 configs += [ "//build/config/compiler:no_chromium_code" ] 113 configs += [ "//build/config/compiler:no_chromium_code" ]
114 configs += [ "//third_party/harfbuzz-ng:harfbuzz-ng-ft-deferred-linkage" ]
114 115
115 configs += [ ":freetype-warnings" ] 116 configs += [ ":freetype-warnings" ]
116 117
117 deps = [ 118 deps = [
119 "//third_party/harfbuzz-ng:harfbuzz-ng",
118 "//third_party/libpng", 120 "//third_party/libpng",
119 "//third_party/zlib", 121 "//third_party/zlib",
120 ] 122 ]
121 } 123 }
OLDNEW
« no previous file with comments | « content/shell/BUILD.gn ('k') | third_party/freetype/include/freetype-custom-config/ftoption.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698