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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 ], | 155 ], |
156 'conditions': [ | 156 'conditions': [ |
157 # osmesa GL implementation is used on linux. | 157 # osmesa GL implementation is used on linux. |
158 ['OS=="linux"', { | 158 ['OS=="linux"', { |
159 'dependencies': [ | 159 'dependencies': [ |
160 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', | 160 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', |
161 ], | 161 ], |
162 }], | 162 }], |
163 ['os_posix == 1 and OS != "mac"', { | 163 ['os_posix == 1 and OS != "mac"', { |
164 'conditions': [ | 164 'conditions': [ |
165 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 165 ['use_allocator!="none"', { |
166 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (
use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', { | |
167 'dependencies': [ | 166 'dependencies': [ |
168 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 167 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
169 ], | 168 ], |
170 }], | 169 }], |
171 ], | 170 ], |
172 }], | 171 }], |
173 ], | 172 ], |
174 }, | 173 }, |
175 ], | 174 ], |
176 } | 175 } |
OLD | NEW |