jiabin | 6607c08 | 2019-09-23 12:33:59 -0700 | [diff] [blame] | 1 | // system/audio.h utilities test |
| 2 | |
Bob Badour | 8117c2a | 2021-02-03 18:31:58 -0800 | [diff] [blame] | 3 | package { |
| 4 | // http://go/android-license-faq |
| 5 | // A large-scale-change added 'default_applicable_licenses' to import |
| 6 | // the below license kinds from "system_media_license": |
| 7 | // SPDX-license-identifier-Apache-2.0 |
| 8 | default_applicable_licenses: ["system_media_license"], |
| 9 | } |
| 10 | |
jiabin | 6607c08 | 2019-09-23 12:33:59 -0700 | [diff] [blame] | 11 | cc_test { |
| 12 | name: "systemaudio_tests", |
| 13 | |
| 14 | shared_libs: [ |
| 15 | "libaudiofoundation", |
| 16 | "libbase", |
| 17 | "liblog", |
| 18 | "libmedia_helper", |
| 19 | "libutils", |
| 20 | ], |
| 21 | |
| 22 | header_libs: ["libmedia_headers"], |
| 23 | |
Mikhail Naganov | 1c7d995 | 2020-10-08 16:01:19 -0700 | [diff] [blame] | 24 | srcs: [ |
| 25 | "static_checks_c.c", |
| 26 | "static_checks.cpp", |
| 27 | "systemaudio_tests.cpp", |
| 28 | ], |
jiabin | 6607c08 | 2019-09-23 12:33:59 -0700 | [diff] [blame] | 29 | |
| 30 | cflags: [ |
| 31 | "-Werror", |
| 32 | "-Wall", |
| 33 | ], |
| 34 | |
| 35 | test_suites: ["device-tests"], |
| 36 | |
| 37 | } |