Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: build/SConscript.main

Issue 18748: Add a official build target for Linux, builds with OFFICIAL_BUILD. (Closed)
Patch Set: Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/SConscript.main
diff --git a/build/SConscript.main b/build/SConscript.main
index fa4483ae95ac3b99f853604056c410887b12c790..35ee04efc8852691fee704130ea0b3a50263c6d9 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'])
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698