summaryrefslogtreecommitdiffstats
path: root/build/internal/release_impl_official.scons
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-22 01:10:01 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-22 01:10:01 +0000
commit15bba9a233a7b2b4a7a371e96436c2fdd17ed3dc (patch)
tree87c003413ac1d07983640c4e0af0ef2b8717066b /build/internal/release_impl_official.scons
parentcc1599105a6b17737b6e49618ee428b8e6a63496 (diff)
downloadchromium_src-15bba9a233a7b2b4a7a371e96436c2fdd17ed3dc.zip
chromium_src-15bba9a233a7b2b4a7a371e96436c2fdd17ed3dc.tar.gz
chromium_src-15bba9a233a7b2b4a7a371e96436c2fdd17ed3dc.tar.bz2
Purify support:
* Add third_party/purify/pure_api.c to the base\base_lib.scons sources. * Support specification of CHROME_BUILD_TYPE (and CHROMIUM_BUILD while we're here) either on the command line or as an external environment variable. * Fix syntax error in release_impl_purify.scons (previously unused). * Add a central $CHROMIUM_CC_OPT_FLAGS variable (included in $CCFLAGS) that can be used to set explicitly the optimization level without having to worry about optimization flags being pulled in from other settings files. Review URL: http://codereview.chromium.org/11368 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/internal/release_impl_official.scons')
-rw-r--r--build/internal/release_impl_official.scons6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/internal/release_impl_official.scons b/build/internal/release_impl_official.scons
index 982f0636..cb6921f 100644
--- a/build/internal/release_impl_official.scons
+++ b/build/internal/release_impl_official.scons
@@ -11,12 +11,16 @@ Import("env")
env.ApplySConscript(['release_defaults.scons'])
if env.Bit('windows'):
+ env.Replace(
+ CHROMIUM_CC_OPT_FLAGS = [
+ '/Ox', # VCCLCompilerTool.Optimization="3"
+ ],
+ ),
env.Append(
ARFLAGS = [
'/ltcg',
],
CCFLAGS = [
- '/Ox', # VCCLCompilerTool.Optimization="3"
'/Ob2', # VCCLCompilerTool.InlineFunctionExpansion="2"
'/Oi', # VCCLCompilerTool.EnableIntrinsicFunctions="true"
'/Os', # VCCLCompilerTool.FavorSizeOrSpeed="2"