Lines Matching refs:build_number
86 def manifest_name(build_number): argument
92 return 'manifest_{}.xml'.format(build_number)
95 def package_name(build_number, host): argument
101 return 'renderscript-{}-{}-x86.tar.bz2'.format(build_number, host)
104 def download_build(host, build_number, android_branch, download_dir): argument
105 filename = package_name(build_number, host)
106 return download_file(host, build_number, android_branch, filename, download_dir)
109 def download_manifest(host, build_number, android_branch, download_dir): argument
110 filename = manifest_name(build_number)
111 return download_file(host, build_number, android_branch, filename, download_dir)
114 def download_file(host, build_number, android_branch, pkg_name, download_dir): argument
120 build_num=build_number)
140 def update_renderscript(host, build_number, android_branch, use_current_branch, download_dir, bug): argument
147 ['repo', 'start', 'update-renderscript-{}'.format(build_number), '.'])
149 package = download_build(host, build_number, android_branch, download_dir)
150 manifest = download_manifest(host, build_number, android_branch, download_dir)
155 shutil.move('renderscript-{}'.format(build_number), install_subdir)
163 'Update prebuilt RenderScript to build {}.'.format(build_number),
167 build_number=build_number),
187 update_renderscript(host, args.build_number, args.android_branch,