Fix a bug in the dep analysis script.
It wasn't always normalizing slashes correctly, so you'd end
up with the same thing in the map twice.
llvm-svn: 296947
diff --git a/lldb/scripts/analyze-project-deps.py b/lldb/scripts/analyze-project-deps.py
index 10a589b..4fa19ea 100644
--- a/lldb/scripts/analyze-project-deps.py
+++ b/lldb/scripts/analyze-project-deps.py
@@ -35,6 +35,7 @@
relative = os.path.relpath(base, inc_dir)
inc_files = filter(lambda x : os.path.splitext(x)[1] in [".h"], files)
deps = set()
+ relative = relative.replace("\\", "/")
for inc in inc_files:
inc_path = os.path.join(base, inc)
deps.update(scan_deps(relative, inc_path))