-
Notifications
You must be signed in to change notification settings - Fork 78
Avoid un-necessary dependencies for different targets. #204
Comments
I was actually starting to design something to fix this in my head, therefore I'm very glad you brought this in time here @kalyankondapally. Thank you. I think those three patches are definitely going to the right direction, but for me there are a couple of things we need to understand better before starting to actually cook patches. I see that the following are the most important ones to be addressed:
take for example 'gpu_unittests' target (I think 'aura_demo' has similar problems). Although it shouldn't rely on views layer (it's a higher level concept), it's currently trying to build views::DesktopFactoryOzone implementation which is very wrong. I was thinking that maybe the OzonePlatformWayland has to call DesktopFactoryOzone, which in turn dynamically load the dependencies (is it feasible? dunno). Besides, we're referencing content API (content::ChildProcess::current(), among others) inside Ozone-Wayland and gpu_unittests don't actually depend on it, which fails the compilation with undefined symbols; most of the dependencies are related to the OzoneDisplayChannel actually and I'm not sure how to address this. wdyt? |
we have few things to fix and you have already identified some of them. I see these are initial steps and once done, we can take things from their on. |
The importance of Step 1 We do have an "Embedded" target which is a minimum content shell. This disables Toolkit Views. This should get us working with a minimum set of tests and see if we need to fix them for Wayland |
Solved everything in scope of this bug. We should open new issues as found and fix them. |
As things have settled down stability wise, we should continue doing the work from previous release of avoiding unnecessary layer violations.
Even though the target is to achieve it before next Milestone, we need to avoid any regressions.
Dependency: None.
Blocks: None.
SubTasks: #205, #208. #215
The text was updated successfully, but these errors were encountered: