提交 d14346d6 编写于 作者: L lubinglun

add switch for hb

Signed-off-by: Nlubinglun <lubinglun@huawei.com>
Change-Id: I0cf3f2352985ee82633c4752827e769daf1fd03c
上级 5651dbbd
......@@ -58,7 +58,11 @@ def set_root_path(path):
def build(path, args_list):
python_executable = get_python()
cmd = [python_executable, 'build/lite/hb/__main__.py', 'build'] + args_list
cmd = [python_executable, 'build/hb/main.py', 'build'] + args_list
for args in args_list:
if "using_hb_new=false" in args:
cmd = [python_executable, 'build/lite/hb/__main__.py', 'build'] + args_list
break
return check_output(cmd, cwd=path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册