提交 cb637ae5 编写于 作者: Y yangming_ha

fix ninja dir missing issue.

Signed-off-by: Nyangming_ha <yangming_ha@163.com>
上级 57f1833a
......@@ -191,6 +191,8 @@ class Config(metaclass=Singleton):
return repo_ninja_path
# ninja not install, download and extract.
makedirs(self.build_tools_path, exist_ok=True)
ninja_url = BUILD_TOOLS_CFG[self.platform].get('ninja')
ninja_dst = os.path.join(self.build_tools_path, 'ninja_pkg')
download_tool(ninja_url, ninja_dst, tgt_dir=self.build_tools_path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册