universal7885: import light HAL from hardware/samsung

* Added .clang-format symlink
* Undefine non-existent nodes in header file

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2021-11-19 11:32:20 +09:00
commit 84b8328a01
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
11 changed files with 437 additions and 10 deletions

View file

@ -0,0 +1,20 @@
cc_binary {
name: "android.hardware.light@2.0-service.eureka",
relative_install_path: "hw",
init_rc: ["android.hardware.light@2.0-service.eureka.rc"],
vintf_fragments: ["android.hardware.light@2.0-service.eureka.xml"],
vendor: true,
shared_libs: [
"libbase",
"libhardware",
"libhidlbase",
"libutils",
"liblog",
"android.hardware.light@2.0",
],
srcs: [
"Light.cpp",
"service.cpp",
],
}