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

Unified Diff: tools/gn/secondary/ipc/BUILD.gn

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: rebased Created 6 years, 10 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 | « tools/cygprofile/cygprofile.cc ('k') | ui/app_list/app_list.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/ipc/BUILD.gn
diff --git a/tools/gn/secondary/ipc/BUILD.gn b/tools/gn/secondary/ipc/BUILD.gn
index 022bbf21dc223d30fcf8eace6d4bb31d5ef7dc1f..ae3897a8a96235f60b9705adacaa90da5c0ace4b 100644
--- a/tools/gn/secondary/ipc/BUILD.gn
+++ b/tools/gn/secondary/ipc/BUILD.gn
@@ -105,7 +105,8 @@ test("ipc_tests") {
# deps += "/testing/android/native_test.gyp:native_testNative_code"
#}
#if (is_posix && !is_mac && !is_android) {
- # if (linux_use_tcmalloc) {
+ # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
+ # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_allocator=="see_use_tcmalloc" && linux_use_tcmalloc)) {
# deps += "/base/allocator"
# }
#}
@@ -133,7 +134,8 @@ test("ipc_perftests") {
# deps += "/testing/android/native_test.gyp:native_testNative_code"
#}
#if (is_posix && !is_mac && !is_android) {
- # if (linux_use_tcmalloc) {
+ # # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
+ # if ((use_allocator!="none" && use_allocator!="see_use_tcmalloc") || (use_allocator=="see_use_tcmalloc" && linux_use_tcmalloc)) {
# deps += "//base/allocator"
# }
#}
« no previous file with comments | « tools/cygprofile/cygprofile.cc ('k') | ui/app_list/app_list.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698