Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 1 | cc_library_static { |
| 2 | name: "multihal", |
Steven Moreland | 17d4579 | 2017-04-11 14:18:40 -0700 | [diff] [blame] | 3 | vendor: true, |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 4 | srcs: [ |
| 5 | "multihal.cpp", |
Dan Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame^] | 6 | "SensorEventQueue.cpp", |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 7 | ], |
Tri Vo | b12ae8c | 2017-06-23 11:23:54 -0700 | [diff] [blame] | 8 | header_libs: [ |
| 9 | "libhardware_headers", |
| 10 | ], |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 11 | shared_libs: [ |
| 12 | "liblog", |
| 13 | "libcutils", |
| 14 | "libutils", |
Dan Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame^] | 15 | "libdl", |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 16 | ], |
| 17 | export_include_dirs: ["."], |
Dan Willemsen | 86e247a | 2017-12-18 21:10:37 -0800 | [diff] [blame^] | 18 | cflags: [ |
| 19 | "-Wall", |
| 20 | "-Werror", |
| 21 | ], |
| 22 | } |
| 23 | |
| 24 | cc_test_host { |
| 25 | name: "sensorstests", |
| 26 | gtest: false, |
| 27 | srcs: [ |
| 28 | "SensorEventQueue.cpp", |
| 29 | "tests/SensorEventQueue_test.cpp", |
| 30 | ], |
| 31 | static_libs: [ |
| 32 | "libcutils", |
| 33 | "libutils", |
| 34 | ], |
| 35 | cflags: [ |
| 36 | "-Wall", |
| 37 | "-Werror", |
| 38 | ], |
Nick Vaccaro | 8a83708 | 2016-12-12 16:50:57 -0800 | [diff] [blame] | 39 | } |