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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 139 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
140 # of the print backend and enables a custom implementation instead. | 140 # of the print backend and enables a custom implementation instead. |
141 'PRINT_BACKEND_AVAILABLE', | 141 'PRINT_BACKEND_AVAILABLE', |
142 ], | 142 ], |
143 'sources': [ | 143 'sources': [ |
144 'backend/cups_helper.cc', | 144 'backend/cups_helper.cc', |
145 'backend/cups_helper.h', | 145 'backend/cups_helper.h', |
146 'backend/print_backend_cups.cc', | 146 'backend/print_backend_cups.cc', |
147 ], | 147 ], |
148 }], | 148 }], |
| 149 ['OS=="linux" and chromeos==1', { |
| 150 'defines': [ |
| 151 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
| 152 # of the print backend and enables a custom implementation instead. |
| 153 'PRINT_BACKEND_AVAILABLE', |
| 154 ], |
| 155 'sources': [ |
| 156 'backend/print_backend_chromeos.cc', |
| 157 ], |
| 158 }], |
149 ], | 159 ], |
150 }, | 160 }, |
151 { | 161 { |
152 'target_name': 'printing_unittests', | 162 'target_name': 'printing_unittests', |
153 'type': 'executable', | 163 'type': 'executable', |
154 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', | 164 'msvs_guid': '8B2EE5D9-41BC-4AA2-A401-2DC143A05D2E', |
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', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 ], | 232 ], |
223 }, | 233 }, |
224 ], | 234 ], |
225 } | 235 } |
226 | 236 |
227 # Local Variables: | 237 # Local Variables: |
228 # tab-width:2 | 238 # tab-width:2 |
229 # indent-tabs-mode:nil | 239 # indent-tabs-mode:nil |
230 # End: | 240 # End: |
231 # vim: set expandtab tabstop=2 shiftwidth=2: | 241 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |