original_docstring: Returns the full build version string constructed from information in
    VERSION_FILE.  Any segment not found in that file will default to '0'.
    
docstring: Returns the full build version string constructed from information in
  VERSION_FILE.  Any segment not found in that file will default to '0'.
docstring_tokens: Returns the full build version string constructed from information in VERSION_FILE . Any segment not found in that file will default to ' 0 ' .
code: def BuildVersion(output_dir):
    """Returns the full build version string constructed from information in
    VERSION_FILE.  Any segment not found in that file will default to '0'.
    """
    major = 0
    minor = 0
    build = 0
    patch = 0
    for line in open(os.path.join(output_dir, "..", "..", "chrome", VERSION_FILE), 'r'):
      line = line.rstrip()
      if line.startswith('MAJOR='):
        major = line[6:]
      elif line.startswith('MINOR='):
        minor = line[6:]
      elif line.startswith('BUILD='):
        build = line[6:]
      elif line.startswith('PATCH='):
        patch = line[6:]
    return '%s.%s.%s.%s' % (major, minor, build, patch)
code_tokens: def BuildVersion ( output_dir ) : major = 0 minor = 0 build = 0 patch = 0 for line in open ( os . path . join ( output_dir , ".." , ".." , "chrome" , VERSION_FILE ) , 'r' ) : line = line . rstrip ( ) if line . startswith ( 'MAJOR=' ) : major = line [ 6 : ] elif line . startswith ( 'MINOR=' ) : minor = line [ 6 : ] elif line . startswith ( 'BUILD=' ) : build = line [ 6 : ] elif line . startswith ( 'PATCH=' ) : patch = line [ 6 : ] return '%s.%s.%s.%s' % ( major , minor , build , patch )
short_docstring: Returns the full build version string constructed from information in
  VERSION_FILE.
short_docstring_tokens: Returns the full build version string constructed from information in VERSION_FILE .
comment: """Returns the full build version string constructed from information in
    VERSION_FILE.  Any segment not found in that file will default to '0'.
    """