Index: pylib/gyp/generator/analyzer.py |
diff --git a/pylib/gyp/generator/analyzer.py b/pylib/gyp/generator/analyzer.py |
index 3a0ec9baff27860bd23b084d152749e347a72dc7..16bff961ec499c29225df02d4df0e6971935b219 100644 |
--- a/pylib/gyp/generator/analyzer.py |
+++ b/pylib/gyp/generator/analyzer.py |
@@ -338,7 +338,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) |