Build input fuzzers for host
Currently, our fuzzers are only built for device. In this CL, we
unify some of the Android.bp definitions and allow building these for
host.
Bug: 271455682
Test: m checkinput
Change-Id: I2140c6ceb34aefb997d94ce36a4acdf9073594cc
diff --git a/services/inputflinger/Android.bp b/services/inputflinger/Android.bp
index 86b3bde..dc7c75a 100644
--- a/services/inputflinger/Android.bp
+++ b/services/inputflinger/Android.bp
@@ -106,6 +106,13 @@
"libstatspull",
"libstatssocket",
],
+ include_dirs: [
+ "bionic/libc/kernel/android/uapi/",
+ "bionic/libc/kernel/uapi",
+ ],
+ cflags: [
+ "-D__ANDROID_HOST__",
+ ],
},
},
}