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

Side by Side Diff: build/linux/BUILD.gn

Issue 2300973002: NOT FOR LANDING Update FreeType to upstream 57a6733dcf7828fe3db9254edab33fda7c9f6a10. (Closed)
Patch Set: Rebase, see trybot results again Created 3 years, 11 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/BUILD.gn » ('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) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2015 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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/linux/pkg_config.gni") 6 import("//build/config/linux/pkg_config.gni")
7 7
8 if (use_gio) { 8 if (use_gio) {
9 pkg_config("gio_config") { 9 pkg_config("gio_config") {
10 packages = [ "gio-2.0" ] 10 packages = [ "gio-2.0" ]
(...skipping 30 matching lines...) Expand all
41 if (is_chromecast) { 41 if (is_chromecast) {
42 # Chromecast platform does not provide fontconfig 42 # Chromecast platform does not provide fontconfig
43 public_deps = [ 43 public_deps = [
44 "//third_party/fontconfig", 44 "//third_party/fontconfig",
45 ] 45 ]
46 } else { 46 } else {
47 public_configs = [ "//build/config/linux:fontconfig" ] 47 public_configs = [ "//build/config/linux:fontconfig" ]
48 } 48 }
49 } 49 }
50 50
51 if (!is_chromecast) {
52 pkg_config("freetype2_config") {
53 visibility = [ ":freetype2" ]
54 packages = [ "freetype2" ]
55 }
56 }
57
58 group("freetype2") { 51 group("freetype2") {
59 if (is_chromecast) { 52 # We need to track upstream FreeType closesly for variable fonts support,
60 # Chromecast platform doesn't provide freetype, so use Chromium's. 53 # see crbug.com/274030 and the blocked bug for details. This also benefits
61 # The version in freetype-android is unmodified from freetype2 upstream. 54 # color emoji on systems with older system FreeType. Chromecast platform
62 public_deps = [ 55 # doesn't provide freetype, so use Chromium's.
63 "//third_party/freetype-android:freetype", 56 public_deps = [
64 ] 57 "//third_party/freetype2",
65 } else { 58 ]
66 public_configs = [ ":freetype2_config" ]
67 }
68 } 59 }
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/freetype2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698