blob: 03c1cd89cdc1c337b9252a8ffa0ce0b80e6eaca8 [file] [log] [blame]
Mikhail Naganovbaf57fb2020-08-11 23:23:16 +00001//
2// Copyright (C) 2020 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
16cc_binary {
17 name: "android.hardware.audio@7.0-service.example",
18 vendor: true,
19 relative_install_path: "hw",
20 init_rc: ["android.hardware.audio@7.0-service.example.rc"],
21 vintf_fragments: ["android.hardware.audio@7.0-service.example.xml"],
22 srcs: [
23 "DevicesFactory.cpp",
24 "Effect.cpp",
25 "EffectsFactory.cpp",
26 "EqualizerEffect.cpp",
27 "LoudnessEnhancerEffect.cpp",
28 "service.cpp",
29 ],
30 cflags: [
31 "-Wall",
32 "-Werror",
33 ],
34 shared_libs: [
35 "libcutils",
36 "libhidlbase",
37 "liblog",
38 "libxml2",
39 "libutils",
40 "android.hardware.audio@7.0",
41 "android.hardware.audio.common@7.0",
42 "android.hardware.audio.common@7.0-enums",
43 "android.hardware.audio.effect@7.0",
44 ],
45}