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

Unified Diff: breakpad/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 | « base/gfx/base_gfx.scons ('k') | build/SConscript.v8 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: breakpad/SConscript
===================================================================
--- breakpad/SConscript (revision 7247)
+++ breakpad/SConscript (working copy)
@@ -13,7 +13,7 @@
],
)
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
env.Append(
CCFLAGS = [
'/TP',
@@ -29,7 +29,7 @@
env.ChromeStaticLibrary('breakpad_sender', sender_input_files)
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
handler_input_files = [
'src/client/windows/crash_generation/client_info.cc',
'src/client/windows/crash_generation/minidump_generator.cc',
@@ -38,7 +38,7 @@
'src/client/windows/crash_generation/crash_generation_server.cc',
'src/client/windows/crash_generation/crash_generation_client.cc',
]
-elif env['PLATFORM'] == 'posix':
+elif env.Bit('linux'):
handler_input_files = [
'src/common/linux/guid_creator.cc',
'src/client/linux/handler/exception_handler.cc',
« no previous file with comments | « base/gfx/base_gfx.scons ('k') | build/SConscript.v8 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698