commit | 8594e194f7b8089cb5430f2aa16672f2263d3846 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Tue Jul 14 10:34:06 2020 -0700 |
committer | Chris Ye <lzye@google.com> | Tue Jul 14 13:15:19 2020 -0700 |
tree | 7d239f3e544e7f3e5fc8db6bb7a8650ff6e8c87c | |
parent | 044b4dc70dc1db15da4ee0d4352dd2a940952f14 [diff] [blame] |
Use std::filesystem for input event devices scan. Use std::filesystem directory iterator to scan event devices in EventHub. Bug: 160010896 Test: atest inputflinger_tests, atest EventHubTest Change-Id: Ib5658e96783b8a1099fe0a2cb6dda51703045c84
diff --git a/services/inputflinger/tests/Android.bp b/services/inputflinger/tests/Android.bp index eae0963..eb9ac68 100644 --- a/services/inputflinger/tests/Android.bp +++ b/services/inputflinger/tests/Android.bp
@@ -44,5 +44,8 @@ "frameworks/native/libs/input", ], }, + static_libs: [ + "libc++fs" + ], require_root: true, }