'ello good people of the chromium. I'm failing at this.
Just FYI, GYP flags in use: clang=1 asan=1 component=static_library disable_nacl=1
I am trying to figure out if I'm doing something wrong or if depot_tools is broken with Windows + clang.
gclient runhooks dies with this output:
Traceback (most recent call last):
File "src/tools/clang/scripts/update.py", line 249, in <module>
File "src/tools/clang/scripts/update.py", line 245, in main
File "src/tools/clang/scripts/update.py", line 169, in UpdateClang
File "D:\src\chrome\src\tools\gyp\pylib\gyp\MSVSVersion.py", line 106, in SetupScript
os.path.join(self.path, 'VC/vcvarsall.bat')), arg]
File "D:\src\chrome\depot_tools\python276_bin\lib\ntpath.py", line 96, in join
assert len(path) > 0
TypeError: object of type 'NoneType' has no len()
Error: Command D:\src\chrome\depot_tools\python276_bin\python.exe src/tools/clang/scripts/update.py --if-needed returned
non-zero exit status 1 in D:\src\chrome
Hook ''D:\src\chrome\depot_tools\python276_bin\python.exe' src/tools/clang/scripts/update.py --if-needed' took 99.82 secs
It looks like the MSVSVersion code makes assumptions in several places that it's OK for path to be None, yet there are several calls to os.path.join which assume path is not None.
Though even if it were not None in this case, it looks like there is also an assumption that VC/vcvarsall.bat should exist. This also appears to be wrong.
Pls halp, wat do!