1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_av_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_av_license"], 8} 9 10cc_test { 11 name: "mediametrics_tests", 12 test_suites: ["device-tests"], 13 14 // not all shared libraries are populated in the 2nd architecture in 15 // particular, libmediametricsservice we use to have a tame copy of the service 16 compile_multilib: "first", 17 18 cflags: [ 19 "-Wall", 20 "-Werror", 21 "-Wextra", 22 ], 23 24 include_dirs: [ 25 "frameworks/av/services/mediametrics", 26 ], 27 28 shared_libs: [ 29 "libbinder", 30 "liblog", 31 "libmediametrics", 32 "libmediametricsservice", 33 "libmediautils", 34 "libutils", 35 "mediametricsservice-aidl-cpp", 36 "packagemanager_aidl-cpp", 37 ], 38 39 header_libs: [ 40 "libaudioutils_headers", 41 ], 42 43 srcs: [ 44 "mediametrics_tests.cpp", 45 ], 46} 47