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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 'sources/': [['exclude', '_posix\\.cc$']] | 100 'sources/': [['exclude', '_posix\\.cc$']] |
101 }], | 101 }], |
102 ['toolkit_uses_gtk == 1', { | 102 ['toolkit_uses_gtk == 1', { |
103 'dependencies': [ | 103 'dependencies': [ |
104 # For FT_Init_FreeType and friends. | 104 # For FT_Init_FreeType and friends. |
105 '../build/linux/system.gyp:freetype2', | 105 '../build/linux/system.gyp:freetype2', |
106 '../build/linux/system.gyp:gtk', | 106 '../build/linux/system.gyp:gtk', |
107 '../build/linux/system.gyp:gtkprint', | 107 '../build/linux/system.gyp:gtkprint', |
108 ], | 108 ], |
109 }], | 109 }], |
110 ['OS=="mac"', | 110 ['OS=="mac" and use_skia==0', { |
111 {'sources/': [ | 111 'sources/': [ |
112 ['exclude', 'pdf_metafile_skia\\.(cc|h)$'], | 112 ['exclude', 'pdf_metafile_skia\\.(cc|h)$'], |
113 ['exclude', 'metafile_skia_wrapper\\.(cc|h)$'], | 113 ['exclude', 'metafile_skia_wrapper\\.(cc|h)$'], |
114 ]}], | 114 ], |
| 115 }], |
115 ['OS=="win"', { | 116 ['OS=="win"', { |
116 'defines': [ | 117 'defines': [ |
117 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation | 118 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
118 # of the print backend and enables a custom implementation instead. | 119 # of the print backend and enables a custom implementation instead. |
119 'PRINT_BACKEND_AVAILABLE', | 120 'PRINT_BACKEND_AVAILABLE', |
120 ], | 121 ], |
121 'sources': [ | 122 'sources': [ |
122 'backend/win_helper.cc', | 123 'backend/win_helper.cc', |
123 'backend/win_helper.h', | 124 'backend/win_helper.h', |
124 'backend/print_backend_win.cc', | 125 'backend/print_backend_win.cc', |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 ], | 222 ], |
222 }, | 223 }, |
223 ], | 224 ], |
224 } | 225 } |
225 | 226 |
226 # Local Variables: | 227 # Local Variables: |
227 # tab-width:2 | 228 # tab-width:2 |
228 # indent-tabs-mode:nil | 229 # indent-tabs-mode:nil |
229 # End: | 230 # End: |
230 # vim: set expandtab tabstop=2 shiftwidth=2: | 231 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |