mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 05:56:34 +00:00
Bug: 253474521 Test: m android.hardware.audio.effect.service-aidl.example; m libequalizer Change-Id: Ic8ce31572e2fc6c566e306c25350680a7d352709
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
/*
|
|
* Copyright (C) 2022 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libequalizer",
|
|
vendor: true,
|
|
shared_libs: [
|
|
"libaudioaidlcommon",
|
|
"libbase",
|
|
"android.hardware.common-V2-ndk",
|
|
],
|
|
defaults: [
|
|
"aidlaudioservice_defaults",
|
|
"latest_android_media_audio_common_types_ndk_shared",
|
|
"latest_android_hardware_audio_effect_ndk_shared",
|
|
],
|
|
srcs: [
|
|
"Equalizer.cpp",
|
|
":effectCommonFile",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Werror",
|
|
"-Wthread-safety",
|
|
],
|
|
visibility: [
|
|
"//hardware/interfaces/audio/aidl/default",
|
|
],
|
|
}
|