hello bruce, i am getting the following error, i am currently cross compiling for windows on ubuntu, the error below appears after running gn args command
I have modified the source code of chromium locally, which of my modifications are most likely to cause these errors
Generating files...
ERROR at //build/config/win/visual_studio_version.gni:27:7: Script returned non-zero exit code.
exec_script("../../vs_toolchain.py", [ "get_toolchain_dir" ], "scope")
^----------
Current dir: /root/chromium/src/out/chromium/
Command: python3 /root/chromium/src/build/vs_toolchain.py get_toolchain_dir
Returned 1.
stderr:
Traceback (most recent call last):
File "/root/chromium/src/build/vs_toolchain.py", line 458, in <module>
dia_path = os.path.join(NormalizePath(os.environ['GYP_MSVS_OVERRIDE_PATH']),
NameError: name 'NormalizePath' is not defined
See //third_party/angle/gni/angle.gni:54:5: whence it was imported.
import("//build/config/win/visual_studio_version.gni")
^------------------------------------------------- ---
See //BUILD.gn:816:7: which caused the file to be included.
"//third_party/dawn/src/dawn/tests:dawn_end2end_tests",
^------------------------------------------------- ----