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

Side by Side Diff: ui/snapshot/snapshot.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/message_center/message_center.gyp ('k') | ui/ui_unittests.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 'conditions': [ 65 'conditions': [
66 ['use_aura==1', { 66 ['use_aura==1', {
67 'dependencies': [ 67 'dependencies': [
68 '../../base/base.gyp:test_support_base', 68 '../../base/base.gyp:test_support_base',
69 '../aura/aura.gyp:aura_test_support', 69 '../aura/aura.gyp:aura_test_support',
70 '../compositor/compositor.gyp:compositor', 70 '../compositor/compositor.gyp:compositor',
71 '../compositor/compositor.gyp:compositor_test_support', 71 '../compositor/compositor.gyp:compositor_test_support',
72 ], 72 ],
73 }], 73 }],
74 # See http://crbug.com/162998#c4 for why this is needed. 74 # See http://crbug.com/162998#c4 for why this is needed.
75 ['OS=="linux" and linux_use_tcmalloc==1', { 75 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
76 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
76 'dependencies': [ 77 'dependencies': [
77 '../../base/allocator/allocator.gyp:allocator', 78 '../../base/allocator/allocator.gyp:allocator',
78 ], 79 ],
79 }], 80 }],
80 ], 81 ],
81 }, 82 },
82 ], 83 ],
83 'conditions': [ 84 'conditions': [
84 ['OS=="win"', { 85 ['OS=="win"', {
85 'targets': [ 86 'targets': [
86 { 87 {
87 'target_name': 'snapshot_test_support', 88 'target_name': 'snapshot_test_support',
88 'type': 'static_library', 89 'type': 'static_library',
89 'sources': [ 90 'sources': [
90 'test/snapshot_desktop.h', 91 'test/snapshot_desktop.h',
91 'test/snapshot_desktop_win.cc', 92 'test/snapshot_desktop_win.cc',
92 ], 93 ],
93 'dependencies': [ 94 'dependencies': [
94 'snapshot', 95 'snapshot',
95 ], 96 ],
96 'include_dirs': [ 97 'include_dirs': [
97 '../..', 98 '../..',
98 ], 99 ],
99 }, 100 },
100 ], 101 ],
101 }], 102 }],
102 ], 103 ],
103 } 104 }
OLDNEW
« no previous file with comments | « ui/message_center/message_center.gyp ('k') | ui/ui_unittests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698