Fixing check_orphan_headers on Windows
There were too many assumptions of the fact that the check was running
on Linux.
BUG=webrtc:7635
NOTRY=True
Review-Url: https://codereview.webrtc.org/2878733004
Cr-Commit-Position: refs/heads/master@{#18120}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index e1dec872..e2d0dd5 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -575,10 +575,7 @@
results.extend(_CheckJSONParseErrors(input_api, output_api))
results.extend(_RunPythonTests(input_api, output_api))
results.extend(_CheckUsageOfGoogleProtobufNamespace(input_api, output_api))
- # Disabling this because it seems to have a bug when running on Windows.
- # TODO(mbonadei): fix this and re-enable this check.
- # BUG: https://bugs.chromium.org/p/webrtc/issues/detail?id=7635
- # results.extend(_CheckOrphanHeaders(input_api, output_api))
+ results.extend(_CheckOrphanHeaders(input_api, output_api))
return results