summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2012-05-08 22:50:24 (GMT)
committerNico Weber <thakis@chromium.org>2012-05-08 23:55:27 (GMT)
commit1e9124b09db813c79d22fd19f26c29cd4129b17b (patch)
treed6cdd002f517f5dce39eed090951028d3c08c8be /configure.py
parent3b0e78ae100f1a6d97358a9bd4a5d65280f42904 (diff)
downloadNinja-1e9124b09db813c79d22fd19f26c29cd4129b17b.zip
Ninja-1e9124b09db813c79d22fd19f26c29cd4129b17b.tar.gz
Ninja-1e9124b09db813c79d22fd19f26c29cd4129b17b.tar.bz2
Add a BuildLog loading perftest.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index a0c58f5..ee67d95 100755
--- a/configure.py
+++ b/configure.py
@@ -313,13 +313,17 @@ n.newline()
all_targets += ninja_test
-n.comment('Perftest executable.')
+n.comment('Perftest executables.')
objs = cxx('parser_perftest')
parser_perftest = n.build(binary('parser_perftest'), 'link', objs,
implicit=ninja_lib,
variables=[('libs', '-L$builddir -lninja')])
+objs = cxx('build_log_perftest')
+build_log_perftest = n.build(binary('build_log_perftest'), 'link', objs,
+ implicit=ninja_lib,
+ variables=[('libs', '-L$builddir -lninja')])
n.newline()
-all_targets += parser_perftest
+all_targets += parser_perftest + build_log_perftest
n.comment('Generate a graph using the "graph" tool.')
n.rule('gendot',