45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
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-V2-ndk",
|
|
],
|
|
export_include_dirs: [
|
|
"include/",
|
|
],
|
|
static_libs: [
|
|
"android.hardware.sensors-V1-convert",
|
|
],
|
|
|
|
export_header_lib_headers: ["jni_headers"],
|
|
local_include_dirs: [
|
|
"include/sensorserviceaidl/",
|
|
],
|
|
}
|