blob: 542fcaee8dc6e4ae127c2058a418c02373413ee8 [file] [log] [blame]
Devin Moore0b597812022-11-04 20:43:35 +00001package {
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
Devin Mooreca9c28d2022-11-14 19:28:15 +000010cc_library {
Devin Moore0b597812022-11-04 20:43:35 +000011 name: "libsensorserviceaidl",
12 srcs: [
13 "EventQueue.cpp",
14 "DirectReportChannel.cpp",
15 "SensorManager.cpp",
16 "utils.cpp",
17 ],
Devin Mooreca9c28d2022-11-14 19:28:15 +000018 host_supported: true,
Devin Moore0b597812022-11-04 20:43:35 +000019 cflags: [
20 "-Wall",
21 "-Werror",
22 ],
23 header_libs: ["jni_headers"],
24 shared_libs: [
25 "libbase",
26 "libutils",
27 "libcutils",
28 "libbinder_ndk",
29 "libsensor",
30 "android.frameworks.sensorservice-V1-ndk",
Vladimir Komsiyski29d2afd2022-12-06 13:24:10 +010031 "android.hardware.sensors-V2-ndk",
Devin Moore0b597812022-11-04 20:43:35 +000032 ],
33 export_include_dirs: [
34 "include/",
35 ],
36 static_libs: [
37 "android.hardware.sensors-V1-convert",
38 ],
39
40 export_header_lib_headers: ["jni_headers"],
41 local_include_dirs: [
42 "include/sensorserviceaidl/",
43 ],
44}