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

Unified Diff: build/linux/BUILD.gn

Issue 1366653003: [Chromecast] Replace 'fontconfig' GN target with dynamic dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Correct dep in //chrome/browser/chromeos Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/BUILD.gn
diff --git a/build/linux/BUILD.gn b/build/linux/BUILD.gn
index 12994bca17075793000ef5c7ae1cc24da029a2bb..754859a56107899c74c26dc47dc495a89b4dde1b 100644
--- a/build/linux/BUILD.gn
+++ b/build/linux/BUILD.gn
@@ -11,6 +11,8 @@ gypi_values = exec_script("//build/gypi_to_gn.py",
"scope",
[ "system.gyp" ])
+use_system_fontconfig = !is_chromecast
+
# If brlapi isn't needed, don't require it to be installed.
if (use_brlapi) {
config("brlapi_config") {
@@ -103,3 +105,13 @@ group("udev") {
":udev1_loader",
]
}
+
+group("fontconfig") {
+ if (use_system_fontconfig) {
+ public_configs = [ "//build/config/linux:fontconfig" ]
+ } else {
+ public_deps = [
+ "//third_party/fontconfig",
+ ]
+ }
+}
« no previous file with comments | « build/config/linux/BUILD.gn ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698