blob: 9bafb3cf95912ffe988e5e201751db2f3f889374 [file] [log] [blame]
Bob Badour3c538232021-02-12 21:26:48 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_native_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_native_license"],
8}
9
Yifan Hongc34f57f2017-03-10 14:12:00 -080010cc_library_shared {
11 name: "libsensorservicehidl",
12 srcs: [
Yifan Hong95c7a062017-03-28 19:07:17 -070013 "EventQueue.cpp",
Yifan Hongc34f57f2017-03-10 14:12:00 -080014 "DirectReportChannel.cpp",
15 "SensorManager.cpp",
16 "utils.cpp",
17 ],
18 cflags: [
19 "-Wall",
20 "-Werror",
21 ],
Orion Hodson70e039b2020-04-03 09:42:02 +010022 header_libs: ["jni_headers"],
Yifan Hongc34f57f2017-03-10 14:12:00 -080023 shared_libs: [
24 "libbase",
25 "libhidlbase",
Yifan Hongc34f57f2017-03-10 14:12:00 -080026 "libutils",
27 "libsensor",
28 "android.frameworks.sensorservice@1.0",
29 "android.hardware.sensors@1.0",
Yifan Hongc34f57f2017-03-10 14:12:00 -080030 ],
Yifan Hong95c7a062017-03-28 19:07:17 -070031 static_libs: [
32 "android.hardware.sensors@1.0-convert",
33 ],
Yifan Hongc34f57f2017-03-10 14:12:00 -080034 export_include_dirs: [
35 "include/"
36 ],
Orion Hodson70e039b2020-04-03 09:42:02 +010037 export_header_lib_headers: ["jni_headers"],
Yifan Hongc34f57f2017-03-10 14:12:00 -080038 local_include_dirs: [
39 "include/sensorservicehidl/"
40 ]
41}