Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0f00ad9c authored by Cody Heiner's avatar Cody Heiner
Browse files

Remove build dependency of surfaceflinger on libinput

frameworks/native/libs/input:
 - Extract commonly used input aidl files to a static library
   `iinputflinger_aidl_lib_static`.
 - Update `libinput` to use this library instead of aidl sources.

frameworks/native/services/surfaceflinger:
 - Replace surfaceflinger dependency on `libinput` with
   `iinputflinger_aidl_lib_static`.

vendor/google_arc/libs/libsurfaceflinger_arc:
 - We have to add back the dependency on `libinput` here, since
   surfaceflinger_arc depends on `libinput_serialtracker`, which
   uses libinput definitions.

Note: We may want to try to remove the surfaceflinger_arc
dependency on libinput in a follow-up change.

Test: m checkinput
Test: m surfaceflinger && m libsurfaceflinger_arc_test && m surfaceflinger_service_fuzzer
Test: Flash to device (tangorpro) and device boots normally.
Test: Input functions normally (manual test of stylus prediction shows MotionPredictor working and prediction metrics to be reasonable).

Bug: 325334079

Change-Id: Id549d0f6c4f3cd85d4cba5d6f8f969327f7b6de1
parent 7fcacac5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment