Index: grit/format/policy_templates/writers/android_policy_writer.py |
diff --git a/grit/format/policy_templates/writers/android_policy_writer.py b/grit/format/policy_templates/writers/android_policy_writer.py |
index 5d8cbef38f991b2964d15d36ce6f6e3b45133072..8cc447d01333699978312e965e68a878e269e1ab 100644 |
--- a/grit/format/policy_templates/writers/android_policy_writer.py |
+++ b/grit/format/policy_templates/writers/android_policy_writer.py |
@@ -88,6 +88,9 @@ class AndroidPolicyWriter(xml_formatted_writer.XMLFormattedWriter): |
def BeginTemplate(self): |
comment_text = 'DO NOT MODIFY THIS FILE DIRECTLY!\n' \ |
'IT IS GENERATED FROM policy_templates.json.' |
+ if self._GetChromiumVersionString(): |
+ comment_text += "\n" + self.config["build"] + " version: "\ |
+ + self._GetChromiumVersionString() |
Joao da Silva
2015/11/02 14:37:41
Can you add a test for this
|
comment_node = self._doc.createComment(comment_text) |
self._doc.insertBefore(comment_node, self._resources) |