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

Unified Diff: base/base.gyp

Issue 15674003: Modify base_unittests.exe to use tcmalloc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index 290961eb44a0531a5b5f4fad705eb7fbb3c6ade7..1e0222e0efab589631d6df267a1861357fa32819 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -743,9 +743,9 @@
'message_pump_glib_unittest.cc',
]
}],
- # This is needed to trigger the dll copy step on windows.
- # TODO(mark): This should not be necessary.
['OS == "win"', {
+ # This is needed to trigger the dll copy step on windows.
+ # TODO(mark): This should not be necessary.
'dependencies': [
'../third_party/icu/icu.gyp:icudata',
],
@@ -759,6 +759,18 @@
'msvs_disabled_warnings': [
4267,
],
+ # This is needed so base_unittests uses the allocator shim, as
+ # SecurityTest.MemoryAllocationRestriction* tests are dependent
+ # on tcmalloc.
+ # TODO(wfh): crbug.com/246278 Move tcmalloc specific tests into
+ # their own test suite.
+ 'conditions': [
+ ['win_use_allocator_shim==1', {
+ 'dependencies': [
+ 'allocator/allocator.gyp:allocator',
+ ],
+ }],
+ ],
}, { # OS != "win"
'dependencies': [
'../third_party/libevent/libevent.gyp:libevent'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698