diff --git a/build.py b/build.py index c8827ec34db2a931a48383bfd59a7d839d9f9e95..60b189d2e32c1b92a49199b0dfa13d5723ca2fc3 100755 --- a/build.py +++ b/build.py @@ -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)