Merge changes Iaa3f2e34,I4fabb513

* changes:
  Link libinput statically for inputflinger_tests
  Add libpalmrejection_test to inputflinger presubmit