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

Side by Side Diff: ui/compositor/compositor.gyp

Issue 177353002: Add use_allocator instead of linux_use_tcmalloc to switch the allocator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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 | « ui/aura/aura.gyp ('k') | ui/events/events.gyp » ('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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 ], 153 ],
154 'conditions': [ 154 'conditions': [
155 # osmesa GL implementation is used on linux. 155 # osmesa GL implementation is used on linux.
156 ['OS=="linux"', { 156 ['OS=="linux"', {
157 'dependencies': [ 157 'dependencies': [
158 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa', 158 '<(DEPTH)/third_party/mesa/mesa.gyp:osmesa',
159 ], 159 ],
160 }], 160 }],
161 ['os_posix == 1 and OS != "mac"', { 161 ['os_posix == 1 and OS != "mac"', {
162 'conditions': [ 162 'conditions': [
163 ['linux_use_tcmalloc==1', { 163 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
164 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or ( use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', {
164 'dependencies': [ 165 'dependencies': [
165 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 166 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
166 ], 167 ],
167 }], 168 }],
168 ], 169 ],
169 }], 170 }],
170 ], 171 ],
171 }, 172 },
172 ], 173 ],
173 } 174 }
OLDNEW
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698