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

Unified Diff: Source/build/scripts/make_media_features.py

Issue 235673007: Fix deps problems in Jinja template use in build/scripts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/core_generated.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/make_media_features.py
diff --git a/Source/build/scripts/make_media_features.py b/Source/build/scripts/make_media_features.py
index f3f4ae2f4f279e54d39e15ef90cd742abb453db7..54d96901113dd71893195d9d4389b8f107851a99 100755
--- a/Source/build/scripts/make_media_features.py
+++ b/Source/build/scripts/make_media_features.py
@@ -38,9 +38,9 @@ class MakeMediaFeaturesWriter(in_generator.Writer):
'entries': self.in_file.name_dictionaries,
}
- @template_expander.use_jinja("MediaFeatures.h.tmpl", filters=filters)
+ @template_expander.use_jinja('MediaFeatures.h.tmpl', filters=filters)
def generate_header(self):
return self._template_context
-if __name__ == "__main__":
+if __name__ == '__main__':
in_generator.Maker(MakeMediaFeaturesWriter).main(sys.argv)
« no previous file with comments | « no previous file | Source/core/core_generated.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698