Chromium Code Reviews| Index: chrome/chrome.gyp |
| diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp |
| index d306fdcf76bacb7eb1b045c4af0ac30080ed76bc..889572fde9d68eb3291ec36e78b653a6886ff061 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': [ |