diff options
author | Nico Weber <thakis@chromium.org> | 2011-11-10 20:58:00 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-11-13 20:17:53 (GMT) |
commit | d0a3c5c3735c52aa2fd4ecfb0d2c84dc9ebbb45a (patch) | |
tree | dcc66684f8b5b19f902e731034c69a7c7b07ca93 /configure.py | |
parent | 04097eb434d96d9c6e6aefd83c9c9d8970c2e84e (diff) | |
download | Ninja-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-x | configure.py | 6 |
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', |