Creates dst folder if it does not exist. (flutter/engine#36066)

This commit is contained in:
godofredoc
2022-09-12 08:14:15 -07:00
committed by GitHub
parent 281a9f3d5a
commit 0955401ca2

View File

@@ -33,6 +33,10 @@ def main():
if os.path.isabs(args.dst) else os.path.join(buildroot_dir, args.dst)
)
# if dst folder does not exist create it.
if not os.path.exists(dst):
os.makedirs(dst)
if args.x64_out_dir:
x64_out_dir = (
args.x64_out_dir if os.path.isabs(args.x64_out_dir) else