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

Unified Diff: DEPS

Issue 489693002: [telemetry] Move stale .pyc check from Python import to gclient hook. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase! Created 6 years, 4 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
« no previous file with comments | « no previous file | tools/remove_stale_pyc_files.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: DEPS
diff --git a/DEPS b/DEPS
index 9621e18b6c31b9a3db131970ab9d1ea94099325e..c7f092758fac7c928cb419006ca33439afbf058a 100644
--- a/DEPS
+++ b/DEPS
@@ -778,4 +778,15 @@ hooks = [
'--running-as-hook',
],
},
+ {
+ # Ensure that we don't accidentally reference any .pyc files whose
+ # corresponding .py files have already been deleted.
+ 'name': 'remove_stale_pyc_files',
+ 'pattern': 'src/tools/.*\\.py',
+ 'action': [
+ 'python',
+ 'src/tools/remove_stale_pyc_files.py',
+ 'src/tools',
+ ],
+ },
]
« no previous file with comments | « no previous file | tools/remove_stale_pyc_files.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698