Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Unified Diff: build/print_python_deps.py

Issue 2840193003: [Android] Fix stack symbolization when packed relocations are on. (Closed)
Patch Set: omitted build/secondary/third_party/android_platform/ Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/print_python_deps.py
diff --git a/build/print_python_deps.py b/build/print_python_deps.py
index 50a1f08f4bf6e87a780ac3a173b48c3e41c7705d..872f1fe851f3688131011792c9b915bb2d464b1c 100755
--- a/build/print_python_deps.py
+++ b/build/print_python_deps.py
@@ -38,7 +38,7 @@ def _ComputePythonDependencies():
if not path.startswith(_SRC_ROOT):
continue
- if path.endswith('.pyc'):
+ if path.endswith('c') and os.path.exists(path[:-1]):
agrieve 2017/04/26 18:19:44 nit: can you put this back to ".pyc" just so that
jbudorick 2017/04/26 19:34:22 The pyc files only end in '.pyc' if the correspond
agrieve 2017/04/27 00:30:18 did not know that!
path = path[:-1]
src_paths.add(path)

Powered by Google App Engine
This is Rietveld 408576698