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

Side by Side Diff: build/SConscript.v8

Issue 11430: Fix use of LOAD= with WantSystemLib()... (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os 5 import os
6 6
7 Import('env') 7 Import('env')
8 8
9 if not env.Dir('$CHROME_SRC_DIR/v8').exists():
10 Return()
Evan Martin 2008/11/20 21:11:42 four spaces :\
sgk 2008/11/21 01:06:28 Thanks for the catch; done. (Also in other uses.)
11
9 # Grab the -j flag from the outer environment, if available. 12 # Grab the -j flag from the outer environment, if available.
10 try: 13 try:
11 cpus = env.GetOption('num_jobs') 14 cpus = env.GetOption('num_jobs')
12 cpu_flag = ' -j%d' % cpus 15 cpu_flag = ' -j%d' % cpus
13 except AttributeError: 16 except AttributeError:
14 cpu_flag = '' 17 cpu_flag = ''
15 18
16 # The v8 build script wants a 'debug'/'release' string to tell it whether 19 # The v8 build script wants a 'debug'/'release' string to tell it whether
17 # to build optimized. Convert our build flags into that form. 20 # to build optimized. Convert our build flags into that form.
18 mode = 'release' 21 mode = 'release'
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 env.Install('$V8_DIR', '$V8_MODE_DIR/snapshot-empty${OBJSUFFIX}') 86 env.Install('$V8_DIR', '$V8_MODE_DIR/snapshot-empty${OBJSUFFIX}')
84 87
85 # To satisfy tests expecting the following .exe name. 88 # To satisfy tests expecting the following .exe name.
86 if env['PLATFORM'] == 'win32': 89 if env['PLATFORM'] == 'win32':
87 # TODO(evanm): this may be necessary on other platforms(?) 90 # TODO(evanm): this may be necessary on other platforms(?)
88 i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8[0]) 91 i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8[0])
89 92
90 env.ChromeStaticLibrary('v8_snapshot', 93 env.ChromeStaticLibrary('v8_snapshot',
91 ['$V8_MODE_DIR/libraries-empty${OBJSUFFIX}', 94 ['$V8_MODE_DIR/libraries-empty${OBJSUFFIX}',
92 '$V8_MODE_DIR/snapshot${OBJSUFFIX}']) 95 '$V8_MODE_DIR/snapshot${OBJSUFFIX}'])
OLDNEW
« no previous file with comments | « build/SConscript.main ('k') | chrome/chrome.scons » ('j') | chrome/chrome.scons » ('J')

Powered by Google App Engine
This is Rietveld 408576698