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

Side by Side Diff: ui/message_center/message_center.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/keyboard/keyboard.gyp ('k') | ui/snapshot/snapshot.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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 ], 228 ],
229 }], 229 }],
230 ['notifications==0', { # Android and iOS. 230 ['notifications==0', { # Android and iOS.
231 'sources/': [ 231 'sources/': [
232 # Exclude everything except main(). 232 # Exclude everything except main().
233 ['exclude', '\\.(cc|mm)$'], 233 ['exclude', '\\.(cc|mm)$'],
234 ['include', '^test/run_all_unittests\\.cc$'], 234 ['include', '^test/run_all_unittests\\.cc$'],
235 ], 235 ],
236 }], 236 }],
237 # See http://crbug.com/162998#c4 for why this is needed. 237 # See http://crbug.com/162998#c4 for why this is needed.
238 ['OS=="linux" and linux_use_tcmalloc==1', { 238 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
239 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
239 'dependencies': [ 240 'dependencies': [
240 '../../base/allocator/allocator.gyp:allocator', 241 '../../base/allocator/allocator.gyp:allocator',
241 ], 242 ],
242 }], 243 }],
243 ], 244 ],
244 }, # target_name: message_center_unittests 245 }, # target_name: message_center_unittests
245 ], 246 ],
246 } 247 }
OLDNEW
« no previous file with comments | « ui/keyboard/keyboard.gyp ('k') | ui/snapshot/snapshot.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698