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

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: Address comments. 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 | « chromecast/media/cma/backend/BUILD.gn ('k') | media/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
Dirk Pranke 2015/09/16 22:19:04 Does this really need to be in declare_args() ? If
slan 2015/09/17 15:04:07 Removed.
}
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" ]
}
« no previous file with comments | « chromecast/media/cma/backend/BUILD.gn ('k') | media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698