| 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           }, | 
| 115           'defines': [ | 121           'defines': [ | 
| 116             # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 122             # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 
| 117             # of the print backend and enables a custom implementation instead. | 123             # of the print backend and enables a custom implementation instead. | 
| 118             'PRINT_BACKEND_AVAILABLE', | 124             'PRINT_BACKEND_AVAILABLE', | 
| 119           ], | 125           ], | 
| 120           'sources': [ | 126           'sources': [ | 
| 121             'backend/cups_helper.cc', | 127             'backend/cups_helper.cc', | 
| 122             'backend/cups_helper.h', | 128             'backend/cups_helper.h', | 
| 123             'backend/print_backend_cups.cc', | 129             'backend/print_backend_cups.cc', | 
| 124           ], | 130           ], | 
| 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           ], |  | 
| 141         }], | 131         }], | 
| 142       ], | 132       ], | 
| 143     }, | 133     }, | 
| 144     { | 134     { | 
| 145       'target_name': 'printing_unittests', | 135       'target_name': 'printing_unittests', | 
| 146       'type': 'executable', | 136       'type': 'executable', | 
| 147       'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', | 137       'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', | 
| 148       'dependencies': [ | 138       'dependencies': [ | 
| 149         'printing', | 139         'printing', | 
| 150         '../testing/gtest.gyp:gtest', | 140         '../testing/gtest.gyp:gtest', | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 189       ], | 179       ], | 
| 190     }, | 180     }, | 
| 191   ], | 181   ], | 
| 192 } | 182 } | 
| 193 | 183 | 
| 194 # Local Variables: | 184 # Local Variables: | 
| 195 # tab-width:2 | 185 # tab-width:2 | 
| 196 # indent-tabs-mode:nil | 186 # indent-tabs-mode:nil | 
| 197 # End: | 187 # End: | 
| 198 # vim: set expandtab tabstop=2 shiftwidth=2: | 188 # vim: set expandtab tabstop=2 shiftwidth=2: | 
| OLD | NEW | 
|---|