From 3a7aa84e14d396a9d13344f4f0849a4816eb15f8 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Wed, 16 Jun 2010 18:39:53 +0000 Subject: [PATCH] Revert 49982 - patch TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/2825006 git-svn-id: http://src.chromium.org/svn/trunk/src/build@50002 4ff67af0-8c30-449e-8e8b-ad334ec8d88c --- common.gypi | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/common.gypi b/common.gypi index 5f7740a60..e2da12bf9 100644 --- a/common.gypi +++ b/common.gypi @@ -229,14 +229,11 @@ # Set this to true to enable SELinux support. 'selinux%': 0, - # Set this to true when building with Clang. - 'clang%': 1, - # Strip the binary after dumping symbols. 'linux_strip_binary%': 0, - # Disable TCMalloc. It uses variable length arrays which aren't in C++. - 'linux_use_tcmalloc%': 0, + # Enable TCMalloc. + 'linux_use_tcmalloc%': 1, # Disable TCMalloc's debugallocation. 'linux_use_debugallocation%': 0, @@ -813,11 +810,6 @@ '-Wno-unused-parameter', # Don't warn about the "struct foo f = {0};" initialization pattern. '-Wno-missing-field-initializers', - # Don't warn about unused variables, due to a common pattern: - # scoped_deleter_of_some_sort unused_variable(&thing_to_delete); - '-Wno-unused-variable', - # gtest confuses clang. - '-Wno-bool-conversions', '-D_FILE_OFFSET_BITS=64', # Don't export any symbols (for example, to plugins we dlopen()). # Note: this is *required* to make some plugins work.