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

Side by Side Diff: base/base.gyp

Issue 15979023: Redo r203907 base_unittests.exe to use allocator shims (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
« no previous file with comments | « base/allocator/prep_libc.py ('k') | no next file » | 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 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 }, { # use_glib!=1 747 }, { # use_glib!=1
748 'sources!': [ 748 'sources!': [
749 'message_pump_glib_unittest.cc', 749 'message_pump_glib_unittest.cc',
750 ] 750 ]
751 }], 751 }],
752 ['use_ozone == 1', { 752 ['use_ozone == 1', {
753 'sources!': [ 753 'sources!': [
754 'message_pump_glib_unittest.cc', 754 'message_pump_glib_unittest.cc',
755 ] 755 ]
756 }], 756 }],
757 # This is needed to trigger the dll copy step on windows.
758 # TODO(mark): This should not be necessary.
759 ['OS == "win"', { 757 ['OS == "win"', {
758 # This is needed to trigger the dll copy step on windows.
759 # TODO(mark): This should not be necessary.
760 'dependencies': [ 760 'dependencies': [
761 '../third_party/icu/icu.gyp:icudata', 761 '../third_party/icu/icu.gyp:icudata',
762 ], 762 ],
763 'sources!': [ 763 'sources!': [
764 'file_descriptor_shuffle_unittest.cc', 764 'file_descriptor_shuffle_unittest.cc',
765 'files/dir_reader_posix_unittest.cc', 765 'files/dir_reader_posix_unittest.cc',
766 'threading/worker_pool_posix_unittest.cc', 766 'threading/worker_pool_posix_unittest.cc',
767 'message_pump_libevent_unittest.cc', 767 'message_pump_libevent_unittest.cc',
768 ], 768 ],
769 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 769 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
770 'msvs_disabled_warnings': [ 770 'msvs_disabled_warnings': [
771 4267, 771 4267,
772 ], 772 ],
773 # This is needed so base_unittests uses the allocator shim, as
774 # SecurityTest.MemoryAllocationRestriction* tests are dependent
775 # on tcmalloc.
776 # TODO(wfh): crbug.com/246278 Move tcmalloc specific tests into
777 # their own test suite.
778 'conditions': [
779 ['win_use_allocator_shim==1', {
780 'dependencies': [
781 'allocator/allocator.gyp:allocator',
782 ],
783 }],
784 ],
773 }, { # OS != "win" 785 }, { # OS != "win"
774 'dependencies': [ 786 'dependencies': [
775 '../third_party/libevent/libevent.gyp:libevent' 787 '../third_party/libevent/libevent.gyp:libevent'
776 ], 788 ],
777 'sources/': [ 789 'sources/': [
778 ['exclude', '^win/'], 790 ['exclude', '^win/'],
779 ], 791 ],
780 'sources!': [ 792 'sources!': [
781 'debug/trace_event_win_unittest.cc', 793 'debug/trace_event_win_unittest.cc',
782 'time_win_unittest.cc', 794 'time_win_unittest.cc',
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 'base_unittests.isolate', 1273 'base_unittests.isolate',
1262 ], 1274 ],
1263 'sources': [ 1275 'sources': [
1264 'base_unittests.isolate', 1276 'base_unittests.isolate',
1265 ], 1277 ],
1266 }, 1278 },
1267 ], 1279 ],
1268 }], 1280 }],
1269 ], 1281 ],
1270 } 1282 }
OLDNEW
« no previous file with comments | « base/allocator/prep_libc.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698