Index: webkit/build/JavaScriptCore/SConscript |
=================================================================== |
--- webkit/build/JavaScriptCore/SConscript (revision 7247) |
+++ webkit/build/JavaScriptCore/SConscript (working copy) |
@@ -120,7 +120,7 @@ |
], |
) |
-if env['PLATFORM'] == 'win32': |
+if env.Bit('windows'): |
env.Append( |
CPPPATH = [ |
# Windows workarounds to not having pthread.h and sched.h |
@@ -157,11 +157,11 @@ |
'$WTF_DIR/unicode/icu/CollatorICU.cpp', |
] |
-if env['PLATFORM'] == 'win32': |
+if env.Bit('windows'): |
wtf_inputs.extend([ |
'$WTF_DIR/ThreadingWin.cpp', |
]) |
-elif env['PLATFORM'] == 'posix': |
+elif env.Bit('linux'): |
wtf_inputs.extend([ |
'$WTF_DIR/gtk/MainThreadGtk.cpp', |
'$WTF_DIR/ThreadingPthreads.cpp', |