summaryrefslogtreecommitdiffstats
path: root/base/allocator
diff options
context:
space:
mode:
authorsiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-21 20:51:26 +0000
committersiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-21 20:51:26 +0000
commitae4cc2313c25cfc5f0cc61442b17d0cebe9fd456 (patch)
tree467db01d10aa7768cec89d41613aaf9182045217 /base/allocator
parent74ba63a71078f2fb8cf7e31e8a8adc4c2bdc2479 (diff)
downloadchromium_src-ae4cc2313c25cfc5f0cc61442b17d0cebe9fd456.zip
chromium_src-ae4cc2313c25cfc5f0cc61442b17d0cebe9fd456.tar.gz
chromium_src-ae4cc2313c25cfc5f0cc61442b17d0cebe9fd456.tar.bz2
Turn on WPO for the allocator library in official builds.
R=chrisha@chromium.org BUG=108167 TEST=None Review URL: http://codereview.chromium.org/9016017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/allocator')
-rw-r--r--base/allocator/allocator.gyp7
1 files changed, 6 insertions, 1 deletions
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp
index 790db66..d10fd49 100644
--- a/base/allocator/allocator.gyp
+++ b/base/allocator/allocator.gyp
@@ -1,4 +1,4 @@
-# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -11,6 +11,11 @@
{
'target_name': 'allocator',
'type': 'static_library',
+ # Make sure the allocation library is optimized to
+ # the hilt in official builds.
+ 'variables': {
+ 'optimize': 'max',
+ },
'include_dirs': [
'.',
'<(tcmalloc_dir)/src/base',