Index: build/print_python_deps.py |
diff --git a/build/print_python_deps.py b/build/print_python_deps.py |
index 50a1f08f4bf6e87a780ac3a173b48c3e41c7705d..92c75a535eb280d2940a54191ae39f8c020057b3 100755 |
--- a/build/print_python_deps.py |
+++ b/build/print_python_deps.py |
@@ -38,7 +38,8 @@ def _ComputePythonDependencies(): |
if not path.startswith(_SRC_ROOT): |
continue |
- if path.endswith('.pyc'): |
+ if (path.endswith('.pyc') |
+ or (path.endswith('c') and not os.path.splitext(path)[1])): |
path = path[:-1] |
src_paths.add(path) |