xref: /aosp_15_r20/hardware/interfaces/soundtrigger/2.1/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1//
2// Copyright (C) 2018 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
16package {
17    // See: http://go/android-license-faq
18    default_applicable_licenses: [
19        "hardware_interfaces_license",
20    ],
21}
22
23soong_config_module_type_import {
24    from: "hardware/interfaces/soundtrigger/2.0/default/Android.bp",
25    module_types: ["soundtrigger_cc_library_shared"],
26}
27
28soundtrigger_cc_library_shared {
29    name: "[email protected]",
30    vendor: true,
31    relative_install_path: "hw",
32    srcs: ["SoundTriggerHw.cpp"],
33
34    cflags: [
35        "-Wall",
36        "-Werror",
37    ],
38
39    shared_libs: [
40        "libhardware",
41        "libhidlbase",
42        "libhidlmemory",
43        "liblog",
44        "libutils",
45        "[email protected]",
46        "[email protected]",
47        "[email protected]",
48        "[email protected]",
49        "[email protected]",
50    ],
51    compile_multilib: "32",
52    soong_config_variables: {
53        audioserver_multilib: {
54            compile_multilib: "%s",
55        },
56    },
57}
58