Functions | Variables
update_clang Namespace Reference

Functions

def CopyFile (src, dst)
 
def DownloadAndUnpack (url, output_dir)
 
def DownloadUrl (url, output_file)
 
def EnsureDirExists (path)
 
def main ()
 
def ReadStampFile (path=STAMP_FILE)
 
def RmTree (dir)
 
def UpdateClang ()
 
def WriteStampFile (s, path=STAMP_FILE)
 

Variables

 CDS_URL
 
string CLANG_REVISION = 'llvmorg-14-init-6722-g0fbd3aad'
 
int CLANG_SUB_REVISION = 2
 
 LLVM_BUILD_DIR = os.path.join(THIS_DIR, 'llvm-build')
 
string PACKAGE_VERSION = '%s-%s' % (CLANG_REVISION, CLANG_SUB_REVISION)
 
 STAMP_FILE = os.path.join(LLVM_BUILD_DIR, 'cr_build_revision')
 
 THIS_DIR = os.path.abspath(os.path.dirname(__file__))
 

Function Documentation

◆ CopyFile()

def update_clang.CopyFile (   src,
  dst 
)
Copy a file from src to dst.

Definition at line 129 of file update_clang.py.

◆ DownloadAndUnpack()

def update_clang.DownloadAndUnpack (   url,
  output_dir 
)

Definition at line 92 of file update_clang.py.

◆ DownloadUrl()

def update_clang.DownloadUrl (   url,
  output_file 
)
Download url into output_file.

Definition at line 46 of file update_clang.py.

◆ EnsureDirExists()

def update_clang.EnsureDirExists (   path)

Definition at line 86 of file update_clang.py.

◆ main()

def update_clang.main ( )

Definition at line 167 of file update_clang.py.

◆ ReadStampFile()

def update_clang.ReadStampFile (   path = STAMP_FILE)
Return the contents of the stamp file, or '' if it doesn't exist.

Definition at line 100 of file update_clang.py.

◆ RmTree()

def update_clang.RmTree (   dir)
Delete dir.

Definition at line 117 of file update_clang.py.

◆ UpdateClang()

def update_clang.UpdateClang ( )

Definition at line 135 of file update_clang.py.

◆ WriteStampFile()

def update_clang.WriteStampFile (   s,
  path = STAMP_FILE 
)
Write s to the stamp file.

Definition at line 109 of file update_clang.py.

Variable Documentation

◆ CDS_URL

update_clang.CDS_URL
Initial value:
1 = os.environ.get('CDS_CLANG_BUCKET_OVERRIDE',
2  'https://commondatastorage.googleapis.com/chromium-browser-clang')

Definition at line 42 of file update_clang.py.

◆ CLANG_REVISION

string update_clang.CLANG_REVISION = 'llvmorg-14-init-6722-g0fbd3aad'

Definition at line 31 of file update_clang.py.

◆ CLANG_SUB_REVISION

int update_clang.CLANG_SUB_REVISION = 2

Definition at line 32 of file update_clang.py.

◆ LLVM_BUILD_DIR

update_clang.LLVM_BUILD_DIR = os.path.join(THIS_DIR, 'llvm-build')

Definition at line 38 of file update_clang.py.

◆ PACKAGE_VERSION

string update_clang.PACKAGE_VERSION = '%s-%s' % (CLANG_REVISION, CLANG_SUB_REVISION)

Definition at line 34 of file update_clang.py.

◆ STAMP_FILE

update_clang.STAMP_FILE = os.path.join(LLVM_BUILD_DIR, 'cr_build_revision')

Definition at line 39 of file update_clang.py.

◆ THIS_DIR

update_clang.THIS_DIR = os.path.abspath(os.path.dirname(__file__))

Definition at line 37 of file update_clang.py.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:56