in order to generate libs for "win" and "x64" on the target, the autoninja complained about unresolved externals in protobuf:
FAILED: protobuf_lite.dll protobuf_lite.dll.lib protobuf_lite.dll.pdb
C:/Users/s.zhang/depot_tools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 False link.exe /nologo /IMPLIB:./protobuf_lite.dll.lib /DLL /OUT:./protobuf_lite.dll /PDB:./protobuf_lite.dll.pdb @./protobuf_lite.dll.rsp
message_lite.obj : error LNK2001: unresolved external symbol "protected: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::InitFrom(class google::protobuf::io::ZeroCopyInputStream *)" (?InitFrom@EpsCopyInputStream@internal@protobuf@google@@IEAAPEBDPEAVZeroCopyInputStream@io@34@@Z)
extension_set.obj : error LNK2001: unresolved external symbol "protected: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::InitFrom(class google::protobuf::io::ZeroCopyInputStream *)" (?InitFrom@EpsCopyInputStream@internal@protobuf@google@@IEAAPEBDPEAVZeroCopyInputStream@io@34@@Z)
generated_message_table_driven_lite.obj : error LNK2001: unresolved external symbol "protected: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::InitFrom(class google::protobuf::io::ZeroCopyInputStream *)" (?InitFrom@EpsCopyInputStream@internal@protobuf@google@@IEAAPEBDPEAVZeroCopyInputStream@io@34@@Z)
generated_message_util.obj : error LNK2001: unresolved external symbol "protected: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::InitFrom(class google::protobuf::io::ZeroCopyInputStream *)" (?InitFrom@EpsCopyInputStream@internal@protobuf@google@@IEAAPEBDPEAVZeroCopyInputStream@io@34@@Z)
implicit_weak_message.obj : error LNK2001: unresolved external symbol "protected: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::InitFrom(class google::protobuf::io::ZeroCopyInputStream *)" (?InitFrom@EpsCopyInputStream@internal@protobuf@google@@IEAAPEBDPEAVZeroCopyInputStream@io@34@@Z)
message_lite.obj : error LNK2001: unresolved external symbol "private: struct std::pair<char const *,bool> __cdecl google::protobuf::internal::EpsCopyInputStream::DoneFallback(char const *,int)" (?DoneFallback@EpsCopyInputStream@internal@protobuf@google@@AEAA?AU?$pair@PEBD_N@std@@PEBDH@Z)
extension_set.obj : error LNK2001: unresolved external symbol "private: struct std::pair<char const *,bool> __cdecl google::protobuf::internal::EpsCopyInputStream::DoneFallback(char const *,int)" (?DoneFallback@EpsCopyInputStream@internal@protobuf@google@@AEAA?AU?$pair@PEBD_N@std@@PEBDH@Z)
generated_message_table_driven_lite.obj : error LNK2001: unresolved external symbol "private: struct std::pair<char const *,bool> __cdecl google::protobuf::internal::EpsCopyInputStream::DoneFallback(char const *,int)" (?DoneFallback@EpsCopyInputStream@internal@protobuf@google@@AEAA?AU?$pair@PEBD_N@std@@PEBDH@Z)
generated_message_util.obj : error LNK2001: unresolved external symbol "private: struct std::pair<char const *,bool> __cdecl google::protobuf::internal::EpsCopyInputStream::DoneFallback(char const *,int)" (?DoneFallback@EpsCopyInputStream@internal@protobuf@google@@AEAA?AU?$pair@PEBD_N@std@@PEBDH@Z)
implicit_weak_message.obj : error LNK2001: unresolved external symbol "private: struct std::pair<char const *,bool> __cdecl google::protobuf::internal::EpsCopyInputStream::DoneFallback(char const *,int)" (?DoneFallback@EpsCopyInputStream@internal@protobuf@google@@AEAA?AU?$pair@PEBD_N@std@@PEBDH@Z)
message_lite.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::SkipFallback(char const *,int)" (?SkipFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDH@Z)
extension_set.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::SkipFallback(char const *,int)" (?SkipFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDH@Z)
generated_message_table_driven_lite.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::SkipFallback(char const *,int)" (?SkipFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDH@Z)
generated_message_util.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::SkipFallback(char const *,int)" (?SkipFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDH@Z)
implicit_weak_message.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::SkipFallback(char const *,int)" (?SkipFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDH@Z)
message_lite.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::AppendStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?AppendStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
extension_set.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::AppendStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?AppendStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
generated_message_table_driven_lite.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::AppendStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?AppendStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
generated_message_util.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::AppendStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?AppendStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
implicit_weak_message.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::AppendStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?AppendStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
message_lite.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::ReadStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?ReadStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
extension_set.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::ReadStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?ReadStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
generated_message_table_driven_lite.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::ReadStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?ReadStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
generated_message_util.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::ReadStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?ReadStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
implicit_weak_message.obj : error LNK2001: unresolved external symbol "private: char const * __cdecl google::protobuf::internal::EpsCopyInputStream::ReadStringFallback(char const *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?ReadStringFallback@EpsCopyInputStream@internal@protobuf@google@@AEAAPEBDPEBDHPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
.\protobuf_lite.dll : fatal error LNK1120: 5 unresolved externals
Please advise what went wrong and how to fix it.