| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 # mac_sdk). | 160 # mac_sdk). |
| 161 # With a 10.8 deployment target, several other APIs are | 161 # With a 10.8 deployment target, several other APIs are |
| 162 # deprecated. We're still on CUPS 1.4 until Linux no longer | 162 # deprecated. We're still on CUPS 1.4 until Linux no longer |
| 163 # needs to support it, see comment above. | 163 # needs to support it, see comment above. |
| 164 'xcode_settings': { | 164 'xcode_settings': { |
| 165 'WARNING_CFLAGS': [ | 165 'WARNING_CFLAGS': [ |
| 166 '-Wno-deprecated-declarations', | 166 '-Wno-deprecated-declarations', |
| 167 ], | 167 ], |
| 168 }, | 168 }, |
| 169 }], | 169 }], |
| 170 ], |
| 171 'defines': [ |
| 172 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
| 173 # of the print backend and enables a custom implementation instead. |
| 174 'PRINT_BACKEND_AVAILABLE', |
| 175 ], |
| 176 'conditions': [ |
| 170 ['chromeos==1', { | 177 ['chromeos==1', { |
| 171 'sources': [ | 178 'sources': [ |
| 172 'backend/cups_connection.cc', | 179 'backend/cups_connection.cc', |
| 173 'backend/cups_connection.h', | 180 'backend/cups_connection.h', |
| 174 'backend/cups_deleter.cc', | 181 'backend/cups_deleters.cc', |
| 175 'backend/cups_deleter.h', | 182 'backend/cups_deleters.h', |
| 176 'backend/cups_ipp_util.cc', | 183 'backend/cups_ipp_util.cc', |
| 177 'backend/cups_ipp_util.h', | 184 'backend/cups_ipp_util.h', |
| 178 'backend/cups_printer.cc', | 185 'backend/cups_printer.cc', |
| 179 'backend/cups_printer.h', | 186 'backend/cups_printer.h', |
| 180 'backend/print_backend_cups_ipp.cc', | 187 'backend/print_backend_cups_ipp.cc', |
| 181 'backend/print_backend_cups_ipp.h', | 188 'backend/print_backend_cups_ipp.h', |
| 182 ], | 189 ], |
| 183 }, { # chromeos==0 | 190 }, { # chromeos==0 |
| 184 'sources': [ | 191 'sources': [ |
| 185 'backend/cups_helper.cc', | 192 'backend/cups_helper.cc', |
| 186 'backend/cups_helper.h', | 193 'backend/cups_helper.h', |
| 187 'backend/print_backend_cups.cc', | 194 'backend/print_backend_cups.cc', |
| 188 ], | 195 ], |
| 189 }], | 196 }], |
| 190 ], | 197 ], |
| 191 'defines': [ | |
| 192 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | |
| 193 # of the print backend and enables a custom implementation instead. | |
| 194 'PRINT_BACKEND_AVAILABLE', | |
| 195 ], | |
| 196 }], | 198 }], |
| 197 ['OS=="linux" and chromeos==1', { | 199 ['OS=="linux" and chromeos==1', { |
| 198 'defines': [ | 200 'defines': [ |
| 199 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 201 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
| 200 # of the print backend and enables a custom implementation instead. | 202 # of the print backend and enables a custom implementation instead. |
| 201 'PRINT_BACKEND_AVAILABLE', | 203 'PRINT_BACKEND_AVAILABLE', |
| 202 ], | 204 ], |
| 203 'sources': [ | 205 'sources': [ |
| 204 'backend/print_backend_chromeos.cc', | 206 'backend/print_backend_chromeos.cc', |
| 205 ], | 207 ], |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 '../build/isolate.gypi', | 352 '../build/isolate.gypi', |
| 351 ], | 353 ], |
| 352 'sources': [ | 354 'sources': [ |
| 353 'printing_unittests.isolate', | 355 'printing_unittests.isolate', |
| 354 ], | 356 ], |
| 355 }, | 357 }, |
| 356 ], | 358 ], |
| 357 }], | 359 }], |
| 358 ] | 360 ] |
| 359 } | 361 } |
| OLD | NEW |