Add input flags for event verification
We will try to roll them out to improve the correctness of the input
streams.
Bug: 271455682
Test: atest inputflinger_tests
Change-Id: I03ad327cf86b19220b5a6344b77b446dd7360ab9
diff --git a/libs/input/Android.bp b/libs/input/Android.bp
index 8656b26..36a01d3 100644
--- a/libs/input/Android.bp
+++ b/libs/input/Android.bp
@@ -33,6 +33,21 @@
],
}
+/////////////////////////////////////////////////
+// flags
+/////////////////////////////////////////////////
+aconfig_declarations {
+ name: "aconfig_input_flags",
+ package: "com.android.input.flags",
+ srcs: ["input_flags.aconfig"],
+}
+
+cc_aconfig_library {
+ name: "aconfig_input_flags_c_lib",
+ aconfig_declarations: "aconfig_input_flags",
+ host_supported: true,
+}
+
aidl_interface {
name: "inputconstants",
host_supported: true,
@@ -176,6 +191,7 @@
"libtinyxml2",
"libutils",
"libvintf",
+ "server_configurable_flags",
],
ldflags: [
@@ -196,6 +212,7 @@
],
whole_static_libs: [
+ "aconfig_input_flags_c_lib",
"libinput_rust_ffi",
],