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

Unified Diff: chrome/chrome.gyp

Issue 2858014: Linux: make cups (common unix printing system) dependency optional. (Closed)
Patch Set: update Created 10 years, 6 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/chrome.gyp
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 671e9cf274485c78db64ce8f6301af545143ee17..193520552112cedcd97cf562771998e0fb83c5fc 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1097,6 +1097,15 @@
'include_dirs': [
'..',
],
+ 'variables': {
+ 'conditions': [
+ ['OS=="linux" and chromeos==0 and target_arch!="arm"', {
+ 'use_cups%': 1,
+ }, {
+ 'use_cups%': 0,
+ }],
+ ],
+ },
'conditions': [
['OS=="win"', {
'defines': [
@@ -1113,7 +1122,7 @@
'../build/linux/system.gyp:gtk',
],
}],
- ['OS=="linux" and chromeos==0 and target_arch!="arm"', {
+ ['use_cups==1', {
'link_settings': {
'libraries': [
'-lcups',
« 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