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

Unified Diff: build/SConscript.main

Issue 11368: Purify support:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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
Index: build/SConscript.main
===================================================================
--- build/SConscript.main (revision 5880)
+++ build/SConscript.main (working copy)
@@ -19,6 +19,15 @@
SetOption('warn', default_warnings + GetOption('warn'))
+chrome_build_type = ARGUMENTS.get('CHROME_BUILD_TYPE')
+if chrome_build_type is None:
+ chrome_build_type = os.environ.get('CHROME_BUILD_TYPE', ''),
+
+chromium_build = ARGUMENTS.get('CHROMIUM_BUILD')
+if chromium_build is None:
+ chromium_build = os.environ.get('CHROMIUM_BUILD', ''),
+
+
root_env = Environment(
tools = ['component_setup',
'chromium_builders',
@@ -30,8 +39,8 @@
# All supported system libraries, for the help message
all_system_libs = [],
- CHROME_BUILD_TYPE = os.environ.get('CHROME_BUILD_TYPE', ''),
- CHROMIUM_BUILD = os.environ.get('CHROMIUM_BUILD', ''),
+ CHROME_BUILD_TYPE = chrome_build_type,
+ CHROMIUM_BUILD = chromium_build,
CHROME_SRC_DIR = '$MAIN_DIR/..',
DESTINATION_ROOT = '$MAIN_DIR/Hammer',

Powered by Google App Engine
This is Rietveld 408576698