blob: a379d292c06845820f6e9bc4c968716522a80d4e [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
17cc_test {
18 name: "VtsHalAudioEffectV2_0TargetTest",
19 defaults: ["VtsHalTargetTestDefaults"],
20 srcs: [
21 "VtsHalAudioEffectTargetTest.cpp",
22 "ValidateAudioEffectsConfiguration.cpp"
23 ],
24 static_libs: [
25 "android.hardware.audio.common.test.utility",
26 "android.hardware.audio.common@2.0",
27 "android.hardware.audio.effect@2.0",
28 "android.hidl.allocator@1.0",
29 "android.hidl.memory@1.0",
30 "libeffectsconfig",
31 "libicuuc",
32 "libicuuc_stubdata",
33 "libxml2",
34 ],
35 header_libs: [
36 "android.hardware.audio.common.util@all-versions",
37 ],
38 test_suites: ["general-tests"],
39 cflags: [
40 "-DMAJOR_VERSION=2",
41 "-DMINOR_VERSION=0",
42 "-include common/all-versions/VersionMacro.h",
43 ]
44}
45
46cc_test {
47 name: "VtsHalAudioEffectV4_0TargetTest",
48 defaults: ["VtsHalTargetTestDefaults"],
49 srcs: [
50 "VtsHalAudioEffectTargetTest.cpp",
51 "ValidateAudioEffectsConfiguration.cpp"
52 ],
53 static_libs: [
54 "android.hardware.audio.common.test.utility",
55 "android.hardware.audio.common@4.0",
56 "android.hardware.audio.effect@4.0",
57 "android.hidl.allocator@1.0",
58 "android.hidl.memory@1.0",
59 "libeffectsconfig",
60 "libicuuc",
61 "libicuuc_stubdata",
62 "libxml2",
63 ],
64 header_libs: [
65 "android.hardware.audio.common.util@all-versions",
66 ],
67 test_suites: ["general-tests"],
68 cflags: [
69 "-DMAJOR_VERSION=4",
70 "-DMINOR_VERSION=0",
71 "-include common/all-versions/VersionMacro.h",
72 ]
73}