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

Unified Diff: tools/polymer/polymer_grdp_to_txt.py

Issue 1215543002: Remove Polymer 0.5. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit test Created 5 years, 6 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 | « third_party/polymer/vulcanize_config.json ('k') | tools/polymer/txt_to_polymer_grdp.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/polymer/polymer_grdp_to_txt.py
diff --git a/tools/polymer/polymer_grdp_to_txt.py b/tools/polymer/polymer_grdp_to_txt.py
index e99125b33b24b7249f2962f329f76c2becede09d..9940faa36de29f706259df846b0e4e70f34174d0 100755
--- a/tools/polymer/polymer_grdp_to_txt.py
+++ b/tools/polymer/polymer_grdp_to_txt.py
@@ -18,12 +18,9 @@ class PathsExtractor(xml.sax.ContentHandler):
path = attrs['file']
if path.startswith('../../../third_party/web-animations-js'):
return
- prefix_0_5 = '../../../third_party/polymer/components-chromium/'
prefix_1_0 = '../../../third_party/polymer/v1_0/components-chromium/'
- if path.startswith(prefix_0_5):
- self.paths.append(path[len(prefix_0_5):])
- elif path.startswith(prefix_1_0):
- self.paths.append('v1.0 ' + path[len(prefix_1_0):])
+ if path.startswith(prefix_1_0):
+ self.paths.append(path[len(prefix_1_0):])
else:
raise Exception("Unexpected path %s." % path)
« no previous file with comments | « third_party/polymer/vulcanize_config.json ('k') | tools/polymer/txt_to_polymer_grdp.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698