summaryrefslogtreecommitdiffstats
path: root/build/internal/essential.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/essential.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/essential.scons')
-rw-r--r--build/internal/essential.scons6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/internal/essential.scons b/build/internal/essential.scons
index 20dfdbb..1b5ddf3 100644
--- a/build/internal/essential.scons
+++ b/build/internal/essential.scons
@@ -12,6 +12,12 @@ env.Append(
CPPPATH = [
'$CHROME_SRC_DIR',
],
+ CCFLAGS = [
+ '$CHROMIUM_CC_OPT_FLAGS',
+ ],
+ LINKFLAGS = [
+ '$CHROMIUM_LINK_OPT_FLAGS',
+ ],
)
if env['PLATFORM'] == 'win32':