| 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': [ | |
| 177 ['chromeos==1', { | 170 ['chromeos==1', { |
| 178 'sources': [ | 171 'sources': [ |
| 179 'backend/cups_connection.cc', | 172 'backend/cups_connection.cc', |
| 180 'backend/cups_connection.h', | 173 'backend/cups_connection.h', |
| 181 'backend/cups_deleters.cc', | 174 'backend/cups_deleters.cc', |
| 182 'backend/cups_deleters.h', | 175 'backend/cups_deleters.h', |
| 183 'backend/cups_ipp_util.cc', | 176 'backend/cups_ipp_util.cc', |
| 184 'backend/cups_ipp_util.h', | 177 'backend/cups_ipp_util.h', |
| 185 'backend/cups_printer.cc', | 178 'backend/cups_printer.cc', |
| 186 'backend/cups_printer.h', | 179 'backend/cups_printer.h', |
| 187 'backend/print_backend_cups_ipp.cc', | 180 'backend/print_backend_cups_ipp.cc', |
| 188 'backend/print_backend_cups_ipp.h', | 181 'backend/print_backend_cups_ipp.h', |
| 189 ], | 182 ], |
| 190 }, { # chromeos==0 | 183 }, { # chromeos==0 |
| 191 'sources': [ | 184 'sources': [ |
| 192 'backend/cups_helper.cc', | 185 'backend/cups_helper.cc', |
| 193 'backend/cups_helper.h', | 186 'backend/cups_helper.h', |
| 194 'backend/print_backend_cups.cc', | 187 'backend/print_backend_cups.cc', |
| 195 ], | 188 ], |
| 196 }], | 189 }], |
| 197 ], | 190 ], |
| 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 ], |
| 198 }], | 196 }], |
| 199 ['OS=="linux" and chromeos==1', { | 197 ['OS=="linux" and chromeos==1', { |
| 200 'defines': [ | 198 'defines': [ |
| 201 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 199 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
| 202 # of the print backend and enables a custom implementation instead. | 200 # of the print backend and enables a custom implementation instead. |
| 203 'PRINT_BACKEND_AVAILABLE', | 201 'PRINT_BACKEND_AVAILABLE', |
| 204 ], | 202 ], |
| 205 'sources': [ | 203 'sources': [ |
| 206 'backend/print_backend_chromeos.cc', | 204 'backend/print_backend_chromeos.cc', |
| 207 ], | 205 ], |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 '../build/isolate.gypi', | 350 '../build/isolate.gypi', |
| 353 ], | 351 ], |
| 354 'sources': [ | 352 'sources': [ |
| 355 'printing_unittests.isolate', | 353 'printing_unittests.isolate', |
| 356 ], | 354 ], |
| 357 }, | 355 }, |
| 358 ], | 356 ], |
| 359 }], | 357 }], |
| 360 ] | 358 ] |
| 361 } | 359 } |
| OLD | NEW |