blob: b9a34917479d8d8d3b3dded4980327da6cef7b26 [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_native_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_native_license"],
}
cc_library {
name: "libsensorserviceaidl",
srcs: [
"EventQueue.cpp",
"DirectReportChannel.cpp",
"SensorManager.cpp",
"utils.cpp",
],
host_supported: true,
cflags: [
"-Wall",
"-Werror",
],
header_libs: ["jni_headers"],
shared_libs: [
"libbase",
"libutils",
"libcutils",
"libbinder_ndk",
"libsensor",
"android.frameworks.sensorservice-V1-ndk",
"android.hardware.sensors-V3-ndk",
],
export_include_dirs: [
"include/",
],
static_libs: [
"android.hardware.sensors-V1-convert",
],
export_header_lib_headers: ["jni_headers"],
local_include_dirs: [
"include/sensorserviceaidl/",
],
}