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

Unified Diff: build/linux/BUILD.gn

Issue 1909273002: 🐳 Move linux pkg_config() calls into separate BUILD.gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments & visibility Created 4 years, 8 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/posix/BUILD.gn ('k') | chrome/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 97428b4eda155cdb87cc70d91ab057c3f23eefb5..a44c117e85f37ec42285ba3b64d321c873d67975 100644
--- a/build/linux/BUILD.gn
+++ b/build/linux/BUILD.gn
@@ -115,6 +115,13 @@ group("fontconfig") {
}
}
+if (!is_chromecast) {
+ pkg_config("freetype2_config") {
+ visibility = [ ":freetype2" ]
+ packages = [ "freetype2" ]
+ }
+}
+
group("freetype2") {
if (is_chromecast) {
# Chromecast platform doesn't provide freetype, so use Chromium's.
@@ -123,6 +130,6 @@ group("freetype2") {
"//third_party/freetype-android:freetype",
]
} else {
- public_configs = [ "//build/config/linux:freetype2" ]
+ public_configs = [ ":freetype2_config" ]
}
}
« no previous file with comments | « build/config/posix/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698