| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 # of the print backend and enables a custom implementation instead. | 105 # of the print backend and enables a custom implementation instead. |
| 106 'PRINT_BACKEND_AVAILABLE', | 106 'PRINT_BACKEND_AVAILABLE', |
| 107 ], | 107 ], |
| 108 'sources': [ | 108 'sources': [ |
| 109 'backend/win_helper.cc', | 109 'backend/win_helper.cc', |
| 110 'backend/win_helper.h', | 110 'backend/win_helper.h', |
| 111 'backend/print_backend_win.cc', | 111 'backend/print_backend_win.cc', |
| 112 ], | 112 ], |
| 113 }], | 113 }], |
| 114 ['use_cups==1', { | 114 ['use_cups==1', { |
| 115 'link_settings': { | |
| 116 'libraries': [ | |
| 117 '-lcups', | |
| 118 '-lgcrypt', | |
| 119 ], | |
| 120 }, | |
| 121 'defines': [ | 115 'defines': [ |
| 122 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 116 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
| 123 # of the print backend and enables a custom implementation instead. | 117 # of the print backend and enables a custom implementation instead. |
| 124 'PRINT_BACKEND_AVAILABLE', | 118 'PRINT_BACKEND_AVAILABLE', |
| 125 ], | 119 ], |
| 126 'sources': [ | 120 'sources': [ |
| 127 'backend/cups_helper.cc', | 121 'backend/cups_helper.cc', |
| 128 'backend/cups_helper.h', | 122 'backend/cups_helper.h', |
| 129 'backend/print_backend_cups.cc', | 123 'backend/print_backend_cups.cc', |
| 130 ], | 124 ], |
| 125 'conditions': [ |
| 126 ['OS=="mac"', { |
| 127 'link_settings': { |
| 128 'libraries': [ |
| 129 '$(SDKROOT)/usr/lib/libcups.dylib', |
| 130 ] |
| 131 }, |
| 132 }, { |
| 133 'link_settings': { |
| 134 'libraries': [ |
| 135 '-lcups', |
| 136 '-lgcrypt', |
| 137 ], |
| 138 }, |
| 139 }], |
| 140 ], |
| 131 }], | 141 }], |
| 132 ], | 142 ], |
| 133 }, | 143 }, |
| 134 { | 144 { |
| 135 'target_name': 'printing_unittests', | 145 'target_name': 'printing_unittests', |
| 136 'type': 'executable', | 146 'type': 'executable', |
| 137 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', | 147 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', |
| 138 'dependencies': [ | 148 'dependencies': [ |
| 139 'printing', | 149 'printing', |
| 140 '../testing/gtest.gyp:gtest', | 150 '../testing/gtest.gyp:gtest', |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 ], | 189 ], |
| 180 }, | 190 }, |
| 181 ], | 191 ], |
| 182 } | 192 } |
| 183 | 193 |
| 184 # Local Variables: | 194 # Local Variables: |
| 185 # tab-width:2 | 195 # tab-width:2 |
| 186 # indent-tabs-mode:nil | 196 # indent-tabs-mode:nil |
| 187 # End: | 197 # End: |
| 188 # vim: set expandtab tabstop=2 shiftwidth=2: | 198 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |