android_webview: use chrome version information.
Replace the hardcoded version number used for the WebView's user agent with the real version number of the corresponding Chrome build. This uses the version information from src/chrome/VERSION; there is a pending bug to move this out of chrome/ (http://crbug.com/345538) which will not be impeded by this change as the location of the version info is obtained from build/util/version.gypi. BUG=297522 Review URL: https://codereview.chromium.org/695313002 Cr-Original-Commit-Position: refs/heads/master@{#302614} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: e72c9f4cc8e2d5abdf9ae4506abf94d5eb7a91d6
This commit is contained in:
Родитель
d940cdb6fe
Коммит
f3d2db6624
|
@ -7,9 +7,11 @@
|
|||
'variables': {
|
||||
'version_py_path': '<(DEPTH)/build/util/version.py',
|
||||
'version_path': '<(DEPTH)/chrome/VERSION',
|
||||
'lastchange_path': '<(DEPTH)/build/util/LASTCHANGE',
|
||||
},
|
||||
'version_py_path': '<(version_py_path)',
|
||||
'version_path': '<(version_path)',
|
||||
'lastchange_path': '<(lastchange_path)',
|
||||
'version_full':
|
||||
'<!(python <(version_py_path) -f <(version_path) -t "@MAJOR@.@MINOR@.@BUILD@.@PATCH@")',
|
||||
'version_libchrome_short':
|
||||
|
|
Загрузка…
Ссылка в новой задаче