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

Unified Diff: grit/tool/build.py

Issue 227073006: Added a policy writer for iOS Plists. (Closed) Base URL: https://chromium.googlesource.com/external/grit-i18n.git@master
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
Index: grit/tool/build.py
diff --git a/grit/tool/build.py b/grit/tool/build.py
index 2bb8085c56be65cc0a8f599b18621e2b294d7b64..87ee4122e171bac596a4af3366ae7ce8ecd22b80 100644
--- a/grit/tool/build.py
+++ b/grit/tool/build.py
@@ -36,8 +36,10 @@ _format_modules = {
'resource_map_source': 'resource_map',
'resource_file_map_source': 'resource_map',
}
-_format_modules.update((type, 'policy_templates.template_formatter')
- for type in 'adm plist plist_strings admx adml doc json reg'.split())
+_format_modules.update(
+ (type, 'policy_templates.template_formatter') for type in
+ [ 'adm', 'admx', 'adml', 'reg', 'doc', 'json',
+ 'plist', 'plist_strings', 'ios_plist' ])
def GetFormatter(type):
« grit/format/policy_templates/writers/json_writer.py ('K') | « grit/test_suite_all.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698