1cc_library_static { 2 name: "multihal", 3 vendor: true, 4 srcs: [ 5 "multihal.cpp", 6 "SensorEventQueue.cpp", 7 ], 8 header_libs: [ 9 "libhardware_headers", 10 ], 11 shared_libs: [ 12 "liblog", 13 "libcutils", 14 "libutils", 15 "libdl", 16 ], 17 export_include_dirs: ["."], 18 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 ], 39} 40