Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: printing/printing.gyp

Issue 10540033: Add ENABLE_PRINTING and disable it on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Arrange some ifdefs Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 'print_settings_initializer_win.h', 80 'print_settings_initializer_win.h',
81 'units.cc', 81 'units.cc',
82 'units.h', 82 'units.h',
83 ], 83 ],
84 'direct_dependent_settings': { 84 'direct_dependent_settings': {
85 'include_dirs': [ 85 'include_dirs': [
86 '..', 86 '..',
87 ], 87 ],
88 }, 88 },
89 'conditions': [ 89 'conditions': [
90 ['enable_printing!=1', {
91 'sources/': [
92 ['exclude', '.'],
93 ],
94 }],
90 ['toolkit_uses_gtk == 0',{ 95 ['toolkit_uses_gtk == 0',{
91 'sources/': [['exclude', '_cairo\\.cc$']] 96 'sources/': [['exclude', '_cairo\\.cc$']]
92 }], 97 }],
93 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], 98 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}],
94 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']] 99 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']]
95 }, { # else: OS=="win" 100 }, { # else: OS=="win"
96 'sources/': [['exclude', '_posix\\.cc$']] 101 'sources/': [['exclude', '_posix\\.cc$']]
97 }], 102 }],
98 ['toolkit_uses_gtk == 1', { 103 ['toolkit_uses_gtk == 1', {
99 'dependencies': [ 104 'dependencies': [
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 'printing_test.h', 207 'printing_test.h',
203 'page_number_unittest.cc', 208 'page_number_unittest.cc',
204 'page_range_unittest.cc', 209 'page_range_unittest.cc',
205 'page_setup_unittest.cc', 210 'page_setup_unittest.cc',
206 'pdf_metafile_cg_mac_unittest.cc', 211 'pdf_metafile_cg_mac_unittest.cc',
207 'printed_page_unittest.cc', 212 'printed_page_unittest.cc',
208 'run_all_unittests.cc', 213 'run_all_unittests.cc',
209 'units_unittest.cc', 214 'units_unittest.cc',
210 ], 215 ],
211 'conditions': [ 216 'conditions': [
217 ['enable_printing!=1', {
218 'sources/': [
219 ['exclude', '.'],
220 ['include', 'run_all_unittests.cc'],
221 ],
222 }],
212 ['toolkit_uses_gtk == 0', {'sources/': [['exclude', '_gtk_unittest\\.cc$ ']]}], 223 ['toolkit_uses_gtk == 0', {'sources/': [['exclude', '_gtk_unittest\\.cc$ ']]}],
213 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], 224 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}],
214 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']]}], 225 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']]}],
215 ['OS=="win" and use_aura == 0', { 226 ['OS=="win" and use_aura == 0', {
216 'sources': [ 227 'sources': [
217 'printing_context_win_unittest.cc', 228 'printing_context_win_unittest.cc',
218 ] 229 ]
219 }], 230 }],
220 ['toolkit_uses_gtk == 1', { 231 ['toolkit_uses_gtk == 1', {
221 'dependencies': [ 232 'dependencies': [
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 '<!@(python cups_config_helper.py --cflags)', 270 '<!@(python cups_config_helper.py --cflags)',
260 ], 271 ],
261 }], 272 }],
262 ], 273 ],
263 }, 274 },
264 }], 275 }],
265 ], 276 ],
266 }, 277 },
267 ], 278 ],
268 } 279 }
OLDNEW
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698