summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2011-11-10 20:58:00 (GMT)
committerEvan Martin <martine@danga.com>2011-11-13 20:17:53 (GMT)
commitd0a3c5c3735c52aa2fd4ecfb0d2c84dc9ebbb45a (patch)
treedcc66684f8b5b19f902e731034c69a7c7b07ca93 /configure.py
parent04097eb434d96d9c6e6aefd83c9c9d8970c2e84e (diff)
downloadNinja-d0a3c5c3735c52aa2fd4ecfb0d2c84dc9ebbb45a.zip
Ninja-d0a3c5c3735c52aa2fd4ecfb0d2c84dc9ebbb45a.tar.gz
Ninja-d0a3c5c3735c52aa2fd4ecfb0d2c84dc9ebbb45a.tar.bz2
Add a EditDistance() function based on the one in llvm/lib/Support/StringRef.cpp.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index 17afea4..be8eea6 100755
--- a/configure.py
+++ b/configure.py
@@ -140,8 +140,9 @@ if platform not in ('mingw'):
n.newline()
n.comment('Core source files all build into ninja library.')
-for name in ['build', 'build_log', 'clean', 'eval_env', 'graph', 'graphviz',
- 'parsers', 'util', 'stat_cache', 'disk_interface', 'state']:
+for name in ['build', 'build_log', 'clean', 'edit_distance', 'eval_env',
+ 'graph', 'graphviz', 'parsers', 'util', 'stat_cache',
+ 'disk_interface', 'state']:
objs += cxx(name)
if platform == 'mingw':
objs += cxx('subprocess-win32')
@@ -176,6 +177,7 @@ for name in ['build_log_test',
'build_test',
'clean_test',
'disk_interface_test',
+ 'edit_distance_test',
'eval_env_test',
'graph_test',
'parsers_test',