blob: de6cad9ad0f00a13e21b9974ee4df7f9ebbf99bc [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",
Victor Chang2c12b892018-11-26 18:03:47 +000031 "libandroidicu",
Kevin Rocard96d2cd92018-11-14 16:22:07 -080032 "libxml2",
33 ],
34 header_libs: [
35 "android.hardware.audio.common.util@all-versions",
36 ],
37 test_suites: ["general-tests"],
Kevin Rocard1108d4a2018-11-15 18:51:07 -080038}
39
40cc_test {
41 name: "VtsHalAudioEffectV2_0TargetTest",
42 defaults: ["VtsHalAudioEffectTargetTest_default"],
43 static_libs: [
44 "android.hardware.audio.common@2.0",
45 "android.hardware.audio.effect@2.0",
46 ],
Kevin Rocard96d2cd92018-11-14 16:22:07 -080047 cflags: [
48 "-DMAJOR_VERSION=2",
49 "-DMINOR_VERSION=0",
50 "-include common/all-versions/VersionMacro.h",
51 ]
52}
53
54cc_test {
55 name: "VtsHalAudioEffectV4_0TargetTest",
Kevin Rocard1108d4a2018-11-15 18:51:07 -080056 defaults: ["VtsHalAudioEffectTargetTest_default"],
Kevin Rocard96d2cd92018-11-14 16:22:07 -080057 static_libs: [
Kevin Rocard96d2cd92018-11-14 16:22:07 -080058 "android.hardware.audio.common@4.0",
59 "android.hardware.audio.effect@4.0",
Kevin Rocard96d2cd92018-11-14 16:22:07 -080060 ],
Kevin Rocard96d2cd92018-11-14 16:22:07 -080061 cflags: [
62 "-DMAJOR_VERSION=4",
63 "-DMINOR_VERSION=0",
64 "-include common/all-versions/VersionMacro.h",
65 ]
66}
Kevin Rocard20614ba2018-11-10 07:20:17 -080067
68cc_test {
69 name: "VtsHalAudioEffectV5_0TargetTest",
70 defaults: ["VtsHalAudioEffectTargetTest_default"],
71 static_libs: [
72 "android.hardware.audio.common@5.0",
73 "android.hardware.audio.effect@5.0",
74 ],
75 cflags: [
76 "-DMAJOR_VERSION=5",
77 "-DMINOR_VERSION=0",
78 "-include common/all-versions/VersionMacro.h",
79 ]
80}
81