9"""Create the mesa driver."""
15MESA_VERSION =
'22.1.3'
18 """Create the asset."""
20 'docker',
'build',
'-t',
'mesa-driver-builder:latest',
21 './mesa_intel_driver_linux_22/mesa-driver-builder',
23 print(
'Building container', cmd)
24 subprocess.check_output(cmd)
27 'docker',
'run',
'--volume',
'%s:/OUT' % target_dir,
28 '--env',
'MESA_VERSION=%s' % MESA_VERSION,
31 print(
'Running container', cmd)
32 subprocess.check_output(cmd)
36 parser = argparse.ArgumentParser()
37 parser.add_argument(
'--target_dir',
'-t', required=
True)
38 args = parser.parse_args()
42if __name__ ==
'__main__':
def print(*args, **kwargs)
def create_asset(chrome_src_path, browser_executable, target_dir, upload_to_partner_bucket, dm_path)