android_device_samsung_msm8.../sensors/Android.bp
Kevin F. Haggerty 5a8d7797df msm8226-common: sensors: Convert to samsung8226 target
Change-Id: Ic897c67c4caf9ba07dc770f19226e016ae9a5d77
2019-10-12 10:26:47 +02:00

64 lines
1.4 KiB
Text

cc_library_static {
name: "multihal-samsung8226",
vendor: true,
srcs: [
"multihal.cpp",
"SensorEventQueue.cpp",
],
header_libs: [
"libhardware_headers",
],
shared_libs: [
"liblog",
"libcutils",
"libutils",
"libdl",
],
export_include_dirs: ["."],
cflags: [
"-Wall",
"-Werror",
],
}
cc_library_shared {
name: "android.hardware.sensors@1.0-impl.samsung8226",
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",
"multihal-samsung8226",
],
local_include_dirs: ["include/sensors"],
}
cc_binary {
name: "android.hardware.sensors@1.0-service.samsung8226",
relative_install_path: "hw",
vendor: true,
init_rc: ["android.hardware.sensors@1.0-service.samsung8226.rc"],
srcs: ["service.cpp"],
shared_libs: [
"liblog",
"libcutils",
"libdl",
"libbase",
"libutils",
"libhidlbase",
"libhidltransport",
"android.hardware.sensors@1.0",
],
}