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

Unified Diff: build/SConscript.v8

Issue 13010: Remove the cpu-count forwarding passing code from the v8 SConscript. (Closed)
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
« 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.v8
diff --git a/build/SConscript.v8 b/build/SConscript.v8
index 67f17c4dff11df6bf62ba4c157c40f28434002e1..c22fb57811ae437fb74c16b2751c3f9cf5b3e352 100644
--- a/build/SConscript.v8
+++ b/build/SConscript.v8
@@ -9,13 +9,6 @@ Import('env')
if not env.Dir('$CHROME_SRC_DIR/v8').exists():
Return()
-# Grab the -j flag from the outer environment, if available.
-try:
- cpus = env.GetOption('num_jobs')
- cpu_flag = ' -j%d' % cpus
-except AttributeError:
- cpu_flag = ''
-
# The v8 build script wants a 'debug'/'release' string to tell it whether
# to build optimized. Convert our build flags into that form.
mode = 'release'
@@ -26,12 +19,12 @@ env = env.Clone(
V8_MODE = mode,
V8_MODE_DIR = '$V8_DIR/obj/$V8_MODE',
V8_SCONS_COM = '$PYTHON $SCONS $SCONSFLAGS mode=$V8_MODE',
- SCONS='$CHROME_SRC_DIR/third_party/scons/scons.py',
+ SCONS = '$CHROME_SRC_DIR/third_party/scons/scons.py',
SCONSFLAGS = ('-Q '
'-C $OBJ_ROOT/v8 '
'-Y $CHROME_SRC_DIR/v8 '
'--warn=no-deprecated '
- '--warn=no-no-parallel-support' + cpu_flag),
+ '--warn=no-no-parallel-support'),
)
# Rather than build v8 with our own commands, we just shell out to v8's
« 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