blob: 3baf73982c4ffc0413799d036b39060e577bccd4 [file] [log] [blame]
Bob Badour56786ac2021-02-25 15:24:36 -08001package {
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
Andy Hungc89c8dc2019-10-16 17:48:21 -070010cc_test {
11 name: "mediametrics_tests",
Ray Essick7f6cde92019-11-17 11:19:44 -080012 test_suites: ["device-tests"],
Andy Hungc89c8dc2019-10-16 17:48:21 -070013
Ray Essicke07dfc62021-03-03 14:49:56 -080014 // 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
Andy Hungc89c8dc2019-10-16 17:48:21 -070018 cflags: [
19 "-Wall",
20 "-Werror",
21 "-Wextra",
22 ],
23
24 include_dirs: [
Ray Essick40e8e5e2019-12-05 20:19:40 -080025 "frameworks/av/services/mediametrics",
Andy Hungc89c8dc2019-10-16 17:48:21 -070026 ],
27
28 shared_libs: [
29 "libbinder",
30 "liblog",
Andy Hungc89c8dc2019-10-16 17:48:21 -070031 "libmediametrics",
Ray Essick40e8e5e2019-12-05 20:19:40 -080032 "libmediametricsservice",
Andy Hunga85efab2019-12-23 11:41:29 -080033 "libmediautils",
Andy Hungc89c8dc2019-10-16 17:48:21 -070034 "libutils",
Jeongik Chaa01ed782021-02-11 09:50:00 +090035 "mediametricsservice-aidl-cpp",
Andy Hungc89c8dc2019-10-16 17:48:21 -070036 ],
37
Andy Hunga629bd12020-06-05 16:03:53 -070038 header_libs: [
39 "libaudioutils_headers",
40 ],
41
Andy Hungc89c8dc2019-10-16 17:48:21 -070042 srcs: [
43 "mediametrics_tests.cpp",
44 ],
45}