diff options
author | bradnelson@chromium.org <bradnelson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-20 23:29:20 +0000 |
---|---|---|
committer | bradnelson@chromium.org <bradnelson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-20 23:29:20 +0000 |
commit | 1bdfd82cea4f30a5751a19c8283b05f34612a818 (patch) | |
tree | d41f92852dc4b90c2bf4b469252e535761e27152 /build/SConscript.v8 | |
parent | 126a6c706d0db79f5af75b1f019b831cf9680e70 (diff) | |
download | chromium_src-1bdfd82cea4f30a5751a19c8283b05f34612a818.zip chromium_src-1bdfd82cea4f30a5751a19c8283b05f34612a818.tar.gz chromium_src-1bdfd82cea4f30a5751a19c8283b05f34612a818.tar.bz2 |
Rolling back switch to hammer patterns again.
Review URL: http://codereview.chromium.org/7530
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/SConscript.v8')
-rw-r--r-- | build/SConscript.v8 | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/build/SConscript.v8 b/build/SConscript.v8 index 7820f16..8eeef09 100644 --- a/build/SConscript.v8 +++ b/build/SConscript.v8 @@ -2,9 +2,6 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. - -import os - Import('env') # Grab the -j flag from the outer environment, if available. @@ -25,16 +22,13 @@ env = env.Clone( '--warn=no-no-parallel-support' + cpu_flag), ) -if env['PLATFORM'] == 'win32': - env['ENV']['ProgramFiles'] = os.environ['ProgramFiles'] - # Rather than build v8 with our own commands, we just shell out to v8's # own SCons-based build, since their build system is complicated. # This SConscript just declares dependencies on the outputs of that build. mksnapshot_exe = env.File('$V8_MODE_DIR/mksnapshot${PROGSUFFIX}') -libraries_empty_obj = env.File('$V8_MODE_DIR/libraries-empty${OBJSUFFIX}') libraries_obj = env.File('$V8_MODE_DIR/libraries${OBJSUFFIX}') +libraries_empty_obj = env.File('$V8_MODE_DIR/libraries-empty${OBJSUFFIX}') snapshot_obj = env.File('$V8_MODE_DIR/snapshot${OBJSUFFIX}') snapshot_empty_obj = env.File('$V8_MODE_DIR/snapshot-empty${OBJSUFFIX}') v8_bin = env.File('$V8_SRC_DIR/shell${PROGSUFFIX}') @@ -70,13 +64,20 @@ env.AlwaysBuild(v8) # rebuild them (thereby causing us to always rebuild their dependents). env.Precious(v8) +env.Install('$V8_DIR', v8) + + +i = env.Install('$LIBS_DIR', v8_lib) +env.Alias('webkit', i) + +i = env.Install('$TARGET_ROOT', v8_bin) +env.Alias('chrome', i) -# TODO(bradnelson): remove if we confirm we no longer need this. # To satisfy tests expecting the following .exe name. -#if env['PLATFORM'] == 'win32': -# # TODO(evanm): this may be necessary on other platforms(?) -# i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8_bin) -# env.Alias('chrome', i) +if env['PLATFORM'] == 'win32': + # TODO(evanm): this may be necessary on other platforms(?) + i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8_bin) + env.Alias('chrome', i) env.ChromeStaticLibrary('v8_snapshot', [libraries_empty_obj, snapshot_obj]) |