19NDK_VER =
"android-ndk-r26b"
21 "https://dl.google.com/android/repository/%s-windows.zip" % NDK_VER
25 """Create the asset."""
26 subprocess.check_call([
"curl", NDK_URL,
"-o",
"ndk.zip"])
27 subprocess.check_call([
"unzip",
"ndk.zip",
"-d", target_dir])
28 for f
in glob.glob(os.path.join(target_dir, NDK_VER,
"*")):
29 shutil.move(f, target_dir)
30 subprocess.check_call([
"rm",
"ndk.zip"])
34 parser = argparse.ArgumentParser()
35 parser.add_argument(
'--target_dir',
'-t', required=
True)
36 args = parser.parse_args()
40if __name__ ==
'__main__':
def create_asset(chrome_src_path, browser_executable, target_dir, upload_to_partner_bucket, dm_path)