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

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

Issue 2300973002: NOT FOR LANDING Update FreeType to upstream 57a6733dcf7828fe3db9254edab33fda7c9f6a10. (Closed)
Patch Set: Created 4 years, 3 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
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 brlapi isn't needed, don't require it to be installed. 8 # If brlapi isn't needed, don't require it to be installed.
9 if (use_brlapi) { 9 if (use_brlapi) {
10 deps = [ 10 deps = [
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 if (is_chromecast) { 47 if (is_chromecast) {
48 # Chromecast platform does not provide fontconfig 48 # Chromecast platform does not provide fontconfig
49 public_deps = [ 49 public_deps = [
50 "//third_party/fontconfig", 50 "//third_party/fontconfig",
51 ] 51 ]
52 } else { 52 } else {
53 public_configs = [ "//build/config/linux:fontconfig" ] 53 public_configs = [ "//build/config/linux:fontconfig" ]
54 } 54 }
55 } 55 }
56 56
57 if (!is_chromecast) {
58 pkg_config("freetype2_config") {
59 visibility = [ ":freetype2" ]
60 packages = [ "freetype2" ]
61 }
62 }
63
64 group("freetype2") { 57 group("freetype2") {
65 if (is_chromecast) { 58 if (is_chromecast) {
66 # Chromecast platform doesn't provide freetype, so use Chromium's. 59 # Chromecast platform doesn't provide freetype, so use Chromium's.
67 # The version in freetype-android is unmodified from freetype2 upstream. 60 # The version in freetype-android is unmodified from freetype2 upstream.
68 public_deps = [ 61 public_deps = [
69 "//third_party/freetype-android:freetype", 62 "//third_party/freetype-android:freetype",
70 ] 63 ]
71 } else { 64 } else {
72 public_configs = [ ":freetype2_config" ] 65 public_deps = [
66 "//third_party/freetype2",
67 ]
73 } 68 }
74 } 69 }
OLDNEW
« no previous file with comments | « DEPS ('k') | third_party/freetype2/BUILD.gn » ('j') | third_party/freetype2/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698