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

Unified Diff: net/stress_cache.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 | « net/net_unittests.scons ('k') | net/tools/tld_cleanup/tld_cleanup.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/stress_cache.scons
===================================================================
--- net/stress_cache.scons (revision 7247)
+++ net/stress_cache.scons (working copy)
@@ -17,7 +17,7 @@
'$NET_DIR/using_net.scons',
])
-if env['PLATFORM'] in ('darwin', 'posix'):
+if env.Bit('posix'):
env.ApplySConscript(['$THIRD_PARTY_DIR/libevent/using_libevent.scons'])
env.Prepend(
@@ -26,7 +26,7 @@
],
)
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
env.Prepend(
CCFLAGS = [
'/WX',
@@ -38,5 +38,5 @@
'disk_cache/stress_cache.cc',
]
-if env['PLATFORM'] in ('posix', 'win32'):
+if not env.Bit('mac'):
env.ChromeTestProgram('stress_cache', input_files)
« no previous file with comments | « net/net_unittests.scons ('k') | net/tools/tld_cleanup/tld_cleanup.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698