My Errors:
E:\25.chrome_source\chromium\src>ninja -C ../out/release_x64 chrome
ninja: Entering directory `../out/release_x64'
[34/21828] ACTION //chrome/elevation_service:elevation_service_idl_idl_action(//build/toolchain/win:win_clang_x64)
FAILED: gen/chrome/elevation_service/elevation_service_idl.h gen/chrome/elevation_service/elevation_service_idl.dlldata.c gen/chrome/elevation_service/elevation_service_idl_i.c gen/chrome/elevation_service/elevation_service_idl_p.c gen/chrome/elevation_service/elevation_service_idl.tlb
E:/25.chrome_source/depot_tools/bootstrap-3_8_0b1_chromium_1_bin/python/bin/python.exe ../../src/build/toolchain/win/midl.py environment.x64 E:/25.chrome_source/chromium/src/third_party/win_build_output/midl/chrome/elevation_service gen/chrome/elevation_service none elevation_service_idl.tlb elevation_service_idl.h elevation_service_idl.dlldata.c elevation_service_idl_i.c elevation_service_idl_p.c ../../src/chrome/elevation_service/elevation_service_idl.idl /char signed /env x64 /Oicf
midl.exe output different from files in gen/chrome/elevation_service, see c:\users\worre\appdata\local\temp\tmpga1ovn
--- gen/chrome/elevation_service\elevation_service_idl_p.c
+++ c:\users\worre\appdata\local\temp\tmpga1ovn\elevation_service_idl_p.c
@@ -6,7 +6,7 @@
/* File created by MIDL compiler version 8.xx.xxxx */
/* at a redacted point in time
*/
-/* Compiler settings for ../../chrome/elevation_service/elevation_service_idl.idl:
+/* Compiler settings for ../../src/chrome/elevation_service/elevation_service_idl.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.xx.xxxx
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
--- gen/chrome/elevation_service\elevation_service_idl.h
+++ c:\users\worre\appdata\local\temp\tmpga1ovn\elevation_service_idl.h
@@ -6,7 +6,7 @@
/* File created by MIDL compiler version 8.xx.xxxx */
/* at a redacted point in time
*/
-/* Compiler settings for ../../chrome/elevation_service/elevation_service_idl.idl:
+/* Compiler settings for ../../src/chrome/elevation_service/elevation_service_idl.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.xx.xxxx
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
--- gen/chrome/elevation_service\elevation_service_idl_i.c
+++ c:\users\worre\appdata\local\temp\tmpga1ovn\elevation_service_idl_i.c
@@ -8,7 +8,7 @@
/* File created by MIDL compiler version 8.xx.xxxx */
/* at a redacted point in time
*/
-/* Compiler settings for ../../chrome/elevation_service/elevation_service_idl.idl:
+/* Compiler settings for ../../src/chrome/elevation_service/elevation_service_idl.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.xx.xxxx
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
To rebaseline:
copy /y c:\users\worre\appdata\local\temp\tmpga1ovn\* E:\25.chrome_source\chromium\src\third_party\win_build_output\midl\chrome\elevation_service\x64
[43/21828] CXX obj/components/blacklist/opt_out_blacklist/opt_out_blacklist/opt_out_blacklist.obj
ninja: build stopped: subcommand failed.
I have try vs2017 and vs2019, but still failed, why?