Index: build/SConscript.v8 |
=================================================================== |
--- build/SConscript.v8 (revision 7247) |
+++ build/SConscript.v8 (working copy) |
@@ -56,7 +56,7 @@ |
'$V8_MODE_DIR/snapshot${OBJSUFFIX}', |
] |
-if env['PLATFORM'] == 'win32': |
+if env.Bit('windows'): |
v8_scons_targets_off.extend([ |
env.File('$V8_DIR/vc80.pdb') |
]) |
@@ -79,7 +79,7 @@ |
env.Install('$V8_DIR', '$V8_MODE_DIR/snapshot-empty${OBJSUFFIX}') |
# To satisfy tests expecting the following .exe name. |
-if env['PLATFORM'] == 'win32': |
+if env.Bit('windows'): |
# TODO(evanm): this may be necessary on other platforms(?) |
i = env.InstallAs('$TARGET_ROOT/v8_shell_sample${PROGSUFFIX}', v8[0]) |