OLD | NEW |
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 'direct_dependent_settings': { | 91 'direct_dependent_settings': { |
92 'include_dirs': [ | 92 'include_dirs': [ |
93 '..', | 93 '..', |
94 ], | 94 ], |
95 }, | 95 }, |
96 'conditions': [ | 96 'conditions': [ |
97 ['use_aura==1', { | 97 ['use_aura==1', { |
98 'dependencies': [ | 98 'dependencies': [ |
99 '<(DEPTH)/ui/aura/aura.gyp:aura', | 99 '<(DEPTH)/ui/aura/aura.gyp:aura', |
100 ], | 100 ], |
101 }], | |
102 ['toolkit_uses_gtk == 0',{ | |
103 'sources/': [['exclude', '_cairo\\.cc$']] | |
104 }, { # else: toolkit_uses_gtk == 1 | |
105 'dependencies': [ | |
106 # For FT_Init_FreeType and friends. | |
107 '../build/linux/system.gyp:freetype2', | |
108 '../build/linux/system.gyp:gtk', | |
109 '../build/linux/system.gyp:gtkprint', | |
110 ], | |
111 }], | 101 }], |
112 # Mac-Aura does not support printing. | 102 # Mac-Aura does not support printing. |
113 ['OS=="mac" and use_aura==1',{ | 103 ['OS=="mac" and use_aura==1',{ |
114 'sources!': [ | 104 'sources!': [ |
115 'printed_document_mac.cc', | 105 'printed_document_mac.cc', |
116 'printing_context_mac.mm', | 106 'printing_context_mac.mm', |
117 'printing_context_mac.h', | 107 'printing_context_mac.h', |
118 ], | 108 ], |
119 }], | 109 }], |
120 ['OS=="mac" and use_aura==0',{ | 110 ['OS=="mac" and use_aura==0',{ |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 'page_range_unittest.cc', | 238 'page_range_unittest.cc', |
249 'page_setup_unittest.cc', | 239 'page_setup_unittest.cc', |
250 'pdf_metafile_cg_mac_unittest.cc', | 240 'pdf_metafile_cg_mac_unittest.cc', |
251 'printed_page_unittest.cc', | 241 'printed_page_unittest.cc', |
252 'printing_context_win_unittest.cc', | 242 'printing_context_win_unittest.cc', |
253 'printing_test.h', | 243 'printing_test.h', |
254 'printing_utils_unittest.cc', | 244 'printing_utils_unittest.cc', |
255 'units_unittest.cc', | 245 'units_unittest.cc', |
256 ], | 246 ], |
257 'conditions': [ | 247 'conditions': [ |
258 ['toolkit_uses_gtk == 0', {'sources/': [['exclude', '_gtk_unittest\\.cc$
']]}], | |
259 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], | 248 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], |
260 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']]}], | 249 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']]}], |
261 ['use_cups==1', { | 250 ['use_cups==1', { |
262 'defines': [ | 251 'defines': [ |
263 'USE_CUPS', | 252 'USE_CUPS', |
264 ], | 253 ], |
265 'sources': [ | 254 'sources': [ |
266 'backend/cups_helper_unittest.cc', | 255 'backend/cups_helper_unittest.cc', |
267 ], | 256 ], |
268 }], | 257 }], |
269 ['toolkit_uses_gtk == 1', { | |
270 'dependencies': [ | |
271 '../build/linux/system.gyp:gtk', | |
272 ], | |
273 }], | |
274 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { | 258 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
275 'conditions': [ | 259 'conditions': [ |
276 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 260 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
277 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (
use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', { | 261 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (
use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', { |
278 'dependencies': [ | 262 'dependencies': [ |
279 '../base/allocator/allocator.gyp:allocator', | 263 '../base/allocator/allocator.gyp:allocator', |
280 ], | 264 ], |
281 }], | 265 }], |
282 ], | 266 ], |
283 }], | 267 }], |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 }, | 326 }, |
343 'dependencies': [ | 327 'dependencies': [ |
344 '../base/base.gyp:base_java', | 328 '../base/base.gyp:base_java', |
345 ], | 329 ], |
346 'includes': [ '../build/java.gypi' ], | 330 'includes': [ '../build/java.gypi' ], |
347 } | 331 } |
348 ] | 332 ] |
349 }], | 333 }], |
350 ] | 334 ] |
351 } | 335 } |
OLD | NEW |