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

Unified Diff: grit/tool/build.py

Issue 9924009: Add c_format as a format option. (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: Created 8 years, 9 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 | « grit/test_suite_all.py ('k') | grit/util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/tool/build.py
diff --git a/grit/tool/build.py b/grit/tool/build.py
index 58d88b084f2e49df9ae172b66f392af6597eec46..e26b9d1f99e8868aec699e0657325562983d88d7 100644
--- a/grit/tool/build.py
+++ b/grit/tool/build.py
@@ -237,8 +237,8 @@ are exported to translation interchange files (e.g. XMB files), etc.
if output.GetType() in ('rc_header', 'resource_map_header',
'resource_map_source', 'resource_file_map_source'):
encoding = 'cp1252'
- elif output.GetType() in ('js_map_format', 'plist', 'plist_strings',
- 'doc', 'json'):
+ elif output.GetType() in ('c_format', 'js_map_format', 'plist',
+ 'plist_strings', 'doc', 'json'):
encoding = 'utf_8'
else:
# TODO(gfeher) modify here to set utf-8 encoding for admx/adml
« no previous file with comments | « grit/test_suite_all.py ('k') | grit/util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698