Saketh Sathuvalli | 4ece3e0 | 2020-07-19 21:19:39 +0530 | [diff] [blame] | 1 | // audio preprocessing unit test |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 2 | package { |
Ronish Kalia | b5dd44b | 2024-02-14 14:32:32 +0000 | [diff] [blame^] | 3 | default_team: "trendy_team_media_framework_audio", |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 4 | // See: http://go/android-license-faq |
| 5 | // A large-scale-change added 'default_applicable_licenses' to import |
| 6 | // all of the 'license_kinds' from "frameworks_av_media_libeffects_preprocessing_license" |
| 7 | // to get the below license kinds: |
| 8 | // SPDX-license-identifier-Apache-2.0 |
| 9 | default_applicable_licenses: [ |
| 10 | "frameworks_av_media_libeffects_preprocessing_license", |
| 11 | ], |
| 12 | } |
| 13 | |
Saketh Sathuvalli | 4ece3e0 | 2020-07-19 21:19:39 +0530 | [diff] [blame] | 14 | cc_test { |
Rivukanta Bhattacharya | b9116da | 2021-03-11 04:32:54 +0530 | [diff] [blame] | 15 | name: "EffectPreprocessingTest", |
Harish Mahendrakar | 70036ac | 2021-03-16 17:42:59 -0700 | [diff] [blame] | 16 | defaults: ["libaudiopreprocessing-defaults"], |
Rivukanta Bhattacharya | b9116da | 2021-03-11 04:32:54 +0530 | [diff] [blame] | 17 | gtest: true, |
Rivukanta Bhattacharya | b9116da | 2021-03-11 04:32:54 +0530 | [diff] [blame] | 18 | test_suites: ["device-tests"], |
| 19 | srcs: [ |
| 20 | "EffectPreprocessingTest.cpp", |
| 21 | "EffectTestHelper.cpp", |
| 22 | ], |
| 23 | static_libs: [ |
| 24 | "libaudiopreprocessing", |
| 25 | "libaudioutils", |
Rivukanta Bhattacharya | b9116da | 2021-03-11 04:32:54 +0530 | [diff] [blame] | 26 | ], |
Rivukanta Bhattacharya | b9116da | 2021-03-11 04:32:54 +0530 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | cc_test { |
Saketh Sathuvalli | 4ece3e0 | 2020-07-19 21:19:39 +0530 | [diff] [blame] | 30 | name: "AudioPreProcessingTest", |
Harish Mahendrakar | 70036ac | 2021-03-16 17:42:59 -0700 | [diff] [blame] | 31 | defaults: ["libaudiopreprocessing-defaults"], |
Rivukanta Bhattacharya | 013e02e | 2021-03-12 05:50:55 +0530 | [diff] [blame] | 32 | gtest: false, |
Saketh Sathuvalli | 4ece3e0 | 2020-07-19 21:19:39 +0530 | [diff] [blame] | 33 | srcs: ["PreProcessingTest.cpp"], |
Andy Hung | 70bb12e | 2021-03-02 09:17:01 -0800 | [diff] [blame] | 34 | static_libs: [ |
| 35 | "libaudiopreprocessing", |
Harish Mahendrakar | 70036ac | 2021-03-16 17:42:59 -0700 | [diff] [blame] | 36 | "libaudioutils", |
Andy Hung | 70bb12e | 2021-03-02 09:17:01 -0800 | [diff] [blame] | 37 | ], |
Saketh Sathuvalli | 4ece3e0 | 2020-07-19 21:19:39 +0530 | [diff] [blame] | 38 | } |
Rivukanta Bhattacharya | 46ab24a | 2021-01-25 20:33:35 +0530 | [diff] [blame] | 39 | |
| 40 | cc_test { |
| 41 | name: "correlation", |
| 42 | host_supported: true, |
| 43 | srcs: ["correlation.cpp"], |
| 44 | cflags: [ |
| 45 | "-Wall", |
| 46 | "-Werror", |
| 47 | "-Wextra", |
| 48 | ], |
Julien Desprez | 732654d | 2021-02-09 14:28:04 -0800 | [diff] [blame] | 49 | gtest: false, |
Rivukanta Bhattacharya | 46ab24a | 2021-01-25 20:33:35 +0530 | [diff] [blame] | 50 | } |