67 if sys.platform !=
'win32':
68 print(
'This script only runs on Windows.', file=sys.stderr)
71 parser = argparse.ArgumentParser()
72 parser.add_argument(
'--target_dir',
'-t', required=
True)
73 args = parser.parse_args()
79 target_dir = os.path.abspath(args.target_dir)
80 shutil.rmtree(target_dir)
81 shutil.copytree(src_dir, target_dir, ignore=filter_toolchain_files)