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

Unified Diff: net/net_perftests.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_lib.scons ('k') | net/net_unittests.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net_perftests.scons
===================================================================
--- net/net_perftests.scons (revision 7247)
+++ net/net_perftests.scons (working copy)
@@ -19,18 +19,18 @@
'$NET_DIR/using_net.scons',
])
-if env['PLATFORM'] in ('posix', 'darwin'):
+if env.Bit('posix'):
env.SConscript([
'$LIBEVENT_DIR/using_libevent.scons',
], {'env':env})
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
env.Prepend(
CCFLAGS = [
'/WX',
],
)
-elif env['PLATFORM'] == 'posix':
+elif env.Bit('linux'):
env.Append(
# TODO(port): disk_cache_perftest breaks strict aliasing rules.
CCFLAGS = ['-fno-strict-aliasing'],
@@ -46,6 +46,5 @@
'$OBJ_ROOT/base/perftimer$OBJSUFFIX',
]
-if env['PLATFORM'] in ('posix', 'win32'):
-
+if not env.Bit('mac'):
env.ChromeTestProgram('net_perftests', input_files)
« no previous file with comments | « net/net_lib.scons ('k') | net/net_unittests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698