blob: edc9076905fe7b49026b548aee755eee7de76c54 [file] [log] [blame]
Kevin Rocard96d2cd92018-11-14 16:22:07 -08001//
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 Rocard1108d4a2018-11-15 18:51:07 -080017cc_defaults {
18 name: "VtsHalAudioEffectTargetTest_default",
Kevin Rocard96d2cd92018-11-14 16:22:07 -080019 defaults: ["VtsHalTargetTestDefaults"],
20 srcs: [
21 "VtsHalAudioEffectTargetTest.cpp",
22 "ValidateAudioEffectsConfiguration.cpp"
23 ],
24 static_libs: [
25 "android.hardware.audio.common.test.utility",
Kevin Rocard96d2cd92018-11-14 16:22:07 -080026 "android.hidl.allocator@1.0",
27 "android.hidl.memory@1.0",
28 "libeffectsconfig",
Kevin Rocard96d2cd92018-11-14 16:22:07 -080029 "libxml2",
30 ],
31 header_libs: [
32 "android.hardware.audio.common.util@all-versions",
33 ],
34 test_suites: ["general-tests"],
Kevin Rocard1108d4a2018-11-15 18:51:07 -080035}
36
37cc_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 Rocard96d2cd92018-11-14 16:22:07 -080044 cflags: [
45 "-DMAJOR_VERSION=2",
46 "-DMINOR_VERSION=0",
47 "-include common/all-versions/VersionMacro.h",
48 ]
49}
50
51cc_test {
52 name: "VtsHalAudioEffectV4_0TargetTest",
Kevin Rocard1108d4a2018-11-15 18:51:07 -080053 defaults: ["VtsHalAudioEffectTargetTest_default"],
Kevin Rocard96d2cd92018-11-14 16:22:07 -080054 static_libs: [
Kevin Rocard96d2cd92018-11-14 16:22:07 -080055 "android.hardware.audio.common@4.0",
56 "android.hardware.audio.effect@4.0",
Kevin Rocard96d2cd92018-11-14 16:22:07 -080057 ],
Kevin Rocard96d2cd92018-11-14 16:22:07 -080058 cflags: [
59 "-DMAJOR_VERSION=4",
60 "-DMINOR_VERSION=0",
61 "-include common/all-versions/VersionMacro.h",
62 ]
63}
Kevin Rocard20614ba2018-11-10 07:20:17 -080064
65cc_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 Rocard2a515e12019-09-30 19:53:00 +010079cc_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}