| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 'print_settings.cc', | 65 'print_settings.cc', |
| 66 'print_settings.h', | 66 'print_settings.h', |
| 67 'print_settings_conversion.cc', | 67 'print_settings_conversion.cc', |
| 68 'print_settings_conversion.h', | 68 'print_settings_conversion.h', |
| 69 'print_settings_initializer_mac.cc', | 69 'print_settings_initializer_mac.cc', |
| 70 'print_settings_initializer_mac.h', | 70 'print_settings_initializer_mac.h', |
| 71 'print_settings_initializer_win.cc', | 71 'print_settings_initializer_win.cc', |
| 72 'print_settings_initializer_win.h', | 72 'print_settings_initializer_win.h', |
| 73 'printed_document.cc', | 73 'printed_document.cc', |
| 74 'printed_document.h', | 74 'printed_document.h', |
| 75 'printed_document_linux.cc', | |
| 76 'printed_document_mac.cc', | 75 'printed_document_mac.cc', |
| 77 'printed_document_win.cc', | 76 'printed_document_win.cc', |
| 78 'printed_page.cc', | 77 'printed_page.cc', |
| 79 'printed_page.h', | 78 'printed_page.h', |
| 80 'printed_pages_source.h', | 79 'printed_pages_source.h', |
| 81 'printing_context.cc', | 80 'printing_context.cc', |
| 82 'printing_context.h', | 81 'printing_context.h', |
| 83 'printing_context_system_dialog_win.cc', | 82 'printing_context_system_dialog_win.cc', |
| 84 'printing_context_system_dialog_win.h', | 83 'printing_context_system_dialog_win.h', |
| 85 'printing_context_win.cc', | 84 'printing_context_win.cc', |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 '-Wno-deprecated-declarations', | 166 '-Wno-deprecated-declarations', |
| 168 ], | 167 ], |
| 169 }, | 168 }, |
| 170 }], | 169 }], |
| 171 ], | 170 ], |
| 172 'defines': [ | 171 'defines': [ |
| 173 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 172 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
| 174 # of the print backend and enables a custom implementation instead. | 173 # of the print backend and enables a custom implementation instead. |
| 175 'PRINT_BACKEND_AVAILABLE', | 174 'PRINT_BACKEND_AVAILABLE', |
| 176 ], | 175 ], |
| 177 'sources': [ | 176 |
| 178 'backend/cups_helper.cc', | 177 'conditions': [ |
| 179 'backend/cups_helper.h', | 178 ['chromeos==1', { |
| 180 'backend/print_backend_cups.cc', | 179 'sources': [ |
| 180 'backend/cups_connection.cc', |
| 181 'backend/cups_connection.h', |
| 182 'backend/cups_deleter.cc', |
| 183 'backend/cups_deleter.h', |
| 184 'backend/cups_ipp_util.cc', |
| 185 'backend/cups_ipp_util.h', |
| 186 'backend/cups_printer.cc', |
| 187 'backend/cups_printer.h', |
| 188 'backend/print_backend_cups_ipp.cc', |
| 189 'backend/print_backend_cups_ipp.h', |
| 190 ], |
| 191 }, { # chromeos==0 |
| 192 'sources': [ |
| 193 'backend/cups_helper.cc', |
| 194 'backend/cups_helper.h', |
| 195 'backend/print_backend_cups.cc', |
| 196 ], |
| 197 }], |
| 181 ], | 198 ], |
| 182 }], | 199 }], |
| 183 ['OS=="linux" and chromeos==1', { | 200 ['OS=="linux" and chromeos==1', { |
| 184 'defines': [ | 201 'defines': [ |
| 185 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 202 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
| 186 # of the print backend and enables a custom implementation instead. | 203 # of the print backend and enables a custom implementation instead. |
| 187 'PRINT_BACKEND_AVAILABLE', | 204 'PRINT_BACKEND_AVAILABLE', |
| 188 ], | 205 ], |
| 189 'sources': [ | 206 'sources': [ |
| 190 'backend/print_backend_chromeos.cc', | 207 'backend/print_backend_chromeos.cc', |
| 191 ], | 208 ], |
| 192 }], | 209 }], |
| 193 ['OS=="linux" and chromeos==0', { | 210 ['OS=="linux" and chromeos==0', { |
| 194 'sources': [ | 211 'sources': [ |
| 212 'printed_document_linux.cc', |
| 195 'printing_context_linux.cc', | 213 'printing_context_linux.cc', |
| 196 'printing_context_linux.h', | 214 'printing_context_linux.h', |
| 197 ], | 215 ], |
| 198 }], | 216 }], |
| 199 ['OS=="android"', { | 217 ['OS=="android"', { |
| 200 'sources': [ | 218 'sources': [ |
| 201 'printing_context_android.cc', | 219 'printing_context_android.cc', |
| 202 'printing_context_android.h', | 220 'printing_context_android.h', |
| 203 ], | 221 ], |
| 204 'dependencies': [ | 222 'dependencies': [ |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 '../build/isolate.gypi', | 349 '../build/isolate.gypi', |
| 332 ], | 350 ], |
| 333 'sources': [ | 351 'sources': [ |
| 334 'printing_unittests.isolate', | 352 'printing_unittests.isolate', |
| 335 ], | 353 ], |
| 336 }, | 354 }, |
| 337 ], | 355 ], |
| 338 }], | 356 }], |
| 339 ] | 357 ] |
| 340 } | 358 } |
| OLD | NEW |