Chromium Code Reviews| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 82 'print_settings_initializer_win.h', | 82 'print_settings_initializer_win.h', |
| 83 'units.cc', | 83 'units.cc', |
| 84 'units.h', | 84 'units.h', |
| 85 ], | 85 ], |
| 86 'direct_dependent_settings': { | 86 'direct_dependent_settings': { |
| 87 'include_dirs': [ | 87 'include_dirs': [ |
| 88 '..', | 88 '..', |
| 89 ], | 89 ], |
| 90 }, | 90 }, |
| 91 'conditions': [ | 91 'conditions': [ |
| 92 ['OS!="linux" and OS!="freebsd" and OS!="openbsd"',{ | 92 ['toolkit_uses_gtk == 0',{ |
|
tony
2011/05/20 16:09:38
This one is a bit weird because the other conditio
| |
| 93 'sources/': [['exclude', '_cairo\\.cc$']] | 93 'sources/': [['exclude', '_cairo\\.cc$']] |
| 94 }], | 94 }], |
| 95 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], | 95 ['OS!="mac"', {'sources/': [['exclude', '_mac\\.(cc|mm?)$']]}], |
| 96 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']] | 96 ['OS!="win"', {'sources/': [['exclude', '_win\\.cc$']] |
| 97 }, { # else: OS=="win" | 97 }, { # else: OS=="win" |
| 98 'sources/': [['exclude', '_posix\\.cc$']] | 98 'sources/': [['exclude', '_posix\\.cc$']] |
| 99 }], | 99 }], |
| 100 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 100 ['toolkit_uses_gtk == 1', { |
| 101 'sources': [ | 101 'sources': [ |
| 102 'metafile_skia_wrapper.cc', | 102 'metafile_skia_wrapper.cc', |
| 103 'metafile_skia_wrapper.h', | 103 'metafile_skia_wrapper.h', |
| 104 ], | 104 ], |
| 105 'dependencies': [ | 105 'dependencies': [ |
| 106 # For FT_Init_FreeType and friends. | 106 # For FT_Init_FreeType and friends. |
| 107 '../build/linux/system.gyp:freetype2', | 107 '../build/linux/system.gyp:freetype2', |
| 108 '../build/linux/system.gyp:gtk', | 108 '../build/linux/system.gyp:gtk', |
| 109 '../build/linux/system.gyp:gtkprint', | 109 '../build/linux/system.gyp:gtkprint', |
| 110 ], | 110 ], |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 165 'page_range_unittest.cc', | 165 'page_range_unittest.cc', |
| 166 'page_setup_unittest.cc', | 166 'page_setup_unittest.cc', |
| 167 'pdf_metafile_cairo_linux_unittest.cc', | 167 'pdf_metafile_cairo_linux_unittest.cc', |
| 168 'pdf_metafile_cg_mac_unittest.cc', | 168 'pdf_metafile_cg_mac_unittest.cc', |
| 169 'printed_page_unittest.cc', | 169 'printed_page_unittest.cc', |
| 170 'printing_context_win_unittest.cc', | 170 'printing_context_win_unittest.cc', |
| 171 'run_all_unittests.cc', | 171 'run_all_unittests.cc', |
| 172 'units_unittest.cc', | 172 'units_unittest.cc', |
| 173 ], | 173 ], |
| 174 'conditions': [ | 174 'conditions': [ |
| 175 ['OS!="linux"', {'sources/': [['exclude', '_cairo_unittest\\.cc$']]}], | 175 ['toolkit_uses_gtk == 0', {'sources/': [['exclude', '_cairo_unittest\\.c c$']]}], |
| 176 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], | 176 ['OS!="mac"', {'sources/': [['exclude', '_mac_unittest\\.(cc|mm?)$']]}], |
| 177 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']] | 177 ['OS!="win"', {'sources/': [['exclude', '_win_unittest\\.cc$']] |
| 178 }, { # else: OS=="win" | 178 }, { # else: OS=="win" |
| 179 'sources/': [['exclude', '_cairo_unittest\\.cc$']] | 179 'sources/': [['exclude', '_cairo_unittest\\.cc$']] |
| 180 } | 180 } |
| 181 ], | 181 ], |
| 182 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 182 ['toolkit_uses_gtk == 1', { |
| 183 'dependencies': [ | 183 'dependencies': [ |
| 184 '../build/linux/system.gyp:gtk', | 184 '../build/linux/system.gyp:gtk', |
| 185 ], | 185 ], |
| 186 }], | |
| 187 ['OS=="linux"', { | |
| 188 'conditions': [ | 186 'conditions': [ |
| 189 ['linux_use_tcmalloc==1', { | 187 ['linux_use_tcmalloc == 1', { |
| 190 'dependencies': [ | 188 'dependencies': [ |
| 191 '../base/allocator/allocator.gyp:allocator', | 189 '../base/allocator/allocator.gyp:allocator', |
| 192 ], | 190 ], |
| 193 }], | 191 }], |
| 194 ], | 192 ], |
| 195 }], | 193 }], |
| 196 ], | 194 ], |
| 197 }, | 195 }, |
| 198 { | 196 { |
| 199 'target_name': 'cups', | 197 'target_name': 'cups', |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 224 ], | 222 ], |
| 225 }, | 223 }, |
| 226 ], | 224 ], |
| 227 } | 225 } |
| 228 | 226 |
| 229 # Local Variables: | 227 # Local Variables: |
| 230 # tab-width:2 | 228 # tab-width:2 |
| 231 # indent-tabs-mode:nil | 229 # indent-tabs-mode:nil |
| 232 # End: | 230 # End: |
| 233 # vim: set expandtab tabstop=2 shiftwidth=2: | 231 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |