1package { 2 // See: http://go/android-license-faq 3 default_applicable_licenses: ["frameworks_native_license"], 4} 5 6cc_library { 7 name: "libbattery", 8 srcs: [ 9 "LongArrayMultiStateCounter.cpp", 10 ], 11 shared_libs: [ 12 "liblog", 13 ], 14 cflags: [ 15 "-Werror", 16 "-Wall", 17 "-Wextra", 18 ], 19 export_include_dirs: ["."], 20} 21 22cc_test { 23 name: "libbattery_test", 24 srcs: [ 25 "MultiStateCounterTest.cpp", 26 "LongArrayMultiStateCounterTest.cpp", 27 ], 28 static_libs: ["libbattery"], 29 shared_libs: [ 30 "liblog", 31 ], 32 cflags: [ 33 "-Werror", 34 "-Wall", 35 "-Wextra", 36 ], 37} 38