Mir

Merge lp://qastaging/~alan-griffiths/mir/fix-1483223 into lp://qastaging/mir

Proposed by Alan Griffiths
Status: Work in progress
Proposed branch: lp://qastaging/~alan-griffiths/mir/fix-1483223
Merge into: lp://qastaging/mir
Prerequisite: lp://qastaging/~alan-griffiths/mir/prerequsites-for-fixing-1483223
Diff against target: 5491 lines (+52/-5300)
14 files modified
3rd_party/android-input/android/CMakeLists.txt (+9/-31)
3rd_party/android-input/android/frameworks/base/services/input/InputApplication.cpp (+0/-42)
3rd_party/android-input/android/frameworks/base/services/input/InputDispatcher.cpp (+0/-4312)
3rd_party/android-input/android/frameworks/base/services/input/InputWindow.cpp (+0/-65)
3rd_party/android-input/android/frameworks/base/services/input/PointerController.cpp (+0/-276)
3rd_party/android-input/android/frameworks/native/libs/utils/Looper.cpp (+0/-561)
benchmarks/android-input/CMakeLists.txt (+0/-1)
src/client/CMakeLists.txt (+11/-2)
src/client/input/CMakeLists.txt (+0/-5)
src/client/symbols.map (+31/-1)
src/server/CMakeLists.txt (+0/-1)
src/utils/CMakeLists.txt (+1/-1)
tests/integration-tests/CMakeLists.txt (+0/-1)
tests/unit-tests/CMakeLists.txt (+0/-1)
To merge this branch: bzr merge lp://qastaging/~alan-griffiths/mir/fix-1483223
Reviewer Review Type Date Requested Status
Daniel van Vugt Needs Information
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+267664@code.qastaging.launchpad.net

Commit message

Put the former android-input-static library into mirclient (instead of linking it into both mirclient and mirserver).

Description of the change

Put the former android-input-static library into mirclient (instead of linking it into both mirclient and mirserver).

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
2838. By Alan Griffiths

Remove parts of android input not used by libmirclient (or libmirserver)

2839. By Alan Griffiths

merge lp:mir

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

I'm a little puzzled how things ever worked.

All the android-input stuff that remains here is (at least transitively) used in mirclient.

But that includes use of udev code that lives in mirplatform (until lp:~alan-griffiths/mir/prerequsites-for-fixing-1483223)

So how did clients ever link?

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

OTOH this series does pull more stuff into libmirclient, so I've got something wrong in the above reasoning.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Wow, 5k lines of diff by removing dead code!?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The best news is input-reader-perf.bin is 10MB smaller.

And libmirserver is 6MB smaller, but libmircommon+libmirclient are now bigger to compensate. So the overall gain is almost negligible.

(1) Shouldn't MIR_CLIENT_DETAIL_9 become MIR_CLIENT_DETAIL_9.1 for new functions? Even as an internal ABI I feel we should probably manage it like the others.

(2) Doesn't putting the input code into libmircommon make more sense than libmirclient? I gather that would require moving some exception code mentioned in the bug. But it feels like we're using libmirclient as a helper library for libmirserver, which seems ugly. This isn't a new problem; libmirserver is already linking to libmirclient to support nesting (I assume), but I thought that was something we'd like to move away from eventually.

review: Needs Information

Unmerged revisions

2839. By Alan Griffiths

merge lp:mir

2838. By Alan Griffiths

Remove parts of android input not used by libmirclient (or libmirserver)

2837. By Alan Griffiths

merge lp:mir

2836. By Alan Griffiths

Move android-input-static to mirclient

2835. By Alan Griffiths

Revert libmirserver soname bump

2834. By Alan Griffiths

Fix thinko (we're still on 0.16)

2833. By Alan Griffiths

mirserver ABI break - bump the soname

2832. By Alan Griffiths

mirserver ABI break - bump the soname

2831. By Alan Griffiths

Fix symbol versioning in mircommon

2830. By Alan Griffiths

Move mir::udev to common

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches