blob: 2f78dd0ba150581dff1c9dd5b0eb82c2c7617552 [file] [log] [blame]
Shunkai Yao51202502022-12-12 06:11:46 +00001// Copyright (C) 2022 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Headers module is in frameworks/av/Android.bp because modules are not allowed
16// to refer to headers in parent directories and the headers live in
17// frameworks/av/include.
18
19package {
20 default_applicable_licenses: ["frameworks_av_license"],
21}
22
23cc_test {
24 name: "EffectsFactoryHalInterfaceTest",
25 test_suites: ["device-tests"],
26
27 srcs: [
28 "EffectsFactoryHalInterface_test.cpp",
29 ],
30
31 defaults: [
Shunkai Yao242521c2023-01-29 18:08:09 +000032 "latest_android_media_audio_common_types_ndk_shared",
Shunkai Yao51202502022-12-12 06:11:46 +000033 ],
34
35 cflags: [
36 "-Wall",
37 "-Wextra",
38 "-Werror",
39 "-Wthread-safety",
Shunkai Yao242521c2023-01-29 18:08:09 +000040 "-DBACKEND_NDK",
Shunkai Yao51202502022-12-12 06:11:46 +000041 ],
42
43 shared_libs: [
44 "audioclient-types-aidl-cpp",
Shunkai Yao242521c2023-01-29 18:08:09 +000045 "libaudio_aidl_conversion_common_ndk",
Shunkai Yao51202502022-12-12 06:11:46 +000046 "libaudiohal",
Shunkai Yao242521c2023-01-29 18:08:09 +000047 "liblog",
Shunkai Yao51202502022-12-12 06:11:46 +000048 "libutils",
Shunkai Yao96a7c012023-02-10 00:00:48 +000049 "libvibrator",
Shunkai Yao51202502022-12-12 06:11:46 +000050 ],
51
52 header_libs: [
53 "libaudiohal_headers",
54 ],
55}