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

Unified Diff: chrome/test/perf/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 | « chrome/test/page_cycler/page_cycler_tests.scons ('k') | chrome/test/plugin/plugin_tests.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/perftests.scons
===================================================================
--- chrome/test/perf/perftests.scons (revision 7247)
+++ chrome/test/perf/perftests.scons (working copy)
@@ -30,7 +30,7 @@
],
)
-if env['PLATFORM'] in ('posix', 'darwin'):
+if env.Bit('posix'):
env.SConscript([
'$LIBEVENT_DIR/using_libevent.scons',
], {'env':env})
@@ -45,7 +45,7 @@
'$CHROME_DIR/common/json_value_serializer_perftest.cc',
]
-if env['PLATFORM'] == 'win32':
+if env.Bit('windows'):
env.Prepend(
LIBS = [
'rpcrt4',
@@ -54,7 +54,7 @@
]
)
-if env['PLATFORM'] != 'win32':
+if env.Bit('linux'):
# TODO(port): Port these files.
remove_files = [
'url_parse_perftest.cc',
@@ -64,5 +64,15 @@
for file in remove_files:
input_files.remove(file)
-if env['PLATFORM'] in ('posix', 'win32'):
+if env.Bit('mac'):
+ # TODO(port): Port these files.
+ remove_files = [
+ 'url_parse_perftest.cc',
+ '$CHROME_DIR/browser/visitedlink_master$OBJSUFFIX',
+ '$CHROME_DIR/browser/visitedlink_perftest.cc',
+ ]
+ for file in remove_files:
+ input_files.remove(file)
+
+if not env.Bit('mac'):
env.ChromeTestProgram('perf_tests', input_files)
« no previous file with comments | « chrome/test/page_cycler/page_cycler_tests.scons ('k') | chrome/test/plugin/plugin_tests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698