New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 670094 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

ServiceTest doesn't work in component build when service depends on other shared library

Project Member Reported by xhw...@chromium.org, Nov 30 2016

Issue description

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 2017

Components: -Internals>Mojo Internals>ServiceManager
Status: WontFix (was: Available)
No longer an issue since service binaries are now standalone executables rather than DSOs.

Comment 2 by laforge@google.com, Nov 1 2017

Components: -Internals>ServiceManager Internals>Services>ServiceManager

Sign in to add a comment