| OLD | NEW |
| 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(): | 9 if not env.Dir('$CHROME_SRC_DIR/v8').exists(): |
| 10 Return() | 10 Return() |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 % len(v8_scons_targets_on)]) | 72 % len(v8_scons_targets_on)]) |
| 73 env.AlwaysBuild(v8) | 73 env.AlwaysBuild(v8) |
| 74 | 74 |
| 75 # Tell our SCons invocation to *not* delete v8.lib and the other targets | 75 # Tell our SCons invocation to *not* delete v8.lib and the other targets |
| 76 # before building them, so the subsidiary v8 SCons call doesn't always | 76 # before building them, so the subsidiary v8 SCons call doesn't always |
| 77 # rebuild them (thereby causing us to always rebuild their dependents). | 77 # rebuild them (thereby causing us to always rebuild their dependents). |
| 78 env.Precious(v8) | 78 env.Precious(v8) |
| 79 | 79 |
| 80 | 80 |
| 81 env.Install('$TARGET_ROOT', v8[0]) | 81 env.Install('$TARGET_ROOT', v8[0]) |
| 82 env.Install('$LIBS_DIR', v8[1]) | 82 env.Install('$LIB_DIR', v8[1]) |
| 83 env.Install('$V8_DIR', '$V8_MODE_DIR/snapshot-empty${OBJSUFFIX}') | 83 env.Install('$V8_DIR', '$V8_MODE_DIR/snapshot-empty${OBJSUFFIX}') |
| 84 | 84 |
| 85 # To satisfy tests expecting the following .exe name. | 85 # To satisfy tests expecting the following .exe name. |
| 86 if env.Bit('windows'): | 86 if env.Bit('windows'): |
| 87 # TODO(evanm): this may be necessary on other platforms(?) | 87 # TODO(evanm): this may be necessary on other platforms(?) |
| 88 i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8[0]) | 88 i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8[0]) |
| 89 | 89 |
| 90 env.ChromeLibrary('v8_snapshot', | 90 env.ChromeLibrary('v8_snapshot', |
| 91 ['$V8_MODE_DIR/libraries-empty${OBJSUFFIX}', | 91 ['$V8_MODE_DIR/libraries-empty${OBJSUFFIX}', |
| 92 '$V8_MODE_DIR/snapshot${OBJSUFFIX}']) | 92 '$V8_MODE_DIR/snapshot${OBJSUFFIX}']) |
| (...skipping 18 matching lines...) Expand all Loading... |
| 111 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', | 111 '$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', |
| 112 ], | 112 ], |
| 113 guid='{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}') | 113 guid='{2DE20FFA-6F5E-48D9-84D8-09B044A5B119}') |
| 114 | 114 |
| 115 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', | 115 env.ChromeMSVSProject('$V8_DIR/tools/visual_studio/v8_snapshot.vcproj', |
| 116 dependencies = [ | 116 dependencies = [ |
| 117 '$V8_DIR/tools/visual_studio/v8_mksnapshot.vcproj', | 117 '$V8_DIR/tools/visual_studio/v8_mksnapshot.vcproj', |
| 118 '$V8_DIR/tools/visual_studio/v8_base.vcproj', | 118 '$V8_DIR/tools/visual_studio/v8_base.vcproj', |
| 119 ], | 119 ], |
| 120 guid='{C0334F9A-1168-4101-9DD8-C30FB252D435}') | 120 guid='{C0334F9A-1168-4101-9DD8-C30FB252D435}') |
| OLD | NEW |