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

Unified Diff: base/allocator/allocator.gyp

Issue 287333002: tcmalloc: Only include cpu profiler in profiling=1 builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: different Created 6 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/allocator/allocator.gyp
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp
index 632e072c089c6eacf1a27585b6894e0baa4be32e..2de3aca450f939efc78037a4a28f5b000c2829e7 100644
--- a/base/allocator/allocator.gyp
+++ b/base/allocator/allocator.gyp
@@ -367,7 +367,10 @@
# included by allocator_shim.cc
'debugallocation_shim.cc',
-
+ ],
+ }],
+ ['OS=="win" or profiling!=1', {
+ 'sources!': [
# cpuprofiler
'<(tcmalloc_dir)/src/base/thread_lister.c',
'<(tcmalloc_dir)/src/base/thread_lister.h',
« 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