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 | |
jiabin | f4eb15a | 2019-08-28 15:31:47 -0700 | [diff] [blame] | 10 | cc_test { |
| 11 | name: "audiopolicy_tests", |
| 12 | |
| 13 | include_dirs: [ |
| 14 | "frameworks/av/services/audiopolicy", |
| 15 | ], |
| 16 | |
| 17 | shared_libs: [ |
| 18 | "libaudioclient", |
| 19 | "libaudiofoundation", |
| 20 | "libaudiopolicy", |
| 21 | "libaudiopolicymanagerdefault", |
| 22 | "libbase", |
| 23 | "libhidlbase", |
| 24 | "liblog", |
| 25 | "libmedia_helper", |
| 26 | "libutils", |
| 27 | "libxml2", |
Svet Ganov | 3376113 | 2021-05-13 22:51:08 +0000 | [diff] [blame] | 28 | "libpermission", |
| 29 | "libbinder", |
jiabin | f4eb15a | 2019-08-28 15:31:47 -0700 | [diff] [blame] | 30 | ], |
| 31 | |
Jiabin Huang | 3b98d32 | 2020-09-03 17:54:16 +0000 | [diff] [blame] | 32 | static_libs: [ |
| 33 | "libaudiopolicycomponents", |
| 34 | "libgmock" |
| 35 | ], |
jiabin | f4eb15a | 2019-08-28 15:31:47 -0700 | [diff] [blame] | 36 | |
| 37 | header_libs: [ |
| 38 | "libaudiopolicycommon", |
| 39 | "libaudiopolicyengine_interface_headers", |
| 40 | "libaudiopolicymanager_interface_headers", |
| 41 | ], |
| 42 | |
| 43 | srcs: ["audiopolicymanager_tests.cpp"], |
| 44 | |
| 45 | data: [":audiopolicytest_configuration_files",], |
| 46 | |
| 47 | cflags: [ |
| 48 | "-Werror", |
| 49 | "-Wall", |
| 50 | ], |
| 51 | |
| 52 | test_suites: ["device-tests"], |
| 53 | |
| 54 | } |
jiabin | b3f9804 | 2019-09-26 17:56:44 -0700 | [diff] [blame] | 55 | |
| 56 | |
| 57 | cc_test { |
| 58 | name: "audio_health_tests", |
jiabin | 30eee0e | 2020-11-10 17:15:17 -0800 | [diff] [blame] | 59 | require_root: true, |
jiabin | b3f9804 | 2019-09-26 17:56:44 -0700 | [diff] [blame] | 60 | |
| 61 | shared_libs: [ |
| 62 | "libaudiofoundation", |
| 63 | "libaudioclient", |
| 64 | "libaudiopolicymanagerdefault", |
| 65 | "liblog", |
| 66 | "libmedia_helper", |
| 67 | "libutils", |
| 68 | ], |
| 69 | |
| 70 | static_libs: ["libaudiopolicycomponents"], |
| 71 | |
| 72 | header_libs: [ |
| 73 | "libaudiopolicyengine_interface_headers", |
| 74 | "libaudiopolicymanager_interface_headers", |
| 75 | ], |
| 76 | |
| 77 | srcs: ["audio_health_tests.cpp"], |
| 78 | |
| 79 | cflags: [ |
| 80 | "-Werror", |
| 81 | "-Wall", |
| 82 | ], |
| 83 | |
| 84 | test_suites: ["device-tests"], |
| 85 | |
| 86 | } |