Chrome Version: M57
OS: Linux
What steps will reproduce the problem?
(1) Build mus_clipboard_unittests with is_component_build=true
(2) Run the test:
out/GN/mus_clipboard_unittests --gtest_filter=ClipboardAppTest.EmptyClipboardOK
What is the expected result?
Test passes.
What happens instead?
Test failed because ui.library cannot find it's dependency libcc_surfaces.so.
[1894:1894:1130/145747:1401578571716:ERROR:native_library_runner.cc(46)] Failed to load library (path: /usr/local/google/workspace/chrome2/src/out/GN_Cast/Packages/ui/ui.library reason: libcc_surfaces.so: cannot open shared object file: No such file or directory)
I don't feel there's anything wrong with mus_clipboard_unittests. I am only using it as an example. This is also affecting MediaServiceTest for the same reason.
The fundamental problem is that we cannot load *.library's dependencies when we build component build.
Comment 1 by roc...@chromium.org
, May 29 2017Status: WontFix (was: Available)