aboutsummaryrefslogtreecommitdiff
path: root/light
diff options
context:
space:
mode:
authorSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-13 15:35:47 +0200
committerSebastiano Barezzi <barezzisebastiano@gmail.com>2021-09-13 15:59:52 +0200
commitdfe28813cfd8b53d181ee347008bcb219392b5d3 (patch)
treee18ed87956ddf05e5886b5e7c8ec1e301d19f032 /light
parent91aae6c6d10f6b4c2b9a27085b54995f5ca239e0 (diff)
sdm660-common: Add VINTF fragments to our AIDLs/HIDLs
Change-Id: Ibe89b7a99929cd8e52424be502094997194a476f
Diffstat (limited to 'light')
-rw-r--r--light/Android.bp1
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_sdm660.xml7
2 files changed, 8 insertions, 0 deletions
diff --git a/light/Android.bp b/light/Android.bp
index 1e1b93b..b6910e6 100644
--- a/light/Android.bp
+++ b/light/Android.bp
@@ -17,6 +17,7 @@ cc_binary {
defaults: ["hidl_defaults"],
name: "android.hardware.light@2.0-service.xiaomi_sdm660",
init_rc: ["android.hardware.light@2.0-service.xiaomi_sdm660.rc"],
+ vintf_fragments: ["android.hardware.light@2.0-service.xiaomi_sdm660.xml"],
srcs: ["service.cpp", "Light.cpp"],
shared_libs: [
"libbase",
diff --git a/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml b/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml
new file mode 100644
index 0000000..eac7e85
--- /dev/null
+++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.xml
@@ -0,0 +1,7 @@
+<manifest version="1.0" type="device">
+ <hal format="hidl">
+ <name>android.hardware.light</name>
+ <transport>hwbinder</transport>
+ <fqname>@2.0::ILight/default</fqname>
+ </hal>
+</manifest>