ninja/win: Let link-wrapper convert /s to \s in the linker command.
ninja/win: Let link-wrapper convert /s to \s in the linker command.

ExecLinkWrapper() runs a subprocess with shell=True, so that "link.exe" is
looked up using PATH from the environment loaded from environment.x86 in the
build directory.

shell=True implies that forward slashes in the path to the linker (say, if a
custom linker, such as lld-link.exe is used) don't work. If the linker command
is '..\../lld-link.exe', the command with fail with
"'..\..' is not recognized as an internal or external command".

So manually replace forward slashes with backslashes in the link command before
attempting to run it.

BUG=chromium:436277
Review URL: https://codereview.chromium.org/722073004/



git-svn-id: e7e1075985beda50ea81ac4472467b4f6e91fc78@2009 78cadc50-ecff-11dd-a971-7dbc132099af

cysp/gyp,chromium/gyp,bulldy80/gyp_unofficial,cchamberlain/gyp,adblockplus/gyp,chromium/gyp,dougbeal/gyp,mgamer/gyp,amoikevin/gyp,amoikevin/gyp,chromium/gyp,yjhjstz/gyp,AWhetter/gyp,amoikevin/gyp,cchamberlain/gyp,Jack-Q/GYP-copy,ttyangf/pdfium_gyp,AWhetter/gyp,pandaxcl/gyp,cysp/gyp,openpeer/webrtc-gyp,Phuehvk/gyp,enkripsi/gyp,sport-monkey/GYP,azunite/gyp,LazyCodingCat/gyp,adblockplus/gyp,sport-monkey/GYP,openpeer/webrtc-gyp,cysp/gyp,ttyangf/gyp,sanyaade-teachings/gyp,ttyangf/pdfium_gyp,adblockplus/gyp,pandaxcl/gyp,pandaxcl/gyp,Chilledheart/gyp,yjhjstz/gyp,saghul/gyn,Phuehvk/gyp,Chilledheart/gyp,turbulenz/gyp,ryfx/gyp,sport-monkey/GYP,carlTLR/gyp,openpeer/webrtc-gyp,ryfx/gyp,bnq4ever/gypgoogle,carlTLR/gyp,yjhjstz/gyp,Jack-Q/GYP-copy,duanhjlt/gyp,AWhetter/gyp,chromium/gyp,azunite/gyp,sport-monkey/GYP,msc-/gyp,dougbeal/gyp,mgamer/gyp,openpeer/webrtc-gyp,Jack-Q/GYP-copy,bnq4ever/gypgoogle,enkripsi/gyp,sanyaade-teachings/gyp,Chilledheart/gyp,bnoordhuis/gyp,cchamberlain/gyp,Jack-Q/GYP-copy,dougbeal/gyp,sdklite/gyp,enkripsi/gyp,duanhjlt/gyp,trafi/gyp,bnoordhuis/gyp,Chilledheart/gyp,msc-/gyp,LazyCodingCat/gyp,sdklite/gyp,mgamer/gyp,chromium/gyp,bnoordhuis/gyp,Danath/gyp,LazyCodingCat/gyp,cysp/gyp,msc-/gyp,saghul/gyn,amoikevin/gyp,azunite/gyp,bulldy80/gyp_unofficial,duanhjlt/gyp,Phuehvk/gyp,azunite/gyp_20150930,clar/gyp,clar/gyp,ttyangf/gyp,adblockplus/gyp,ttyangf/pdfium_gyp,ttyangf/gyp,clar/gyp,tarc/gyp,trafi/gyp,Danath/gyp,duanhjlt/gyp,adblockplus/gyp,openpeer/webrtc-gyp,bulldy80/gyp_unofficial,LazyCodingCat/gyp,sport-monkey/GYP,bnoordhuis/gyp,saghul/gyn,turbulenz/gyp,turbulenz/gyp,turbulenz/gyp,Jack-Q/GYP-copy,trafi/gyp,ttyangf/pdfium_gyp,tarc/gyp,Phuehvk/gyp,turbulenz/gyp,Danath/gyp,azunite/gyp,ttyangf/gyp,sdklite/gyp,duanhjlt/gyp,pandaxcl/gyp,azunite/gyp,AWhetter/gyp,ttyangf/pdfium_gyp,Danath/gyp,bulldy80/gyp_unofficial,sanyaade-teachings/gyp,trafi/gyp,bulldy80/gyp_unofficial,trafi/gyp,Phuehvk/gyp,mgamer/gyp,clar/gyp,azunite/gyp_20150930,saghul/gyn,cchamberlain/gyp,ryfx/gyp,sdklite/gyp,yjhjstz/gyp,mgamer/gyp,msc-/gyp,azunite/gyp_20150930,azunite/gyp_20150930,tarc/gyp,ryfx/gyp,Danath/gyp,sdklite/gyp,azunite/gyp_20150930,pandaxcl/gyp,amoikevin/gyp,sanyaade-teachings/gyp,dougbeal/gyp,tarc/gyp,bnq4ever/gypgoogle,enkripsi/gyp,ttyangf/gyp,bnq4ever/gypgoogle,dougbeal/gyp,carlTLR/gyp,sanyaade-teachings/gyp,AWhetter/gyp,Chilledheart/gyp,carlTLR/gyp,bnoordhuis/gyp,saghul/gyn,tarc/gyp,clar/gyp,carlTLR/gyp,LazyCodingCat/gyp,bnq4ever/gypgoogle,cchamberlain/gyp,cysp/gyp,ryfx/gyp,enkripsi/gyp,msc-/gyp,yjhjstz/gyp