Home | History | Annotate | Download | only in clang

Lines Matching refs:host

57 def host_to_build_host(host):
58 """Gets the build host name for an NDK host tag.
66 }[host]
69 def build_name(host):
70 """Gets the build name for a given host.
79 }[host]
91 def package_name(build_number, host):
97 return 'clang-{}-{}-x86.tar.bz2'.format(build_number, host)
100 def download_build(host, build_number, download_dir):
101 filename = package_name(build_number, host)
102 return download_file(host, build_number, filename, download_dir)
105 def download_manifest(host, build_number, download_dir):
107 return download_file(host, build_number, filename, download_dir)
110 def download_file(host, build_number, pkg_name, download_dir):
114 build_host=host_to_build_host(host),
115 build_name=build_name(host),
136 def update_clang(host, build_number, use_current_branch, download_dir, bug):
137 host_tag = host + '-x86'
138 prebuilt_dir = android_path('prebuilts/clang/host', host_tag)
145 package = download_build(host, build_number, download_dir)
146 manifest = download_manifest(host, build_number, download_dir)
182 for host in hosts:
183 update_clang(host, args.build, args.use_current_branch,