• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// 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_defaults {
24    name: "libaudiohal_aidl_test_default",
25    test_suites: ["device-tests"],
26    defaults: [
27        "libaudiohal_default",
28        "libaudiohal_aidl_default",
29    ],
30    shared_libs: [
31        "libaudiohal",
32    ],
33}
34
35cc_test {
36    name: "CoreAudioHalAidlTest",
37    srcs: [
38        "CoreAudioHalAidl_test.cpp",
39        ":core_audio_hal_aidl_src_files",
40    ],
41    defaults: ["libaudiohal_aidl_test_default"],
42    header_libs: ["libaudiohalimpl_headers"],
43}
44
45cc_test {
46    name: "EffectsFactoryHalInterfaceTest",
47    srcs: ["EffectsFactoryHalInterface_test.cpp"],
48    defaults: ["libaudiohal_aidl_test_default"],
49    shared_libs: [
50        "libvibrator",
51    ],
52}
53
54cc_test {
55    name: "EffectProxyTest",
56    srcs: [
57        "EffectProxy_test.cpp",
58        ":audio_effectproxy_src_files",
59    ],
60    defaults: [
61        "libaudiohal_aidl_test_default",
62        "use_libaidlvintf_gtest_helper_static",
63    ],
64    header_libs: ["libaudiohalimpl_headers"],
65}
66