diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 16:35:50 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 16:35:50 +0000 |
commit | 7e11e96268c6fc2d94c742196fb386b9b47bbea1 (patch) | |
tree | bab0eb7221843909b5ec9345af3a120ca9b91185 /build/SConscript.main | |
parent | 8c1766b9de2d3904aaad7d7631a6d3f59a90b8b0 (diff) | |
download | chromium_src-7e11e96268c6fc2d94c742196fb386b9b47bbea1.zip chromium_src-7e11e96268c6fc2d94c742196fb386b9b47bbea1.tar.gz chromium_src-7e11e96268c6fc2d94c742196fb386b9b47bbea1.tar.bz2 |
Add a official build target for Linux, builds with OFFICIAL_BUILD.
Review URL: http://codereview.chromium.org/18748
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/SConscript.main')
-rw-r--r-- | build/SConscript.main | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/SConscript.main b/build/SConscript.main index fa4483a..35ee04e 100644 --- a/build/SConscript.main +++ b/build/SConscript.main @@ -504,6 +504,11 @@ linux_env.Append( ICU_LIBS = ['icu'], ) + +# Build an "official" build (DCHECKs completely compiled out, etc). +if ARGUMENTS.get('OFFICIAL') == '1': + linux_env.Append(CPPDEFINES=['OFFICIAL_BUILD']) + # Build with support for gcov when COVERAGE=1. if ARGUMENTS.get('COVERAGE') == '1': linux_env.Append(CCFLAGS=['-fprofile-arcs', '-ftest-coverage']) |