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

Unified Diff: build/linux/BUILD.gn

Issue 1627533002: [Chromecast] Depend on Chromium's freetype-android (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add clarification of using freetype-android Created 4 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 side-by-side diff with in-line comments
Download patch
Index: build/linux/BUILD.gn
diff --git a/build/linux/BUILD.gn b/build/linux/BUILD.gn
index 6a1939dd15b933f40123dd6992facfddc3ccb976..292856ccdcf4f973019911e1625922eb1f19a6fd 100644
--- a/build/linux/BUILD.gn
+++ b/build/linux/BUILD.gn
@@ -11,6 +11,7 @@ gypi_values = exec_script("//build/gypi_to_gn.py",
"scope",
[ "system.gyp" ])
+# Chromecast platform does not provide fontconfig
use_system_fontconfig = !is_chromecast
# If brlapi isn't needed, don't require it to be installed.
@@ -115,3 +116,15 @@ group("fontconfig") {
]
}
}
+
+group("freetype2") {
+ if (is_chromecast) {
+ # Chromecast platform doesn't provide freetype, so use Chromium's.
+ # The version in freetype-android is unmodified from freetype2 upstream.
+ public_deps = [
+ "//third_party/freetype-android:freetype",
+ ]
+ } else {
+ public_configs = [ "//build/config/linux:freetype2" ]
+ }
+}
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | build/linux/system.gyp » ('j') | content/shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698