In
https://codereview.chromium.org/2830653002 I'm moving some code from
core/ to modules/. A consequence of this change is that two core/
methods (in core/layout/api/LayoutSliderItem.h) are no longer called
from core/ but only from modules/.
Two win builders (win_chromium_compile_dbg_ng and win_clang but not
win_chromium_*rel*) are failing to link with an error that looks like
this:
```
[40786/46075] LINK(DLL) blink_modules.dll blink_modules.dll.lib
blink_modules.dll.pdb
FAILED: blink_modules.dll blink_modules.dll.lib blink_modules.dll.pdb
E:/b/depot_tools/python276_bin/python.exe
../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x86
False link.exe /nologo /IMPLIB:./blink_modules.dll.lib /DLL
/OUT:./blink_modules.dll /PDB:./blink_modules.dll.pdb
@./blink_modules.dll.rsp
MediaControlElementsHelper.obj : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: __thiscall
blink::LayoutSliderItem::LayoutSliderItem(class blink::LayoutSlider *)"
(__imp_??0LayoutSliderItem@blink@@QAE@PAVLayoutSlider@1@@Z) referenced
in function "public: static bool __cdecl
blink::MediaControlElementsHelper::IsUserInteractionEventForSlider(class
blink::Event *,class blink::LayoutObject *)"
(?IsUserInteractionEventForSlider@MediaControlElementsHelper@blink@@SA_NPAVEvent@2@PAVLayoutObject@2@@Z)
MediaControlElementsHelper.obj : error LNK2019: unresolved external
symbol "__declspec(dllimport) public: bool __thiscall
blink::LayoutSliderItem::InDragMode(void)const "
(__imp_?InDragMode@LayoutSliderItem@blink@@QBE_NXZ) referenced in
function "public: static bool __cdecl
blink::MediaControlElementsHelper::IsUserInteractionEventForSlider(class
blink::Event *,class blink::LayoutObject *)"
(?IsUserInteractionEventForSlider@MediaControlElementsHelper@blink@@SA_NPAVEvent@2@PAVLayoutObject@2@@Z)
./blink_modules.dll : fatal error LNK1120: 2 unresolved externals
```
Worth noting that the CL does not actually call these methods but only
remove the last callers from core/. I tried to export the class,
explicitly export the two methods that are mentioned (only one is
currently exported) but nothing seems to make the compilers happy.
Any idea why this might be happening? :)
Thanks,
-- Mounir