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 | |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 10 | cc_defaults { |
| 11 | name: "libaudioclient_tests_defaults", |
| 12 | cflags: [ |
| 13 | "-Wall", |
| 14 | "-Werror", |
| 15 | ], |
| 16 | } |
| 17 | |
| 18 | cc_test { |
Andy Hung | 1131b6e | 2020-12-08 20:47:45 -0800 | [diff] [blame] | 19 | name: "audio_aidl_status_tests", |
| 20 | defaults: ["libaudioclient_tests_defaults"], |
| 21 | srcs: ["audio_aidl_status_tests.cpp"], |
| 22 | shared_libs: [ |
| 23 | "libaudioclient_aidl_conversion", |
| 24 | "libbinder", |
| 25 | "libcutils", |
| 26 | "libutils", |
| 27 | ], |
| 28 | } |
| 29 | |
| 30 | cc_test { |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 31 | name: "test_create_audiotrack", |
| 32 | defaults: ["libaudioclient_tests_defaults"], |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 33 | srcs: ["test_create_audiotrack.cpp", |
| 34 | "test_create_utils.cpp"], |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 35 | header_libs: [ |
| 36 | "libmedia_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 37 | "libmediametrics_headers", |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 38 | ], |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 39 | shared_libs: [ |
| 40 | "libaudioclient", |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 41 | "libbinder", |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 42 | "libcutils", |
| 43 | "libutils", |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 44 | ], |
| 45 | data: ["track_test_input_*.txt"], |
| 46 | } |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 47 | |
| 48 | cc_test { |
| 49 | name: "test_create_audiorecord", |
| 50 | defaults: ["libaudioclient_tests_defaults"], |
| 51 | srcs: ["test_create_audiorecord.cpp", |
| 52 | "test_create_utils.cpp"], |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 53 | header_libs: [ |
| 54 | "libmedia_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 55 | "libmediametrics_headers", |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 56 | ], |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 57 | shared_libs: [ |
| 58 | "libaudioclient", |
| 59 | "libbinder", |
| 60 | "libcutils", |
| 61 | "libutils", |
| 62 | ], |
| 63 | data: ["record_test_input_*.txt"], |
| 64 | } |