2017-09-05 19:45:00 +02:00
|
|
|
cc_library_static {
|
2017-09-05 19:46:00 +02:00
|
|
|
name: "multihal-samsung8974",
|
2017-09-05 19:45:00 +02:00
|
|
|
vendor: true,
|
|
|
|
srcs: [
|
|
|
|
"multihal.cpp",
|
2018-09-21 06:46:44 +02:00
|
|
|
"SensorEventQueue.cpp",
|
2017-09-05 19:45:00 +02:00
|
|
|
],
|
|
|
|
header_libs: [
|
|
|
|
"libhardware_headers",
|
|
|
|
],
|
|
|
|
shared_libs: [
|
|
|
|
"liblog",
|
|
|
|
"libcutils",
|
|
|
|
"libutils",
|
2018-09-21 06:46:44 +02:00
|
|
|
"libdl",
|
2017-09-05 19:45:00 +02:00
|
|
|
],
|
|
|
|
export_include_dirs: ["."],
|
2018-09-21 06:46:44 +02:00
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
],
|
2017-09-05 19:45:00 +02:00
|
|
|
}
|
2018-09-21 18:08:09 +02:00
|
|
|
|
|
|
|
cc_library_shared {
|
2018-09-21 18:13:05 +02:00
|
|
|
name: "android.hardware.sensors@1.0-impl.samsung8974",
|
2018-09-21 18:08:09 +02:00
|
|
|
defaults: ["hidl_defaults"],
|
|
|
|
proprietary: true,
|
|
|
|
relative_install_path: "hw",
|
|
|
|
srcs: ["Sensors.cpp"],
|
|
|
|
shared_libs: [
|
|
|
|
"liblog",
|
|
|
|
"libcutils",
|
|
|
|
"libhardware",
|
|
|
|
"libbase",
|
|
|
|
"libutils",
|
|
|
|
"libhidlbase",
|
|
|
|
"libhidltransport",
|
|
|
|
"android.hardware.sensors@1.0",
|
|
|
|
],
|
|
|
|
static_libs: [
|
|
|
|
"android.hardware.sensors@1.0-convert",
|
2018-09-21 18:13:05 +02:00
|
|
|
"multihal-samsung8974",
|
2018-09-21 18:08:09 +02:00
|
|
|
],
|
|
|
|
local_include_dirs: ["include/sensors"],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_binary {
|
2018-09-21 18:13:05 +02:00
|
|
|
name: "android.hardware.sensors@1.0-service.samsung8974",
|
2018-09-21 18:08:09 +02:00
|
|
|
relative_install_path: "hw",
|
|
|
|
vendor: true,
|
2018-09-21 18:13:05 +02:00
|
|
|
init_rc: ["android.hardware.sensors@1.0-service.samsung8974.rc"],
|
2018-09-21 18:08:09 +02:00
|
|
|
srcs: ["service.cpp"],
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"liblog",
|
|
|
|
"libcutils",
|
|
|
|
"libdl",
|
|
|
|
"libbase",
|
|
|
|
"libutils",
|
|
|
|
"libhidlbase",
|
|
|
|
"libhidltransport",
|
|
|
|
"android.hardware.sensors@1.0",
|
|
|
|
],
|
|
|
|
}
|