a10: Fixup issues with sensor hal

Imported sensor hal source from android 12L, rebranded and make it compile as 32bit
This commit is contained in:
roynatech2544 2022-05-04 20:22:06 +09:00
commit cdc2de72fc
No known key found for this signature in database
GPG key ID: 50ABF73F0D19445D
5 changed files with 62 additions and 0 deletions

19
a10/sensor/Android.bp Normal file
View file

@ -0,0 +1,19 @@
cc_binary {
name: "android.hardware.sensors@1.0-service.a10",
relative_install_path: "hw",
vendor: true,
init_rc: ["android.hardware.sensors@1.0-service.a10.rc"],
srcs: ["service.cpp"],
compile_multilib: "32",
shared_libs: [
"liblog",
"libcutils",
"libdl",
"libbase",
"libutils",
"libhidlbase",
"android.hardware.sensors@1.0",
],
}