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

Unified Diff: chrome/common/ipc_tests.scons

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 | « chrome/common/common.scons ('k') | chrome/installer/mini_installer/installer_unittests.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/ipc_tests.scons
===================================================================
--- chrome/common/ipc_tests.scons (revision 7247)
+++ chrome/common/ipc_tests.scons (working copy)
@@ -20,7 +20,7 @@
'$ZLIB_DIR/using_zlib.scons',
], {'env':env})
-if env['PLATFORM'] in ('posix', 'darwin'):
+if env.Bit('posix'):
env.SConscript([
'$LIBEVENT_DIR/using_libevent.scons',
], {'env':env})
@@ -43,14 +43,14 @@
]
)
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
env.Prepend(
CPPPATH = [
'$CHROME_DIR/tools/build/win',
],
)
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
env.Append(
LINKFLAGS = [
'/INCREMENTAL',
« no previous file with comments | « chrome/common/common.scons ('k') | chrome/installer/mini_installer/installer_unittests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698