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

Unified Diff: build/build_config.h

Issue 14321006: Adds TCMalloc support for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Just my patch Created 7 years, 8 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
Index: build/build_config.h
diff --git a/build/build_config.h b/build/build_config.h
index 3ee3de5fada1ce1a25158cc123f930a686511c86..34551f9a87c50b7a345573bcc2179e5063ba160e 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -74,7 +74,8 @@
#endif
// Use tcmalloc
-#if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(NO_TCMALLOC)
+#if (defined(OS_WIN) || defined(OS_LINUX) || defined(OS_ANDROID)) && \
+ !defined(NO_TCMALLOC)
#define USE_TCMALLOC 1
#endif

Powered by Google App Engine
This is Rietveld 408576698