Index: webkit/glue/SConscript |
=================================================================== |
--- webkit/glue/SConscript (revision 7247) |
+++ webkit/glue/SConscript (working copy) |
@@ -12,7 +12,7 @@ |
] |
) |
-if env['PLATFORM'] == 'win32': |
+if env.Bit('windows'): |
env.Append( |
CCFLAGS = [ |
'/TP', |
@@ -79,7 +79,7 @@ |
'webview_impl.cc', |
] |
-if env['PLATFORM'] == 'posix': |
+if env.Bit('linux'): |
# TODO(port): until we have plugin support for Linux, these files aren't |
# built. |
remove_files = [ |
@@ -92,7 +92,7 @@ |
for file in remove_files: |
input_files.remove(file) |
-if env['PLATFORM'] == 'win32': |
+if env.Bit('windows'): |
# TODO(port): These extra files aren't win32-specific, they've just not been |
# tested on other platforms yet. |
input_files.extend([ |
@@ -106,25 +106,25 @@ |
'webdropdata.cc', |
]) |
-if env['PLATFORM'] == 'win32': |
+if env.Bit('windows'): |
input_files.extend([ |
'plugins/plugin_stream_win.cc', |
'webcursor_win.cc', |
'webinputevent_win.cc', |
'webkit_glue_win.cc', |
]) |
-elif env['PLATFORM'] == 'posix': |
+elif env.Bit('linux'): |
input_files.extend([ |
'webcursor_gtk.cc', |
'webinputevent_linux.cc', |
'webkit_glue_gtk.cc', |
]) |
-elif env['PLATFORM'] == 'darwin': |
+elif env.Bit('mac'): |
input_files.extend([ |
'webcursor_mac.mm', |
]) |
-if env['PLATFORM'] in ('posix', 'darwin'): |
+if env.Bit('posix'): |
input_files.extend([ |
'plugins/plugin_stream_posix.cc', |
]) |