From a65f581ea3537424cc6cfab1c7aa69e60b9797db Mon Sep 17 00:00:00 2001 From: Siarhei Vishniakou Date: Fri, 30 Sep 2022 07:27:13 -0700 Subject: [PATCH] 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 --- input/common/aidl/Android.bp | 1 + input/processor/aidl/Android.bp | 1 + 2 files changed, 2 insertions(+) diff --git a/input/common/aidl/Android.bp b/input/common/aidl/Android.bp index 390d8b54b1..95a14b286b 100644 --- a/input/common/aidl/Android.bp +++ b/input/common/aidl/Android.bp @@ -9,6 +9,7 @@ package { aidl_interface { name: "android.hardware.input.common", + host_supported: true, vendor_available: true, srcs: ["android/hardware/input/common/*.aidl"], stability: "vintf", diff --git a/input/processor/aidl/Android.bp b/input/processor/aidl/Android.bp index 354816ec74..773bb493bf 100644 --- a/input/processor/aidl/Android.bp +++ b/input/processor/aidl/Android.bp @@ -9,6 +9,7 @@ package { aidl_interface { name: "android.hardware.input.processor", + host_supported: true, vendor_available: true, srcs: ["android/hardware/input/processor/*.aidl"], imports: [