Ytai Ben-Tsvi | cbee7d4 | 2021-06-15 00:39:31 -0700 | [diff] [blame^] | 1 | cc_library { |
| 2 | name: "libheadtracking", |
| 3 | host_supported: true, |
| 4 | srcs: [ |
| 5 | "HeadTrackingProcessor.cpp", |
| 6 | "ModeSelector.cpp", |
| 7 | "Pose.cpp", |
| 8 | "PoseDriftCompensator.cpp", |
| 9 | "PoseRateLimiter.cpp", |
| 10 | "QuaternionUtil.cpp", |
| 11 | "ScreenHeadFusion.cpp", |
| 12 | "Twist.cpp", |
| 13 | ], |
| 14 | export_include_dirs: [ |
| 15 | "include", |
| 16 | ], |
| 17 | header_libs: [ |
| 18 | "libeigen", |
| 19 | ], |
| 20 | export_header_lib_headers: [ |
| 21 | "libeigen", |
| 22 | ], |
| 23 | } |
| 24 | |
| 25 | cc_test_host { |
| 26 | name: "libheadtracking-test", |
| 27 | srcs: [ |
| 28 | "HeadTrackingProcessor-test.cpp", |
| 29 | "ModeSelector-test.cpp", |
| 30 | "Pose-test.cpp", |
| 31 | "PoseDriftCompensator-test.cpp", |
| 32 | "PoseRateLimiter-test.cpp", |
| 33 | "QuaternionUtil-test.cpp", |
| 34 | "ScreenHeadFusion-test.cpp", |
| 35 | "Twist-test.cpp", |
| 36 | ], |
| 37 | shared_libs: [ |
| 38 | "libheadtracking", |
| 39 | ], |
| 40 | } |