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