| Bob Badour | 948e6aa | 2021-02-12 21:02:31 -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 { |
| 19 | name: "test_create_audiotrack", |
| 20 | defaults: ["libaudioclient_tests_defaults"], |
| Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 21 | srcs: ["test_create_audiotrack.cpp", |
| 22 | "test_create_utils.cpp"], |
| Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 23 | header_libs: [ |
| 24 | "libmedia_headers", |
| Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 25 | "libmediametrics_headers", |
| Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 26 | ], |
| Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 27 | shared_libs: [ |
| 28 | "libaudioclient", |
| Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 29 | "libbinder", |
| Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 30 | "libcutils", |
| 31 | "libutils", |
| Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 32 | ], |
| 33 | data: ["track_test_input_*.txt"], |
| 34 | } |
| Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 35 | |
| 36 | cc_test { |
| 37 | name: "test_create_audiorecord", |
| 38 | defaults: ["libaudioclient_tests_defaults"], |
| 39 | srcs: ["test_create_audiorecord.cpp", |
| 40 | "test_create_utils.cpp"], |
| Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 41 | header_libs: [ |
| 42 | "libmedia_headers", |
| Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 43 | "libmediametrics_headers", |
| Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 44 | ], |
| Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 45 | shared_libs: [ |
| 46 | "libaudioclient", |
| 47 | "libbinder", |
| 48 | "libcutils", |
| 49 | "libutils", |
| 50 | ], |
| 51 | data: ["record_test_input_*.txt"], |
| 52 | } |