rosemary: sensors: Add hals.conf as a required prebuilt

Change-Id: I634ac114824c992736a30053aa3f3e05da5da330
This commit is contained in:
Alexander Koskovich
2023-07-21 13:24:50 +01:00
committed by Matsvei Niaverau
parent eb172fc6cf
commit 1b43808a56
3 changed files with 10 additions and 1 deletions

View File

@@ -2556,7 +2556,6 @@ vendor/etc/init/android.hardware.secure_element@1.2-service-mediatek.rc
# Sensors
vendor/bin/sensors_test
vendor/etc/sensors/hals.conf
vendor/etc/cit_config.xml
vendor/etc/elliptic_sensor.xml
vendor/lib/libakm.so

View File

@@ -18,6 +18,7 @@ cc_binary {
defaults: [
"hidl_defaults",
],
required: ["hals.conf"],
vendor: true,
relative_install_path: "hw",
srcs: [
@@ -47,3 +48,10 @@ cc_binary {
"android.hardware.sensors@2.X-multihal",
],
}
prebuilt_etc {
name: "hals.conf",
src: "hals.conf",
sub_dir: "sensors",
vendor: true,
}

2
sensors/hals.conf Normal file
View File

@@ -0,0 +1,2 @@
/vendor/lib64/hw/sensors.elliptic.so
/vendor/lib64/hw/android.hardware.sensors@2.X-subhal-mediatek.so