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

Side by Side Diff: ui/views/views.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: ready with use_allocator 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
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 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 }, 7 },
8 'target_defaults': { 8 'target_defaults': {
9 'conditions': [ 9 'conditions': [
10 ['use_aura==1', { 10 ['use_aura==1', {
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 '$(ProjectDir)\\test\\views_unittest.manifest', 839 '$(ProjectDir)\\test\\views_unittest.manifest',
840 ], 840 ],
841 }, 841 },
842 }, 842 },
843 }], 843 }],
844 ['OS=="win" and win_use_allocator_shim==1', { 844 ['OS=="win" and win_use_allocator_shim==1', {
845 'dependencies': [ 845 'dependencies': [
846 '../../base/allocator/allocator.gyp:allocator', 846 '../../base/allocator/allocator.gyp:allocator',
847 ], 847 ],
848 }], 848 }],
849 ['OS=="linux" and linux_use_tcmalloc==1', { 849 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
850 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
850 # See http://crbug.com/162998#c4 for why this is needed. 851 # See http://crbug.com/162998#c4 for why this is needed.
851 'dependencies': [ 852 'dependencies': [
852 '../../base/allocator/allocator.gyp:allocator', 853 '../../base/allocator/allocator.gyp:allocator',
853 ], 854 ],
854 }], 855 }],
855 [ 'use_aura==1', { 856 [ 'use_aura==1', {
856 'dependencies': [ 857 'dependencies': [
857 '../aura/aura.gyp:aura_test_support', 858 '../aura/aura.gyp:aura_test_support',
858 ], 859 ],
859 'sources!': [ 860 'sources!': [
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 'sources/': [ 1094 'sources/': [
1094 # This is needed because the aura rule strips it from the default 1095 # This is needed because the aura rule strips it from the default
1095 # sources list. 1096 # sources list.
1096 ['include', '^../../content/app/startup_helper_win.cc'], 1097 ['include', '^../../content/app/startup_helper_win.cc'],
1097 ], 1098 ],
1098 }], 1099 }],
1099 ], 1100 ],
1100 }, # target_name: views_examples_with_content_exe 1101 }, # target_name: views_examples_with_content_exe
1101 ], 1102 ],
1102 } 1103 }
OLDNEW
« ash/ash.gyp ('K') | « ui/ui_unittests.gyp ('k') | url/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698