blob: 0e1af595f000b9fea35fb5dc4a5f8722b625ebf7 [file] [log] [blame]
Yifan Hongc34f57f2017-03-10 14:12:00 -08001cc_library_shared {
2 name: "libsensorservicehidl",
3 srcs: [
Yifan Hong95c7a062017-03-28 19:07:17 -07004 "EventQueue.cpp",
Yifan Hongc34f57f2017-03-10 14:12:00 -08005 "DirectReportChannel.cpp",
6 "SensorManager.cpp",
7 "utils.cpp",
8 ],
9 cflags: [
10 "-Wall",
11 "-Werror",
12 ],
Orion Hodson70e039b2020-04-03 09:42:02 +010013 header_libs: ["jni_headers"],
Yifan Hongc34f57f2017-03-10 14:12:00 -080014 shared_libs: [
15 "libbase",
16 "libhidlbase",
Yifan Hongc34f57f2017-03-10 14:12:00 -080017 "libutils",
18 "libsensor",
19 "android.frameworks.sensorservice@1.0",
20 "android.hardware.sensors@1.0",
Yifan Hongc34f57f2017-03-10 14:12:00 -080021 ],
Yifan Hong95c7a062017-03-28 19:07:17 -070022 static_libs: [
23 "android.hardware.sensors@1.0-convert",
24 ],
Yifan Hongc34f57f2017-03-10 14:12:00 -080025 export_include_dirs: [
26 "include/"
27 ],
Orion Hodson70e039b2020-04-03 09:42:02 +010028 export_header_lib_headers: ["jni_headers"],
Yifan Hongc34f57f2017-03-10 14:12:00 -080029 local_include_dirs: [
30 "include/sensorservicehidl/"
31 ]
32}