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

Side by Side Diff: ui/app_list/app_list.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 | « tools/gn/secondary/ipc/BUILD.gn ('k') | ui/aura/aura.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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 'sources/': [ 254 'sources/': [
255 ['exclude', 'cocoa/'], 255 ['exclude', 'cocoa/'],
256 ], 256 ],
257 }], 257 }],
258 ['desktop_linux == 1 or chromeos == 1 or OS == "ios"', { 258 ['desktop_linux == 1 or chromeos == 1 or OS == "ios"', {
259 'dependencies': [ 259 'dependencies': [
260 '../base/strings/ui_strings.gyp:ui_unittest_strings', 260 '../base/strings/ui_strings.gyp:ui_unittest_strings',
261 ], 261 ],
262 }], 262 }],
263 # See http://crbug.com/162998#c4 for why this is needed. 263 # See http://crbug.com/162998#c4 for why this is needed.
264 ['OS=="linux" and linux_use_tcmalloc==1', { 264 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
265 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
265 'dependencies': [ 266 'dependencies': [
266 '../../base/allocator/allocator.gyp:allocator', 267 '../../base/allocator/allocator.gyp:allocator',
267 # The following two dependencies provide the missing 268 # The following two dependencies provide the missing
268 # symbol HeapProfilerStart in Linux component builds. 269 # symbol HeapProfilerStart in Linux component builds.
269 # They probably can be removed after http://crbug.com/263316 270 # They probably can be removed after http://crbug.com/263316
270 '../../webkit/child/webkit_child.gyp:webkit_child', 271 '../../webkit/child/webkit_child.gyp:webkit_child',
271 ], 272 ],
272 }], 273 }],
273 ['OS=="win" and win_use_allocator_shim==1', { 274 ['OS=="win" and win_use_allocator_shim==1', {
274 'dependencies': [ 275 'dependencies': [
275 '../../base/allocator/allocator.gyp:allocator', 276 '../../base/allocator/allocator.gyp:allocator',
276 ], 277 ],
277 }], 278 }],
278 ], 279 ],
279 # Disable c4267 warnings until we fix size_t to int truncations. 280 # Disable c4267 warnings until we fix size_t to int truncations.
280 'msvs_disabled_warnings': [ 4267, ], 281 'msvs_disabled_warnings': [ 4267, ],
281 }, 282 },
282 ], 283 ],
283 } 284 }
OLDNEW
« no previous file with comments | « tools/gn/secondary/ipc/BUILD.gn ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698