Index: chrome/browser/resources/md_history/PRESUBMIT.py |
diff --git a/chrome/browser/resources/md_history/PRESUBMIT.py b/chrome/browser/resources/md_history/PRESUBMIT.py |
index 485e8861401a22fd4117142f1088dea8618d1ce4..2c041a4c7e7125da3426f63f4a4332936ac540cd 100644 |
--- a/chrome/browser/resources/md_history/PRESUBMIT.py |
+++ b/chrome/browser/resources/md_history/PRESUBMIT.py |
@@ -11,16 +11,16 @@ def CheckChangeOnUpload(input_api, output_api): |
def _is_md_history_file(path): |
return (path.startswith('chrome/browser/resources/md_history') and |
(not path.endswith('externs.js')) and |
- (not path.endswith('app.crisper.js')) and |
- (not path.endswith('app.vulcanized.html')) and |
+ (not path.endswith('crisper.js')) and |
+ (not path.endswith('vulcanized.html')) and |
(path.endswith('js') or path.endswith('html'))) |
- def _affects_file(filename, paths): |
- return any([filename in path for path in paths]) |
- |
paths = [x.LocalPath() for x in input_api.change.AffectedFiles()] |
earliest_vulcanize_change = min(os.path.getmtime(x) for x in |
- ['app.vulcanized.html', 'app.crisper.js']) |
+ ['app.vulcanized.html', |
+ 'app.crisper.js', |
+ 'lazy_load.vulcanized.html', |
+ 'lazy_load.crisper.js']) |
history_changes = filter(_is_md_history_file, paths) |
latest_history_change = 0 |
if history_changes: |