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

Unified Diff: chrome/browser/ui/libgtk2ui/BUILD.gn

Issue 1296043003: libgtk2ui should only add the cups config if use_cups is true (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/BUILD.gn
diff --git a/chrome/browser/ui/libgtk2ui/BUILD.gn b/chrome/browser/ui/libgtk2ui/BUILD.gn
index b85f67d988321d338ec7b8ed986d1b573c21e7e0..595d381887ca2f77ead3fc8e6b84e1bd22e27198 100644
--- a/chrome/browser/ui/libgtk2ui/BUILD.gn
+++ b/chrome/browser/ui/libgtk2ui/BUILD.gn
@@ -65,9 +65,14 @@ component("libgtk2ui") {
configs += [
"//build/config/linux:gconf",
- "//printing:cups",
]
+ if (use_cups) {
+ configs += [
+ "//printing:cups",
+ ]
+ }
+
# GTK2 pulls pangoft2 as dependency, and pangoft2 depends on harfbuzz.
# To avoid missing indirectly referenced harfbuzz symbols from pango,
# some hack is required when bundled harfbuzz is used and component build is
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698