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

Unified Diff: content/shell/BUILD.gn

Issue 1345013002: Add is_chromecast to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Clean up 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
Index: content/shell/BUILD.gn
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn
index 010758e5fd99e1f3937360e551b773b49ef32a41..c69e5968c47e8664bfcd378c7990feaa9474b85c 100644
--- a/content/shell/BUILD.gn
+++ b/content/shell/BUILD.gn
@@ -19,6 +19,8 @@ declare_args() {
# something reasonably current; the "77.34.5" is a hint that this isn't a
# standard Chrome.
content_shell_version = "19.77.34.5"
+
+ use_custom_freetype = is_linux && !is_chromecast
}
static_library("content_shell_lib") {
@@ -314,7 +316,7 @@ static_library("content_shell_lib") {
]
}
- if (is_linux) {
+ if (use_custom_freetype) {
deps += [ "//third_party/freetype2" ]
}

Powered by Google App Engine
This is Rietveld 408576698