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

Unified Diff: lib/dom/scripts/fremontcutbuilder.py

Issue 10082011: Remove unnecessary renames from dartdomgenerator.py. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« lib/dom/scripts/dartdomgenerator.py ('K') | « lib/dom/scripts/databasebuilder.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/fremontcutbuilder.py
diff --git a/lib/dom/scripts/fremontcutbuilder.py b/lib/dom/scripts/fremontcutbuilder.py
index 28532b8ca80df030a90cb09279f012be38e8f9f6..3d29577c5b5f175a60f097e8e929b9440acb4948 100755
--- a/lib/dom/scripts/fremontcutbuilder.py
+++ b/lib/dom/scripts/fremontcutbuilder.py
@@ -187,6 +187,10 @@ def main():
'xml',
]
+ ignored_idls = [
+ 'AbstractView.idl',
+ ]
+
(idl_list_file, idl_list_file_name) = tempfile.mkstemp()
webcore_dir = os.path.join(current_dir, '..', '..', '..',
@@ -198,7 +202,7 @@ def main():
for name in names:
file_name = os.path.join(dir_name, name)
(interface, ext) = os.path.splitext(file_name)
- if ext == '.idl' and not name.startswith('._'):
Anton Muhin 2012/04/17 10:57:59 I am sure you thought about that, but is it safe t
+ if ext == '.idl' and name not in ignored_idls:
path = os.path.relpath(file_name, os.path.dirname(idl_list_file_name))
os.write(idl_list_file, '%s\n' % path)
« lib/dom/scripts/dartdomgenerator.py ('K') | « lib/dom/scripts/databasebuilder.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698