OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 140 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
141 # of the print backend and enables a custom implementation instead. | 141 # of the print backend and enables a custom implementation instead. |
142 'PRINT_BACKEND_AVAILABLE', | 142 'PRINT_BACKEND_AVAILABLE', |
143 ], | 143 ], |
144 'sources': [ | 144 'sources': [ |
145 'backend/cups_helper.cc', | 145 'backend/cups_helper.cc', |
146 'backend/cups_helper.h', | 146 'backend/cups_helper.h', |
147 'backend/print_backend_cups.cc', | 147 'backend/print_backend_cups.cc', |
148 ], | 148 ], |
149 }], | 149 }], |
| 150 ['OS=="linux" and chromeos==1', { |
| 151 'defines': [ |
| 152 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
| 153 # of the print backend and enables a custom implementation instead. |
| 154 'PRINT_BACKEND_AVAILABLE', |
| 155 ], |
| 156 'sources': [ |
| 157 'backend/print_backend_chromeos.cc', |
| 158 ], |
| 159 }], |
150 ], | 160 ], |
151 }, | 161 }, |
152 { | 162 { |
153 'target_name': 'printing_unittests', | 163 'target_name': 'printing_unittests', |
154 'type': 'executable', | 164 'type': 'executable', |
155 'dependencies': [ | 165 'dependencies': [ |
156 'printing', | 166 'printing', |
157 '../testing/gtest.gyp:gtest', | 167 '../testing/gtest.gyp:gtest', |
158 '../base/base.gyp:test_support_base', | 168 '../base/base.gyp:test_support_base', |
159 ], | 169 ], |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 ], | 226 ], |
217 }, | 227 }, |
218 }], | 228 }], |
219 ], | 229 ], |
220 }, | 230 }, |
221 }], | 231 }], |
222 ], | 232 ], |
223 }, | 233 }, |
224 ], | 234 ], |
225 } | 235 } |
OLD | NEW |