parameters: ()
return_statement: return '\n'.join(content)
docstring: Generates the contents of an Cronet LICENSE file for the third-party code.
    Returns:
      The contents of the LICENSE file.
docstring_summary: Generates the contents of an Cronet LICENSE file for the third-party code.
    Returns:
      The contents of the LICENSE file.
docstring_tokens: Generates the contents of an Cronet LICENSE file for the third - party code . Returns : The contents of the LICENSE file .
function: def GenerateLicense():
    """Generates the contents of an Cronet LICENSE file for the third-party code.
    Returns:
      The contents of the LICENSE file.
    """
    # Start with Chromium's LICENSE file
    content = [_ReadFile('LICENSE')]
  
    # Add necessary third_party.
    for directory in sorted(third_party_dirs):
      metadata = licenses.ParseDir(directory, REPOSITORY_ROOT,
                                   require_license_file=True)
      content.append('-' * 20)
      content.append(directory.split("/")[-1])
      content.append('-' * 20)
      license_file = metadata['License File']
      if license_file and license_file != licenses.NOT_SHIPPED:
        content.append(_ReadFile(license_file))
  
    return '\n'.join(content)
function_tokens: def GenerateLicense ( ) : # Start with Chromium's LICENSE file content = [ _ReadFile ( 'LICENSE' ) ] # Add necessary third_party. for directory in sorted ( third_party_dirs ) : metadata = licenses . ParseDir ( directory , REPOSITORY_ROOT , require_license_file = True ) content . append ( '-' * 20 ) content . append ( directory . split ( "/" ) [ - 1 ] ) content . append ( '-' * 20 ) license_file = metadata [ 'License File' ] if license_file and license_file != licenses . NOT_SHIPPED : content . append ( _ReadFile ( license_file ) ) return '\n' . join ( content )