summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorTakuto Ikuta <tikuta@google.com>2017-04-12 02:12:38 (GMT)
committerTakuto Ikuta <tikuta@google.com>2017-04-12 02:12:38 (GMT)
commit292c89f486062fc55be1c5317945b58228f6ba96 (patch)
treed538ed448203bce505adecb76b38b4fe5634f3e8 /configure.py
parent0b0374e831d9c050c6c9eb2ef48b73bc62a0f084 (diff)
downloadNinja-292c89f486062fc55be1c5317945b58228f6ba96.zip
Ninja-292c89f486062fc55be1c5317945b58228f6ba96.tar.gz
Ninja-292c89f486062fc55be1c5317945b58228f6ba96.tar.bz2
Add clparser_perftest
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py26
1 files changed, 11 insertions, 15 deletions
diff --git a/configure.py b/configure.py
index 38521a2..edf85e2 100755
--- a/configure.py
+++ b/configure.py
@@ -566,21 +566,17 @@ all_targets += ninja_test
n.comment('Ancillary executables.')
-objs = cxx('build_log_perftest')
-all_targets += n.build(binary('build_log_perftest'), 'link', objs,
- implicit=ninja_lib, variables=[('libs', libs)])
-objs = cxx('canon_perftest')
-all_targets += n.build(binary('canon_perftest'), 'link', objs,
- implicit=ninja_lib, variables=[('libs', libs)])
-objs = cxx('depfile_parser_perftest')
-all_targets += n.build(binary('depfile_parser_perftest'), 'link', objs,
- implicit=ninja_lib, variables=[('libs', libs)])
-objs = cxx('hash_collision_bench')
-all_targets += n.build(binary('hash_collision_bench'), 'link', objs,
- implicit=ninja_lib, variables=[('libs', libs)])
-objs = cxx('manifest_parser_perftest')
-all_targets += n.build(binary('manifest_parser_perftest'), 'link', objs,
- implicit=ninja_lib, variables=[('libs', libs)])
+
+for name in ['build_log_perftest',
+ 'canon_perftest',
+ 'depfile_parser_perftest',
+ 'hash_collision_bench',
+ 'manifest_parser_perftest',
+ 'clparser_perftest']:
+ objs = cxx(name)
+ all_targets += n.build(binary(name), 'link', objs,
+ implicit=ninja_lib, variables=[('libs', libs)])
+
n.newline()
n.comment('Generate a graph using the "graph" tool.')