blob: 3d14bdf28bd41d1c47332314e10f869478c48982 [file] [log] [blame]
Nick Vaccaro8a837082016-12-12 16:50:57 -08001cc_library_static {
2 name: "multihal",
Steven Moreland17d45792017-04-11 14:18:40 -07003 vendor: true,
Nick Vaccaro8a837082016-12-12 16:50:57 -08004 srcs: [
5 "multihal.cpp",
Dan Willemsen86e247a2017-12-18 21:10:37 -08006 "SensorEventQueue.cpp",
Nick Vaccaro8a837082016-12-12 16:50:57 -08007 ],
Tri Vob12ae8c2017-06-23 11:23:54 -07008 header_libs: [
9 "libhardware_headers",
10 ],
Nick Vaccaro8a837082016-12-12 16:50:57 -080011 shared_libs: [
12 "liblog",
13 "libcutils",
14 "libutils",
Dan Willemsen86e247a2017-12-18 21:10:37 -080015 "libdl",
Nick Vaccaro8a837082016-12-12 16:50:57 -080016 ],
17 export_include_dirs: ["."],
Dan Willemsen86e247a2017-12-18 21:10:37 -080018 cflags: [
19 "-Wall",
20 "-Werror",
21 ],
22}
23
24cc_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 Vaccaro8a837082016-12-12 16:50:57 -080039}