Descriptiongn win: Various toolchain fixes to get compile working
This fixes
"fatal error C1902: Program database manager mismatch; please check your installation"
and
"cannot find msvcr120.dll"
during gn compilation.
There were many things wrong. The primary ones were that:
1) the compiler's setup script wasn't called so we didn't get
PATH/LIB/INCLUDE for the correct cl.
2) the VS runtime dirs were not getting added to environment block.
I also removed the Express handling, as that's been removed from the
gyp path now.
This does not yet support a system-installed Visual Studio. Code
needs to be added to query the registry to find the install location.
(see _SetupScript).
R=dpranke@chromium.org
TBR=brettw@chromium.org
BUG=432375
Committed: https://crrev.com/9bf8fb3b74de68a85122cb45bb477d604b8c3898
Cr-Commit-Position: refs/heads/master@{#304864}
Patch Set 1 #Patch Set 2 : . #
Messages
Total messages: 8 (2 generated)
|