def GetVersion():
    '''Returns the chrome version string.'''
    filename = os.path.join(_CHROME_SOURCE_DIR, 'chrome', 'VERSION')
    values = version.fetch_values([filename])
    return version.subst_template('@MAJOR@.@MINOR@.@BUILD@.@PATCH@', values)
Beispiel #2
0
def getChromeVersion(version_file):
    values = version.fetch_values([version_file])
    return version.subst_template('@MAJOR@.@MINOR@.@BUILD@.@PATCH@', values)
def GetVersion():
  '''Returns the chrome version string.'''
  filename = os.path.join(_CHROME_SOURCE_DIR, 'chrome', 'VERSION')
  values = version.fetch_values([filename])
  return version.subst_template('@MAJOR@.@MINOR@.@BUILD@.@PATCH@', values)
def getChromeVersion(version_file):
  values = version.fetch_values([version_file])
  return version.subst_template('@MAJOR@.@MINOR@.@BUILD@.@PATCH@', values)