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

Unified Diff: chrome/chrome.gyp

Issue 4167006: Mac cloud print proxy work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up condition Created 10 years, 2 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
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': [

Powered by Google App Engine
This is Rietveld 408576698