| Index: tools/grit/grit/format/policy_templates/writers/android_policy_writer.py
|
| diff --git a/tools/grit/grit/format/policy_templates/writers/android_policy_writer.py b/tools/grit/grit/format/policy_templates/writers/android_policy_writer.py
|
| index 5d8cbef38f991b2964d15d36ce6f6e3b45133072..3f8518382a55582b185c3a845a8d273a1328e9c5 100755
|
| --- a/tools/grit/grit/format/policy_templates/writers/android_policy_writer.py
|
| +++ b/tools/grit/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()
|
| comment_node = self._doc.createComment(comment_text)
|
| self._doc.insertBefore(comment_node, self._resources)
|
|
|
|
|