You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.7 KiB
79 lines
1.7 KiB
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_av_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["frameworks_av_license"],
|
|
}
|
|
|
|
cc_library {
|
|
name: "libheadtracking",
|
|
host_supported: true,
|
|
srcs: [
|
|
"HeadTrackingProcessor.cpp",
|
|
"ModeSelector.cpp",
|
|
"Pose.cpp",
|
|
"PoseDriftCompensator.cpp",
|
|
"PoseRateLimiter.cpp",
|
|
"QuaternionUtil.cpp",
|
|
"ScreenHeadFusion.cpp",
|
|
"Twist.cpp",
|
|
],
|
|
export_include_dirs: [
|
|
"include",
|
|
],
|
|
header_libs: [
|
|
"libeigen",
|
|
],
|
|
export_header_lib_headers: [
|
|
"libeigen",
|
|
],
|
|
}
|
|
|
|
cc_library {
|
|
name: "libheadtracking-binding",
|
|
srcs: [
|
|
"SensorPoseProvider.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libheadtracking",
|
|
"liblog",
|
|
"libsensor",
|
|
"libutils",
|
|
],
|
|
export_shared_lib_headers: [
|
|
"libheadtracking",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "SensorPoseProvider-example",
|
|
srcs: [
|
|
"SensorPoseProvider-example.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libheadtracking",
|
|
"libheadtracking-binding",
|
|
"libsensor",
|
|
"libutils",
|
|
],
|
|
}
|
|
|
|
cc_test_host {
|
|
name: "libheadtracking-test",
|
|
srcs: [
|
|
"HeadTrackingProcessor-test.cpp",
|
|
"ModeSelector-test.cpp",
|
|
"Pose-test.cpp",
|
|
"PoseDriftCompensator-test.cpp",
|
|
"PoseRateLimiter-test.cpp",
|
|
"QuaternionUtil-test.cpp",
|
|
"ScreenHeadFusion-test.cpp",
|
|
"Twist-test.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libheadtracking",
|
|
],
|
|
}
|