1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5cc_library_static { 6 name: "libsensorndkutils", 7 srcs: [ 8 "direct_channel_buffer_reader.cc", 9 ], 10 cflags: ["-Wall", "-Werror"], 11 shared_libs: [ 12 "libbase", 13 ], 14 header_libs: [ 15 "libhardware_headers", 16 ], 17 host_supported: true, 18} 19 20cc_test { 21 name: "libsensorndkutils_test", 22 srcs: ["direct_channel_buffer_reader_test.cc"], 23 shared_libs: [ 24 "libbase", 25 ], 26 static_libs: [ 27 "libgtest", 28 "libsensorndkutils", 29 ], 30 host_supported: true, 31} 32