summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp22
1 files changed, 16 insertions, 6 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 961d908..b1e8ebb 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1165,12 +1165,6 @@
],
}],
['use_cups==1', {
- 'link_settings': {
- 'libraries': [
- '-lcups',
- '-lgcrypt',
- ],
- },
'defines': [
# CP_PRINT_SYSTEM_AVAILABLE disables default dummy implementation
# of cloud print system, and allows to use custom implementaiton.
@@ -1179,6 +1173,22 @@
'sources': [
'service/cloud_print/print_system_cups.cc',
],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/usr/lib/libcups.dylib',
+ ]
+ },
+ }, {
+ 'link_settings': {
+ 'libraries': [
+ '-lcups',
+ '-lgcrypt',
+ ],
+ },
+ }],
+ ],
}],
['remoting==1', {
'dependencies': [