14build_products = sys.argv[3].split(
',')
19 if e.errno != errno.EEXIST:
22for pattern
in build_products:
23 path = os.path.join(src, pattern)
24 for f
in glob.glob(path):
25 dst_path = os.path.join(dst, os.path.relpath(f, src))
26 if not os.path.isdir(os.path.dirname(dst_path)):
27 os.makedirs(os.path.dirname(dst_path))
28 print(
'Copying build product %s to %s' % (f, dst_path))
32 shutil.copyfile(f, dst_path)
def print(*args, **kwargs)