Build input-related HAL code for host

This would allow to run some of the tests on host, which is sometimes
convenient when a device is not readily available.

Bug: 249591924
Test: atest --host inputflinger_tests
Change-Id: Ide39bc4beb5174191bdc31e0a9b9f905622fcde5
2 files changed