blob: 88d49d80fc060cc9b1714b0fd2c6eab02e7817f9 [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",
29 "libicuuc",
30 "libicuuc_stubdata",
31 "libxml2",
32 ],
33 header_libs: [
34 "android.hardware.audio.common.util@all-versions",
35 ],
36 test_suites: ["general-tests"],
Kevin Rocard1108d4a2018-11-15 18:51:07 -080037}
38
39cc_test {
40 name: "VtsHalAudioEffectV2_0TargetTest",
41 defaults: ["VtsHalAudioEffectTargetTest_default"],
42 static_libs: [
43 "android.hardware.audio.common@2.0",
44 "android.hardware.audio.effect@2.0",
45 ],
Kevin Rocard96d2cd92018-11-14 16:22:07 -080046 cflags: [
47 "-DMAJOR_VERSION=2",
48 "-DMINOR_VERSION=0",
49 "-include common/all-versions/VersionMacro.h",
50 ]
51}
52
53cc_test {
54 name: "VtsHalAudioEffectV4_0TargetTest",
Kevin Rocard1108d4a2018-11-15 18:51:07 -080055 defaults: ["VtsHalAudioEffectTargetTest_default"],
Kevin Rocard96d2cd92018-11-14 16:22:07 -080056 static_libs: [
Kevin Rocard96d2cd92018-11-14 16:22:07 -080057 "android.hardware.audio.common@4.0",
58 "android.hardware.audio.effect@4.0",
Kevin Rocard96d2cd92018-11-14 16:22:07 -080059 ],
Kevin Rocard96d2cd92018-11-14 16:22:07 -080060 cflags: [
61 "-DMAJOR_VERSION=4",
62 "-DMINOR_VERSION=0",
63 "-include common/all-versions/VersionMacro.h",
64 ]
65}
Kevin Rocard20614ba2018-11-10 07:20:17 -080066
67cc_test {
68 name: "VtsHalAudioEffectV5_0TargetTest",
69 defaults: ["VtsHalAudioEffectTargetTest_default"],
70 static_libs: [
71 "android.hardware.audio.common@5.0",
72 "android.hardware.audio.effect@5.0",
73 ],
74 cflags: [
75 "-DMAJOR_VERSION=5",
76 "-DMINOR_VERSION=0",
77 "-include common/all-versions/VersionMacro.h",
78 ]
79}
80