diff options
-rw-r--r-- | libs/input/Android.bp | 1 | ||||
-rw-r--r-- | services/inputflinger/tests/Android.bp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libs/input/Android.bp b/libs/input/Android.bp index e73c3b8518..930d8194d5 100644 --- a/libs/input/Android.bp +++ b/libs/input/Android.bp @@ -35,6 +35,7 @@ filegroup { cc_library { name: "libinput", + cpp_std: "c++20", host_supported: true, cflags: [ "-Wall", diff --git a/services/inputflinger/tests/Android.bp b/services/inputflinger/tests/Android.bp index e68692474d..d19dbaf009 100644 --- a/services/inputflinger/tests/Android.bp +++ b/services/inputflinger/tests/Android.bp @@ -57,7 +57,8 @@ cc_test { ], }, static_libs: [ - "libc++fs" + "libc++fs", + "libinput", ], require_root: true, test_suites: ["device-tests"], |