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

Side by Side Diff: printing/printing.gyp

Issue 15817004: Enabled system print dialog on Windows Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « printing/DEPS ('k') | printing/printing_context_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 'include_dirs': [ 90 'include_dirs': [
91 '..', 91 '..',
92 ], 92 ],
93 }, 93 },
94 'conditions': [ 94 'conditions': [
95 ['enable_printing!=1', { 95 ['enable_printing!=1', {
96 'sources/': [ 96 'sources/': [
97 ['exclude', '.'], 97 ['exclude', '.'],
98 ], 98 ],
99 }], 99 }],
100 ['use_aura==1', {
101 'dependencies': [
102 '<(DEPTH)/ui/aura/aura.gyp:aura',
103 ],
104 }],
100 ['toolkit_uses_gtk == 0',{ 105 ['toolkit_uses_gtk == 0',{
101 'sources/': [['exclude', '_cairo\\.cc$']] 106 'sources/': [['exclude', '_cairo\\.cc$']]
102 }], 107 }],
103 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], 108 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}],
104 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']] 109 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']]
105 }, { # else: OS=="win" 110 }, { # else: OS=="win"
106 'sources/': [['exclude', '_posix\\.cc$']] 111 'sources/': [['exclude', '_posix\\.cc$']]
107 }], 112 }],
108 ['toolkit_uses_gtk == 1', { 113 ['toolkit_uses_gtk == 1', {
109 'dependencies': [ 114 'dependencies': [
(...skipping 15 matching lines...) Expand all
125 'sources': [ 130 'sources': [
126 'printing_context_mac.mm', 131 'printing_context_mac.mm',
127 'printing_context_mac.h', 132 'printing_context_mac.h',
128 ], 133 ],
129 }], 134 }],
130 ['OS=="win"', { 135 ['OS=="win"', {
131 'dependencies': [ 136 'dependencies': [
132 '../win8/win8.gyp:win8_util', 137 '../win8/win8.gyp:win8_util',
133 ], 138 ],
134 'conditions': [ 139 'conditions': [
135 ['use_aura==0', { 140 ['use_aura==1', {
136 'sources': [ 141 'dependencies': [
137 'printing_context_win.cc', 142 '<(DEPTH)/ui/aura/aura.gyp:aura',
138 'printing_context_win.h',
139 ], 143 ],
140 }]], 144 }]],
141 'defines': [ 145 'defines': [
142 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation 146 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation
143 # of the print backend and enables a custom implementation instead. 147 # of the print backend and enables a custom implementation instead.
144 'PRINT_BACKEND_AVAILABLE', 148 'PRINT_BACKEND_AVAILABLE',
145 ], 149 ],
146 'sources': [ 150 'sources': [
147 'backend/win_helper.cc', 151 'backend/win_helper.cc',
148 'backend/win_helper.h', 152 'backend/win_helper.h',
149 'backend/print_backend_win.cc', 153 'backend/print_backend_win.cc',
154 'printing_context_win.cc',
155 'printing_context_win.h',
150 ], 156 ],
151 'sources!': [ 157 'sources!': [
152 'print_destination_none.cc', 158 'print_destination_none.cc',
153 ], 159 ],
154 }], 160 }],
155 ['chromeos==1 or use_aura==1',{ 161 ['chromeos==1 or (use_aura==1 and OS!="win")',{
156 'sources': [ 162 'sources': [
157 'printing_context_no_system_dialog.cc', 163 'printing_context_no_system_dialog.cc',
158 'printing_context_no_system_dialog.h', 164 'printing_context_no_system_dialog.h',
159 ], 165 ],
160 }], 166 }],
161 ['use_cups==1', { 167 ['use_cups==1', {
162 'dependencies': [ 168 'dependencies': [
163 'cups', 169 'cups',
164 ], 170 ],
165 'variables': { 171 'variables': {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 '<!@(python cups_config_helper.py --cflags)', 305 '<!@(python cups_config_helper.py --cflags)',
300 ], 306 ],
301 }], 307 }],
302 ], 308 ],
303 }, 309 },
304 }], 310 }],
305 ], 311 ],
306 }, 312 },
307 ], 313 ],
308 } 314 }
OLDNEW
« no previous file with comments | « printing/DEPS ('k') | printing/printing_context_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698