blob: 0dbcaa52ac0df74b275d9215dcf01ae6c070d750 [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}