Kevin Rocard | 96d2cd9 | 2018-11-14 16:22:07 -0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2016 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
Kevin Rocard | 1108d4a | 2018-11-15 18:51:07 -0800 | [diff] [blame] | 17 | cc_defaults { |
| 18 | name: "VtsHalAudioEffectTargetTest_default", |
Kevin Rocard | 96d2cd9 | 2018-11-14 16:22:07 -0800 | [diff] [blame] | 19 | defaults: ["VtsHalTargetTestDefaults"], |
| 20 | srcs: [ |
| 21 | "VtsHalAudioEffectTargetTest.cpp", |
| 22 | "ValidateAudioEffectsConfiguration.cpp" |
| 23 | ], |
| 24 | static_libs: [ |
| 25 | "android.hardware.audio.common.test.utility", |
Kevin Rocard | 96d2cd9 | 2018-11-14 16:22:07 -0800 | [diff] [blame] | 26 | "android.hidl.allocator@1.0", |
| 27 | "android.hidl.memory@1.0", |
| 28 | "libeffectsconfig", |
Kevin Rocard | 96d2cd9 | 2018-11-14 16:22:07 -0800 | [diff] [blame] | 29 | "libxml2", |
| 30 | ], |
| 31 | header_libs: [ |
| 32 | "android.hardware.audio.common.util@all-versions", |
| 33 | ], |
| 34 | test_suites: ["general-tests"], |
Kevin Rocard | 1108d4a | 2018-11-15 18:51:07 -0800 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | cc_test { |
| 38 | name: "VtsHalAudioEffectV2_0TargetTest", |
| 39 | defaults: ["VtsHalAudioEffectTargetTest_default"], |
| 40 | static_libs: [ |
| 41 | "android.hardware.audio.common@2.0", |
| 42 | "android.hardware.audio.effect@2.0", |
| 43 | ], |
Kevin Rocard | 96d2cd9 | 2018-11-14 16:22:07 -0800 | [diff] [blame] | 44 | cflags: [ |
| 45 | "-DMAJOR_VERSION=2", |
| 46 | "-DMINOR_VERSION=0", |
| 47 | "-include common/all-versions/VersionMacro.h", |
| 48 | ] |
| 49 | } |
| 50 | |
| 51 | cc_test { |
| 52 | name: "VtsHalAudioEffectV4_0TargetTest", |
Kevin Rocard | 1108d4a | 2018-11-15 18:51:07 -0800 | [diff] [blame] | 53 | defaults: ["VtsHalAudioEffectTargetTest_default"], |
Kevin Rocard | 96d2cd9 | 2018-11-14 16:22:07 -0800 | [diff] [blame] | 54 | static_libs: [ |
Kevin Rocard | 96d2cd9 | 2018-11-14 16:22:07 -0800 | [diff] [blame] | 55 | "android.hardware.audio.common@4.0", |
| 56 | "android.hardware.audio.effect@4.0", |
Kevin Rocard | 96d2cd9 | 2018-11-14 16:22:07 -0800 | [diff] [blame] | 57 | ], |
Kevin Rocard | 96d2cd9 | 2018-11-14 16:22:07 -0800 | [diff] [blame] | 58 | cflags: [ |
| 59 | "-DMAJOR_VERSION=4", |
| 60 | "-DMINOR_VERSION=0", |
| 61 | "-include common/all-versions/VersionMacro.h", |
| 62 | ] |
| 63 | } |
Kevin Rocard | 20614ba | 2018-11-10 07:20:17 -0800 | [diff] [blame] | 64 | |
| 65 | cc_test { |
| 66 | name: "VtsHalAudioEffectV5_0TargetTest", |
| 67 | defaults: ["VtsHalAudioEffectTargetTest_default"], |
| 68 | static_libs: [ |
| 69 | "android.hardware.audio.common@5.0", |
| 70 | "android.hardware.audio.effect@5.0", |
| 71 | ], |
| 72 | cflags: [ |
| 73 | "-DMAJOR_VERSION=5", |
| 74 | "-DMINOR_VERSION=0", |
| 75 | "-include common/all-versions/VersionMacro.h", |
| 76 | ] |
| 77 | } |
| 78 | |
Kevin Rocard | 2a515e1 | 2019-09-30 19:53:00 +0100 | [diff] [blame] | 79 | cc_test { |
| 80 | name: "VtsHalAudioEffectV6_0TargetTest", |
| 81 | defaults: ["VtsHalAudioEffectTargetTest_default"], |
| 82 | static_libs: [ |
| 83 | "android.hardware.audio.common@6.0", |
| 84 | "android.hardware.audio.effect@6.0", |
| 85 | ], |
| 86 | cflags: [ |
| 87 | "-DMAJOR_VERSION=6", |
| 88 | "-DMINOR_VERSION=0", |
| 89 | "-include common/all-versions/VersionMacro.h", |
| 90 | ] |
| 91 | } |