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

Unified Diff: build/config/linux/BUILD.gn

Issue 1657143002: [GN] Guard the "pangocairo" config with (use_pango || use_cairo). (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Guard another pango target 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
« no previous file with comments | « no previous file | chrome/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/linux/BUILD.gn
diff --git a/build/config/linux/BUILD.gn b/build/config/linux/BUILD.gn
index 1b3d9f9c867de3f07eff9744cbacf66dfa43af47..26ae44c94e3bc5bd12d823c8fbafd9731b89b67f 100644
--- a/build/config/linux/BUILD.gn
+++ b/build/config/linux/BUILD.gn
@@ -46,12 +46,16 @@ pkg_config("glib") {
]
}
-pkg_config("pangocairo") {
- packages = [ "pangocairo" ]
+if (use_pango || use_cairo) {
+ pkg_config("pangocairo") {
+ packages = [ "pangocairo" ]
+ }
}
-pkg_config("pangoft2") {
- packages = [ "pangoft2" ]
+if (use_pango) {
+ pkg_config("pangoft2") {
+ packages = [ "pangoft2" ]
+ }
}
# Note: if your target also depends on //dbus, you don't need to add this
« no previous file with comments | « no previous file | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698