浏览代码

Update lib_build_win.py

/zgh-build_scripts
guanghuispark 4 年前
当前提交
569874b7
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 3
      engine/Scripts/lib_build_win.py

3
engine/Scripts/lib_build_win.py


global ninja_params2
global ninja_params3
global gn_params
global visual_studio_path
print("setting environment variable and other params...")

global flutter_root_path
flutter_root_path = os.getenv('FLUTTER_ROOT_PATH', 'null')
if flutter_root_path == 'null':
# command ="setx /M FLUTTER_ROOT_PATH " + engine_path + "/engine/src"
# os.system(command)
os.environ["FLUTTER_ROOT_PATH"] = engine_path + "/engine/src"
flutter_root_path = os.getenv('FLUTTER_ROOT_PATH')
else:

正在加载...
取消
保存