Index: pylib/gyp/generator/analyzer.py |
diff --git a/pylib/gyp/generator/analyzer.py b/pylib/gyp/generator/analyzer.py |
index 15b80ef973793c5c8a02f50eb9bbabe5d2e602fb..5ae4b7f21430a64e0f5697f51846cbb132f445ef 100644 |
--- a/pylib/gyp/generator/analyzer.py |
+++ b/pylib/gyp/generator/analyzer.py |
@@ -329,7 +329,7 @@ def _GenerateTargets(data, target_list, target_dicts, toplevel_dir, files, |
sources = _ExtractSources(target_name, target_dicts[target_name], |
toplevel_dir) |
for source in sources: |
- if source in files: |
+ if os.path.normpath(source) in files: |
print 'target', target_name, 'matches', source |
target.match_status = MATCH_STATUS_MATCHES |
matching_targets.append(target) |