mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
This requires a version bump to android.media.audio.common.types. cc_defaults and java_defaults are used in order to avoid explicitly updating version references in several Android.bp files when we do future version bumps. Bug: 242678729 Test: m Change-Id: Id17820f210f625e370992db4f9f85e37887b088b
60 lines
1.6 KiB
Plaintext
60 lines
1.6 KiB
Plaintext
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_defaults {
|
|
name: "aidlaudioservice_defaults",
|
|
vendor: true,
|
|
shared_libs: [
|
|
"libaudioaidlcommon",
|
|
"libbase",
|
|
"libbinder_ndk",
|
|
"libcutils",
|
|
"libfmq",
|
|
"libstagefright_foundation",
|
|
"libutils",
|
|
"android.hardware.common-V2-ndk",
|
|
"android.hardware.common.fmq-V1-ndk",
|
|
],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libaudioserviceexampleimpl",
|
|
defaults: [
|
|
"aidlaudioservice_defaults",
|
|
"latest_android_media_audio_common_types_ndk_shared",
|
|
"latest_android_hardware_audio_core_ndk_shared",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
srcs: [
|
|
"Config.cpp",
|
|
"Configuration.cpp",
|
|
"Module.cpp",
|
|
"Stream.cpp",
|
|
],
|
|
visibility: [
|
|
":__subpackages__",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.audio.service-aidl.example",
|
|
relative_install_path: "hw",
|
|
init_rc: ["android.hardware.audio.service-aidl.example.rc"],
|
|
vintf_fragments: ["android.hardware.audio.service-aidl.xml"],
|
|
defaults: [
|
|
"aidlaudioservice_defaults",
|
|
"latest_android_media_audio_common_types_ndk_shared",
|
|
"latest_android_hardware_audio_core_ndk_shared",
|
|
],
|
|
static_libs: [
|
|
"libaudioserviceexampleimpl",
|
|
],
|
|
srcs: ["main.cpp"],
|
|
}
|