blob: d72fb2cd16d08d571c7096083dcbb2c6baae5096 [file] [log] [blame]
Kevin Rocardf0357882017-02-10 16:19:28 -08001//
2// Copyright (C) 2017 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: "VtsHalAudioV2_0TargetTest",
Steven Moreland48c52242017-03-08 16:11:32 -080019 defaults: ["hidl_defaults"],
Kevin Rocardcbf9c082017-05-30 17:15:28 -070020 srcs: ["AudioPrimaryHidlHalTest.cpp",
21 "ValidateAudioConfiguration.cpp",
22 "utility/ValidateXml.cpp"],
Kevin Rocardf0357882017-02-10 16:19:28 -080023 shared_libs: [
24 "libbase",
25 "liblog",
26 "libhidlbase",
Kevin Rocard624800c2017-03-10 18:47:37 -080027 "libhidltransport",
Kevin Rocardf0357882017-02-10 16:19:28 -080028 "libutils",
29 "libcutils",
Kevin Rocardcbf9c082017-05-30 17:15:28 -070030 "libxml2",
Kevin Rocardf0357882017-02-10 16:19:28 -080031 "android.hardware.audio@2.0",
32 "android.hardware.audio.common@2.0",
33 ],
Yuexi Ma161b5642017-03-10 13:44:22 -080034 static_libs: ["VtsHalHidlTargetTestBase"],
Kevin Rocardf0357882017-02-10 16:19:28 -080035 cflags: [
36 "-O0",
37 "-g",
38 "-Wall",
39 "-Wextra",
40 "-Werror",
41 ],
42}