Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 1 | package { |
| 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 Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 10 | cc_test { |
| 11 | name: "mediametrics_tests", |
Ray Essick | 7f6cde9 | 2019-11-17 11:19:44 -0800 | [diff] [blame] | 12 | test_suites: ["device-tests"], |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 13 | |
Ray Essick | e07dfc6 | 2021-03-03 14:49:56 -0800 | [diff] [blame] | 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 | |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 18 | cflags: [ |
| 19 | "-Wall", |
| 20 | "-Werror", |
| 21 | "-Wextra", |
| 22 | ], |
| 23 | |
| 24 | include_dirs: [ |
Ray Essick | 40e8e5e | 2019-12-05 20:19:40 -0800 | [diff] [blame] | 25 | "frameworks/av/services/mediametrics", |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 26 | ], |
| 27 | |
| 28 | shared_libs: [ |
| 29 | "libbinder", |
| 30 | "liblog", |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 31 | "libmediametrics", |
Ray Essick | 40e8e5e | 2019-12-05 20:19:40 -0800 | [diff] [blame] | 32 | "libmediametricsservice", |
Andy Hung | a85efab | 2019-12-23 11:41:29 -0800 | [diff] [blame] | 33 | "libmediautils", |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 34 | "libutils", |
Jeongik Cha | a01ed78 | 2021-02-11 09:50:00 +0900 | [diff] [blame] | 35 | "mediametricsservice-aidl-cpp", |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 36 | ], |
| 37 | |
Andy Hung | a629bd1 | 2020-06-05 16:03:53 -0700 | [diff] [blame] | 38 | header_libs: [ |
| 39 | "libaudioutils_headers", |
| 40 | ], |
| 41 | |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 42 | srcs: [ |
| 43 | "mediametrics_tests.cpp", |
| 44 | ], |
| 45 | } |