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

Unified Diff: grit_info.py

Issue 23978009: Default target_platform to None. (Closed) Base URL: https://chromium.googlesource.com/external/grit-i18n.git@master
Patch Set: Created 7 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit_info.py
diff --git a/grit_info.py b/grit_info.py
index c9ccfd1243c1adae6d5c9d0b1ccf9a2dc41a5bb8..c2fae767559ef64fef1db91f008aa675c49db8a5 100755
--- a/grit_info.py
+++ b/grit_info.py
@@ -18,7 +18,7 @@ class WrongNumberOfArguments(Exception):
pass
-def Outputs(filename, defines, ids_file, target_platform):
+def Outputs(filename, defines, ids_file, target_platform=None):
grd = grd_reader.Parse(
filename, defines=defines, tags_to_ignore=set(['messages']),
first_ids_file=ids_file, target_platform=target_platform)
@@ -62,7 +62,7 @@ def GritSourceFiles():
return sorted(files)
-def Inputs(filename, defines, ids_file, target_platform):
+def Inputs(filename, defines, ids_file, target_platform=None):
grd = grd_reader.Parse(
filename, debug=False, defines=defines, tags_to_ignore=set(['message']),
first_ids_file=ids_file, target_platform=target_platform)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698