summaryrefslogtreecommitdiffstats
path: root/build/android/play_services/update_test.py
diff options
context:
space:
mode:
authordgn <dgn@chromium.org>2015-12-16 09:18:00 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-16 17:18:57 +0000
commite9ec8cc2b148f10b793615a5bf77d8b8b64632e0 (patch)
tree3a706be808a20f44851636b319be62583ddc67c8 /build/android/play_services/update_test.py
parent3b2ea067b94b7999971b8d10e77b861bd6c33157 (diff)
downloadchromium_src-e9ec8cc2b148f10b793615a5bf77d8b8b64632e0.zip
chromium_src-e9ec8cc2b148f10b793615a5bf77d8b8b64632e0.tar.gz
chromium_src-e9ec8cc2b148f10b793615a5bf77d8b8b64632e0.tar.bz2
Cleaning up and refactoring gms update/preprocess scripts
Also, add a pylib.utils.argpars_utils.CustomHelpAction to support multiple help commands Changelog for the android_tools roll: https://chromium.googlesource.com/android_tools/+/54492f99c84cab0826a8e656efeb33a1b1bf5a04..f4c36ad89b2696b37d9cd7ca7d984b691888b188 BUG=541727 Review URL: https://codereview.chromium.org/1469913002 Cr-Commit-Position: refs/heads/master@{#365548}
Diffstat (limited to 'build/android/play_services/update_test.py')
-rwxr-xr-xbuild/android/play_services/update_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/android/play_services/update_test.py b/build/android/play_services/update_test.py
index b6898b6..fd68154 100755
--- a/build/android/play_services/update_test.py
+++ b/build/android/play_services/update_test.py
@@ -301,7 +301,9 @@ class TestFunctions(unittest.TestCase):
if config_version:
_MakeDirs(os.path.dirname(self.paths.config_file))
with open(self.paths.config_file, 'w') as stream:
- stream.write('{"version_number":%d}\n' % config_version)
+ stream.write(('{"version_number":%d,'
+ '"version_xml_path": "res/values/version.xml"}'
+ '\n') % config_version)
if existing_license:
_MakeDirs(self.paths.gms_root)