Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 1 | // Build the unit tests for effects |
| 2 | |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 3 | package { |
| 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_license" |
| 7 | // to get the below license kinds: |
| 8 | // SPDX-license-identifier-Apache-2.0 |
| 9 | default_applicable_licenses: ["frameworks_av_license"], |
| 10 | } |
| 11 | |
Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 12 | cc_test { |
Harish Mahendrakar | 9f33dba | 2021-02-17 18:25:21 -0800 | [diff] [blame] | 13 | name: "EffectBundleTest", |
| 14 | vendor: true, |
| 15 | gtest: true, |
| 16 | host_supported: true, |
| 17 | test_suites: ["device-tests"], |
| 18 | srcs: ["EffectBundleTest.cpp"], |
| 19 | static_libs: [ |
| 20 | "libaudioutils", |
| 21 | "libbundlewrapper", |
| 22 | "libmusicbundle", |
| 23 | ], |
| 24 | shared_libs: [ |
| 25 | "liblog", |
| 26 | ], |
| 27 | header_libs: [ |
| 28 | "libhardware_headers", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | cc_test { |
Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 33 | name: "lvmtest", |
| 34 | host_supported: false, |
| 35 | proprietary: true, |
| 36 | |
| 37 | include_dirs: [ |
| 38 | "frameworks/av/media/libeffects/lvm/lib/Bass/lib", |
| 39 | "frameworks/av/media/libeffects/lvm/lib/Bass/src", |
| 40 | "frameworks/av/media/libeffects/lvm/lib/Bundle/src", |
| 41 | "frameworks/av/media/libeffects/lvm/lib/Common/src", |
| 42 | "frameworks/av/media/libeffects/lvm/lib/Eq/lib", |
| 43 | "frameworks/av/media/libeffects/lvm/lib/Eq/src", |
| 44 | "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib", |
| 45 | "frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src", |
| 46 | "frameworks/av/media/libeffects/lvm/lib/StereoWidening/lib", |
| 47 | "frameworks/av/media/libeffects/lvm/lib/StereoWidening/src", |
| 48 | "frameworks/av/media/libeffects/lvm/wrapper/Bundle", |
| 49 | ], |
| 50 | |
| 51 | header_libs: [ |
| 52 | "libaudioeffects", |
| 53 | ], |
| 54 | |
| 55 | shared_libs: [ |
| 56 | "libaudioutils", |
| 57 | "liblog", |
| 58 | ], |
| 59 | |
| 60 | static_libs: [ |
| 61 | "libmusicbundle", |
| 62 | ], |
| 63 | |
| 64 | srcs: ["lvmtest.cpp"], |
| 65 | |
| 66 | cflags: [ |
Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 67 | "-DSUPPORT_MC", |
| 68 | |
| 69 | "-Wall", |
| 70 | "-Werror", |
| 71 | "-Wextra", |
| 72 | ], |
| 73 | } |
Saketh Sathuvalli | b89991f | 2019-01-10 19:26:43 +0530 | [diff] [blame] | 74 | |
| 75 | cc_test { |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 76 | name: "reverb_test", |
Harish Mahendrakar | 6d2e79b | 2021-02-17 13:47:44 -0800 | [diff] [blame] | 77 | host_supported: true, |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 78 | proprietary: true, |
Julien Desprez | 3163a9f | 2021-02-20 00:56:48 +0000 | [diff] [blame] | 79 | gtest: false, |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 80 | |
| 81 | include_dirs: [ |
Harish Mahendrakar | 0bbbe07 | 2020-10-01 23:28:48 +0530 | [diff] [blame] | 82 | "frameworks/av/media/libeffects/lvm/wrapper/Reverb", |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 83 | ], |
| 84 | |
| 85 | header_libs: [ |
| 86 | "libaudioeffects", |
| 87 | ], |
| 88 | |
| 89 | shared_libs: [ |
| 90 | "libaudioutils", |
| 91 | "liblog", |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 92 | ], |
| 93 | |
Harish Mahendrakar | 3a3fcfe | 2020-12-30 14:54:04 -0800 | [diff] [blame] | 94 | static_libs: [ |
| 95 | "libreverb", |
| 96 | "libreverbwrapper", |
| 97 | ], |
Saketh Sathuvalli | 927bea3 | 2020-08-16 19:18:28 +0530 | [diff] [blame] | 98 | srcs: [ |
| 99 | "reverb_test.cpp", |
| 100 | ], |
| 101 | |
| 102 | cflags: [ |
| 103 | "-Wall", |
| 104 | "-Werror", |
| 105 | "-Wextra", |
| 106 | ], |
| 107 | } |
| 108 | |
| 109 | cc_test { |
Saketh Sathuvalli | b89991f | 2019-01-10 19:26:43 +0530 | [diff] [blame] | 110 | name: "snr", |
| 111 | host_supported: false, |
| 112 | |
| 113 | srcs: ["snr.cpp"], |
| 114 | |
| 115 | cflags: [ |
| 116 | "-Wall", |
| 117 | "-Werror", |
| 118 | "-Wextra", |
| 119 | ], |
| 120 | } |