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

Unified Diff: webkit/build/JavaScriptCore/SConscript

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/SConscript.port ('k') | webkit/build/V8Bindings/SConscript » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « webkit/SConscript.port ('k') | webkit/build/V8Bindings/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698